diff --git a/app/upgrade.go b/app/upgrade.go index cc12f1a5f..5a269a412 100644 --- a/app/upgrade.go +++ b/app/upgrade.go @@ -203,6 +203,8 @@ func (app *App) registerPawneeUpgradeHandler() { app.UpgradeKeeper.SetUpgradeHandler(upgradetypes.Pawnee, func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { app.Logger().Info("upgrade to ", plan.Name) + // TODO: Select the correct hard fork version to update vgf + app.VirtualgroupKeeper.MigrateGlobalVirtualGroupFamiliesForSP(ctx) app.GashubKeeper.SetMsgGasParams(ctx, *gashubtypes.NewMsgGasParamsWithFixedGas(sdk.MsgTypeURL(&storagemoduletypes.MsgUpdateObjectContent{}), 1.2e3)) app.GashubKeeper.SetMsgGasParams(ctx, *gashubtypes.NewMsgGasParamsWithFixedGas(sdk.MsgTypeURL(&storagemoduletypes.MsgCancelUpdateObjectContent{}), 1.2e3)) return app.mm.RunMigrations(ctx, app.configurator, fromVM) diff --git a/deployment/localup/localup.sh b/deployment/localup/localup.sh index 4feb91b5a..ca89aa131 100644 --- a/deployment/localup/localup.sh +++ b/deployment/localup/localup.sh @@ -177,7 +177,7 @@ function generate_genesis() { echo -e '[[upgrade]]\nname = "Hulunbeier"\nheight = 21\ninfo = ""' >> ${workspace}/.local/validator${i}/config/app.toml echo -e '[[upgrade]]\nname = "HulunbeierPatch"\nheight = 21\ninfo = ""' >> ${workspace}/.local/validator${i}/config/app.toml echo -e '[[upgrade]]\nname = "Ural"\nheight = 22\ninfo = ""' >> ${workspace}/.local/validator${i}/config/app.toml - echo -e '[[upgrade]]\nname = "Pawnee"\nheight = 23\ninfo = ""' >> ${workspace}/.local/validator${i}/config/app.toml + echo -e '[[upgrade]]\nname = "Pawnee"\nheight = 300\ninfo = ""' >> ${workspace}/.local/validator${i}/config/app.toml done # enable swagger API for validator0 diff --git a/proto/greenfield/virtualgroup/common.proto b/proto/greenfield/virtualgroup/common.proto index c76e7ee76..11a52990c 100644 --- a/proto/greenfield/virtualgroup/common.proto +++ b/proto/greenfield/virtualgroup/common.proto @@ -5,10 +5,9 @@ import "gogoproto/gogo.proto"; option go_package = "github.com/bnb-chain/greenfield/x/virtualgroup/types"; - // PickVGFStrategy represents the method for selecting the best global virtual group family based on the strategy enum PickVGFStrategy { option (gogoproto.goproto_enum_prefix) = false; StrategyMaximizeFreeStoreSize = 0; -} \ No newline at end of file +} diff --git a/proto/greenfield/virtualgroup/query.proto b/proto/greenfield/virtualgroup/query.proto index df9464762..5acfdde90 100644 --- a/proto/greenfield/virtualgroup/query.proto +++ b/proto/greenfield/virtualgroup/query.proto @@ -5,9 +5,9 @@ package greenfield.virtualgroup; import "cosmos/base/query/v1beta1/pagination.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; +import "greenfield/virtualgroup/common.proto"; import "greenfield/virtualgroup/params.proto"; import "greenfield/virtualgroup/types.proto"; -import "greenfield/virtualgroup/common.proto"; option go_package = "github.com/bnb-chain/greenfield/x/virtualgroup/types"; diff --git a/swagger/static/swagger.yaml b/swagger/static/swagger.yaml index 1457a7d4a..2efa82b2f 100644 --- a/swagger/static/swagger.yaml +++ b/swagger/static/swagger.yaml @@ -6486,6 +6486,13 @@ paths: required: false type: integer format: int64 + - name: pick_vgf_strategy + in: query + required: false + type: string + enum: + - StrategyMaximizeFreeStoreSize + default: StrategyMaximizeFreeStoreSize tags: - Query /greenfield/virtualgroup/swap_in_info: @@ -37230,6 +37237,14 @@ definitions: type: string description: the the number of sp allowed to exit concurrently. description: Params defines the parameters for the module. + greenfield.virtualgroup.PickVGFStrategy: + type: string + enum: + - StrategyMaximizeFreeStoreSize + default: StrategyMaximizeFreeStoreSize + title: >- + PickVGFStrategy represents the method for selecting the best global + virtual group family based on the strategy greenfield.virtualgroup.QueryGlobalVirtualGroupByFamilyIDResponse: type: object properties: diff --git a/x/storage/keeper/keeper.go b/x/storage/keeper/keeper.go index d24da47df..ff2672ea6 100644 --- a/x/storage/keeper/keeper.go +++ b/x/storage/keeper/keeper.go @@ -6,14 +6,6 @@ import ( "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" - "github.com/cometbft/cometbft/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/cosmos/gogoproto/proto" - "github.com/bnb-chain/greenfield/internal/sequence" gnfdtypes "github.com/bnb-chain/greenfield/types" types2 "github.com/bnb-chain/greenfield/types" @@ -26,6 +18,13 @@ import ( sptypes "github.com/bnb-chain/greenfield/x/sp/types" "github.com/bnb-chain/greenfield/x/storage/types" virtualgroupmoduletypes "github.com/bnb-chain/greenfield/x/virtualgroup/types" + "github.com/cometbft/cometbft/libs/log" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/store/prefix" + storetypes "github.com/cosmos/cosmos-sdk/store/types" + sdk "github.com/cosmos/cosmos-sdk/types" + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/cosmos/gogoproto/proto" ) type ( @@ -117,6 +116,25 @@ func (k Keeper) CreateBucket( return sdkmath.ZeroUint(), errors.Wrap(types.ErrNoSuchStorageProvider, "the storage provider is not in service") } + // check primary sp approval + // TODO: Select the correct hard fork version to update vgf + if ctx.IsUpgraded(upgradetypes.Pawnee) && opts.PrimarySpApproval.ExpiredHeight < uint64(ctx.BlockHeight()) { + return sdkmath.ZeroUint(), errors.Wrapf(types.ErrInvalidApproval, "The approval of sp is expired.") + } + + // TODO: Select the correct hard fork version to update vgf + if ctx.IsUpgraded(upgradetypes.Pawnee) { + err = k.VerifySPAndSignature(ctx, sp, opts.ApprovalMsgBytes, opts.PrimarySpApproval.Sig, ownerAcc) + if err != nil { + return sdkmath.ZeroUint(), err + } + } else { + err = k.VerifySP(ctx, sp, ownerAcc) + if err != nil { + return sdkmath.ZeroUint(), err + } + } + gvgFamily, err := k.virtualGroupKeeper.GetAndCheckGVGFamilyAvailableForNewBucket(ctx, opts.PrimarySpApproval.GlobalVirtualGroupFamilyId) if err != nil { return sdkmath.ZeroUint(), err @@ -583,9 +601,22 @@ func (k Keeper) CreateObject( creator = operator } - err = k.VerifySP(ctx, sp, operator) - if err != nil { - return sdkmath.ZeroUint(), err + // TODO: Select the correct hard fork version to update vgf + if ctx.IsUpgraded(upgradetypes.Pawnee) && opts.PrimarySpApproval.ExpiredHeight < uint64(ctx.BlockHeight()) { + return sdkmath.ZeroUint(), errors.Wrapf(types.ErrInvalidApproval, "The approval of sp is expired.") + } + + // TODO: Select the correct hard fork version to update vgf + if ctx.IsUpgraded(upgradetypes.Pawnee) { + err = k.VerifySPAndSignature(ctx, sp, opts.ApprovalMsgBytes, opts.PrimarySpApproval.Sig, operator) + if err != nil { + return sdkmath.ZeroUint(), err + } + } else { + err = k.VerifySP(ctx, sp, operator) + if err != nil { + return sdkmath.ZeroUint(), err + } } objectKey := types.GetObjectKey(bucketName, objectName) diff --git a/x/virtualgroup/keeper/keeper.go b/x/virtualgroup/keeper/keeper.go index 48ec6dc5a..e8c4a4df4 100644 --- a/x/virtualgroup/keeper/keeper.go +++ b/x/virtualgroup/keeper/keeper.go @@ -8,6 +8,7 @@ import ( "cosmossdk.io/math" "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/store/prefix" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/address" @@ -167,7 +168,6 @@ func (k Keeper) DeleteGVG(ctx sdk.Context, primarySp *sptypes.StorageProvider, g k.paymentKeeper.IsEmptyNetFlow(ctx, sdk.MustAccAddressFromHex(gvgFamily.VirtualPaymentAddress)) && !ctx.IsUpgraded(upgradetypes.Manchurian) { store.Delete(types.GetGVGFamilyKey(gvg.FamilyId)) - k.DeleteGVGFamilyWithinSP(ctx, primarySp.Id, gvg.FamilyId) if err := ctx.EventManager().EmitTypedEvents(&types.EventDeleteGlobalVirtualGroupFamily{ Id: gvgFamily.Id, PrimarySpId: gvgFamily.PrimarySpId, @@ -556,6 +556,21 @@ func (k Keeper) BatchSetGVGFamilyStatisticsWithinSP(ctx sdk.Context, vgfStatisti } } +func (k Keeper) MigrateGlobalVirtualGroupFamiliesForSP(ctx sdk.Context) { + store := ctx.KVStore(k.storeKey) + gvgFamilyStore := prefix.NewStore(store, types.GVGFamilyKey) + + iterator := gvgFamilyStore.Iterator(nil, nil) + defer iterator.Close() + for ; iterator.Valid(); iterator.Next() { + var gvgFamily types.GlobalVirtualGroupFamily + k.cdc.MustUnmarshal(iterator.Value(), &gvgFamily) + gvgFamilyStatistics := k.GetOrCreateGVGFamilyStatisticsWithinSP(ctx, gvgFamily.PrimarySpId) + gvgFamilyStatistics.GlobalVirtualGroupFamilyIds = append(gvgFamilyStatistics.GlobalVirtualGroupFamilyIds, gvgFamily.PrimarySpId) + k.SetGVGFamilyStatisticsWithinSP(ctx, gvgFamilyStatistics) + } +} + // GetStoreSizeOfFamily Rather than calculating the stored size of a Global Virtual Group Family (GVGF) in real-time, // it is preferable to calculate it once during the creation of a Global Virtual Group (GVG). This approach is favored // because GVG creation is infrequent and occurs with low frequency. diff --git a/x/virtualgroup/types/query.pb.go b/x/virtualgroup/types/query.pb.go index 70d5c6d89..6d76564b5 100644 --- a/x/virtualgroup/types/query.pb.go +++ b/x/virtualgroup/types/query.pb.go @@ -991,77 +991,77 @@ func init() { } var fileDescriptor_83cd53fc415e00e7 = []byte{ - // 1117 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x98, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xc7, 0x33, 0xa1, 0x8d, 0xda, 0xd7, 0x86, 0x1f, 0x93, 0x40, 0xa2, 0x4d, 0xe4, 0xc0, 0xa6,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xf0, 0x55, 0xa9, 0xf7, 0xce, 0x0b, 0x05, 0xfe, 0x19, 0xc1, 0x68, 0xd7, 0xe1, 0x8c, 0x97, 0x13, - 0x52, 0x46, 0x5e, 0x21, 0x94, 0x95, 0x8c, 0x51, 0xc2, 0x6d, 0x9e, 0xbb, 0xbd, 0x81, 0x17, 0xe4, - 0x6e, 0x1d, 0x23, 0xbc, 0x66, 0x08, 0x83, 0xdf, 0x0f, 0xc3, 0x82, 0x38, 0xc9, 0xd2, 0xf4, 0xd5, - 0x27, 0x49, 0xce, 0x32, 0xb4, 0xd7, 0xd6, 0x40, 0xb4, 0x04, 0xfb, 0x16, 0x67, 0x7f, 0x80, 0xd7, - 0xe2, 0xd8, 0xd3, 0x36, 0xda, 0xd3, 0x61, 0xf1, 0x0f, 0x50, 0xe2, 0xf1, 0x8e, 0x37, 0x12, 0x20, - 0x52, 0xde, 0x5d, 0x94, 0xe2, 0x99, 0x75, 0x44, 0x21, 0x8a, 0xbc, 0x10, 0xab, 0xf8, 0x5e, 0x5c, - 0x21, 0xec, 0x40, 0x2c, 0xa6, 0x0c, 0xad, 0xc2, 0xa7, 0xc7, 0x27, 0x39, 0xf4, 0xe2, 0x24, 0x87, - 0xfe, 0x3a, 0xc9, 0xa1, 0xef, 0x4e, 0x73, 0x43, 0x2f, 0x4e, 0x73, 0x43, 0xbf, 0x9f, 0xe6, 0x86, - 0xbe, 0x58, 0xa6, 0xcc, 0x3b, 0x38, 0x2a, 0x6b, 0x15, 0xbb, 0xae, 0x97, 0xad, 0xf2, 0x62, 0xe5, - 0x80, 0x30, 0xab, 0x33, 0xdd, 0xd7, 0x11, 0x3f, 0xd4, 0x94, 0x47, 0xf8, 0x6f, 0x30, 0x1f, 0xfe, - 0x1f, 0x00, 0x00, 0xff, 0xff, 0xb3, 0xe2, 0x47, 0x7d, 0x94, 0x12, 0x00, 0x00, + // 1120 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00,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 0x61, + 0x3a, 0xb1, 0x2c, 0xdb, 0xe3, 0x21, 0xae, 0xf8, 0xeb, 0x35, 0x99, 0xbb, 0xb2, 0x5d, 0xab, 0x9d, + 0x29, 0x4b, 0x57, 0x39, 0xa4, 0x4e, 0x6a, 0xa1, 0x96, 0x94, 0xd4, 0x6b, 0x39, 0xa6, 0x58, 0xa4, + 0x4e, 0x02, 0xfe, 0xd4, 0xc7, 0xd8, 0xe1, 0x91, 0x45, 0xf3, 0x69, 0xc3, 0x74, 0x3d, 0x75, 0x0f, + 0x26, 0xba, 0xde, 0xba, 0x8e, 0x6d, 0xb9, 0x26, 0xbe, 0x07, 0x63, 0x41, 0x86, 0x69, 0xf4, 0x36, + 0x5a, 0xb8, 0x92, 0xcb, 0x6a, 0x92, 0x3a, 0x69, 0x41, 0x60, 0xfe, 0xc2, 0xf1, 0x6f, 0xd9, 0x91, + 0xa2, 0x08, 0x52, 0x9f, 0x40, 0x86, 0xab, 0x16, 0xaa, 0x76, 0x89, 0x54, 0xf7, 0x83, 0xf5, 0x05, + 0x7f, 0xbd, 0xc8, 0x8b, 0x57, 0x61, 0x8a, 0xf2, 0x3f, 0x1a, 0x42, 0xcd, 0xe0, 0x72, 0x06, 0x3b, + 0xe0, 0x19, 0xc7, 0x8b, 0x93, 0xb4, 0x27, 0x76, 0xeb, 0x40, 0xfd, 0x1a, 0x41, 0x56, 0xaa, 0x2c, + 0xbc, 0x7f, 0x0e, 0x93, 0x51, 0xd2, 0x82, 0xe4, 0xa6, 0x94, 0x24, 0x42, 0x12, 0xf7, 0x9a, 0x50, + 0x2d, 0x58, 0x90, 0x38, 0xc8, 0xb7, 0x36, 0x49, 0x8d, 0x55, 0x5b, 0x5b, 0x1b, 0x21, 0x65, 0x1e, + 0x32, 0x91, 0x94, 0x15, 0xbe, 0xae, 0x0d, 0xab, 0xf4, 0xe6, 0x11, 0x52, 0x07, 0xea, 0x0b, 0x04, + 0xef, 0x26, 0x48, 0x28, 0xe0, 0x0d, 0x78, 0x33, 0x2a, 0xa3, 0xbf, 0x8f, 0xff, 0x4b, 0x4b, 0x3f, + 0xd1, 0xeb, 0xca, 0x55, 0xd7, 0xe1, 0x9a, 0xc4, 0x4d, 0xe0, 0x25, 0x44, 0x9f, 0x81, 0xcb, 0xff, + 0xa5, 0xbc, 0x54, 0x09, 0x99, 0xbe, 0x43, 0x70, 0xbd, 0x8f, 0x8a, 0xe0, 0x71, 0x60, 0x26, 0xa6, + 0x82, 0x62, 0x4f, 0x97, 0x53, 0x50, 0x09, 0xfd, 0x69, 0x59, 0xc5, 0x55, 0x07, 0x6e, 0xc4, 0x59, + 0x63, 0x66, 0xf8, 0xed, 0xe0, 0x4d, 0x80, 0xf6, 0x28, 0x10, 0x56, 0x6e, 0x68, 0xc1, 0xdc, 0xd0, + 0xfc, 0xb9, 0xa1, 0x05, 0x93, 0x46, 0xcc, 0x0d, 0x6d, 0x87, 0x50, 0x53, 0xc4, 0x16, 0x3b, 0x22, + 0xd5, 0x63, 0x04, 0xf3, 0x7d, 0x53, 0x8a, 0x7a, 0xec, 0xc1, 0x55, 0xda, 0xa4, 0x01, 0x3e, 0x33, + 0xc3, 0x6d, 0x1d, 0xa0, 0x00, 0x57, 0x68, 0x93, 0x86, 0xea, 0xb8, 0xd0, 0x45, 0x32, 0xca, 0x49, + 0xe6, 0xfb, 0x92, 0x04, 0x96, 0xba, 0x50, 0xea, 0xb0, 0xb8, 0xd6, 0x24, 0xac, 0x4a, 0x4a, 0x55, + 0xb3, 0x7f, 0x01, 0x37, 0x20, 0x1b, 0xff, 0x79, 0x04, 0x7c, 0xe3, 0xc5, 0x19, 0xf9, 0xf7, 0xe1, + 0xaa, 0x2e, 0xdc, 0x4c, 0x94, 0x53, 0x54, 0x70, 0x38, 0x49, 0x5f, 0x22, 0x78, 0x8b, 0xef, 0xd9, + 0xee, 0x33, 0xe2, 0x6c, 0x59, 0x5b, 0x56, 0xc5, 0x1e, 0xe2, 0x47, 0x1f, 0x37, 0x1e, 0x47, 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de, 0xff, 0x37, 0x00, 0x00, 0xff, 0xff, 0x6a, 0x1e, 0x4e, 0x52, 0x94, 0x12, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used.