diff --git a/app/upgrade.go b/app/upgrade.go index 13ac1fa05..731819f8c 100644 --- a/app/upgrade.go +++ b/app/upgrade.go @@ -4,6 +4,7 @@ import ( serverconfig "github.com/cosmos/cosmos-sdk/server/config" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + "github.com/cosmos/cosmos-sdk/x/gashub/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" bridgemoduletypes "github.com/bnb-chain/greenfield/x/bridge/types" @@ -79,6 +80,9 @@ func (app *App) registerPampasUpgradeHandler() { app.CrossChainKeeper.SetChannelSendPermission(ctx, sdk.ChainID(app.appConfig.CrossChain.DestOpChainId), storagemoduletypes.ObjectChannelId, sdk.ChannelAllow) app.CrossChainKeeper.SetChannelSendPermission(ctx, sdk.ChainID(app.appConfig.CrossChain.DestOpChainId), storagemoduletypes.GroupChannelId, sdk.ChannelAllow) + // register MsgRejectMigrateBucket Gas param + app.GashubKeeper.SetMsgGasParams(ctx, *types.NewMsgGasParamsWithFixedGas("/greenfield.storage.MsgRejectMigrateBucket", 1.2e3)) + return app.mm.RunMigrations(ctx, app.configurator, fromVM) }) diff --git a/e2e/tests/storage_test.go b/e2e/tests/storage_test.go index 547fa149f..5ba1b62d9 100644 --- a/e2e/tests/storage_test.go +++ b/e2e/tests/storage_test.go @@ -2010,3 +2010,67 @@ func (s *StorageTestSuite) TestMaintenanceSPCreateBucketAndObject() { s.Require().NoError(err) s.Require().Equal(sptypes.STATUS_IN_SERVICE, spResp.StorageProvider.Status) } + +func (s *StorageTestSuite) TestRejectMigrateBucket() { + // construct bucket and object + primarySP := s.BaseSuite.PickStorageProvider() + gvg, found := primarySP.GetFirstGlobalVirtualGroup() + s.Require().True(found) + user := s.GenAndChargeAccounts(1, 1000000)[0] + bucketName := storageutils.GenRandomBucketName() + objectName := storageutils.GenRandomObjectName() + s.BaseSuite.CreateObject(user, primarySP, gvg.Id, bucketName, objectName) + + var err error + dstPrimarySP := s.CreateNewStorageProvider() + + // migrate bucket + msgMigrationBucket := storagetypes.NewMsgMigrateBucket(user.GetAddr(), bucketName, dstPrimarySP.Info.Id) + msgMigrationBucket.DstPrimarySpApproval.ExpiredHeight = math.MaxInt + msgMigrationBucket.DstPrimarySpApproval.Sig, err = dstPrimarySP.ApprovalKey.Sign(msgMigrationBucket.GetApprovalBytes()) + s.SendTxBlock(user, msgMigrationBucket) + s.Require().NoError(err) + + ctx := context.Background() + queryHeadBucketRequest := storagetypes.QueryHeadBucketRequest{ + BucketName: bucketName, + } + queryHeadBucketResponse, err := s.Client.HeadBucket(ctx, &queryHeadBucketRequest) + s.Require().NoError(err) + s.Require().Equal(queryHeadBucketResponse.BucketInfo.BucketName, bucketName) + s.Require().Equal(queryHeadBucketResponse.BucketInfo.BucketStatus, storagetypes.BUCKET_STATUS_MIGRATING) + + // Dest SP reject the migration + rejectMigration := storagetypes.NewMsgRejectMigrateBucket(dstPrimarySP.OperatorKey.GetAddr(), bucketName) + s.SendTxBlock(dstPrimarySP.OperatorKey, rejectMigration) + s.Require().NoError(err) + + queryHeadBucketRequest = storagetypes.QueryHeadBucketRequest{ + BucketName: bucketName, + } + queryHeadBucketResponse, err = s.Client.HeadBucket(ctx, &queryHeadBucketRequest) + s.Require().NoError(err) + s.Require().Equal(queryHeadBucketResponse.BucketInfo.BucketStatus, storagetypes.BUCKET_STATUS_CREATED) + + // migrate bucket again + msgMigrationBucket = storagetypes.NewMsgMigrateBucket(user.GetAddr(), bucketName, dstPrimarySP.Info.Id) + msgMigrationBucket.DstPrimarySpApproval.ExpiredHeight = math.MaxInt + msgMigrationBucket.DstPrimarySpApproval.Sig, err = dstPrimarySP.ApprovalKey.Sign(msgMigrationBucket.GetApprovalBytes()) + s.SendTxBlock(user, msgMigrationBucket) + s.Require().NoError(err) + + // cancel migration by user + msgCancelMigrationBucket := storagetypes.NewMsgCancelMigrateBucket(user.GetAddr(), bucketName) + s.SendTxBlock(user, msgCancelMigrationBucket) + s.Require().NoError(err) + + queryHeadBucketResponse, err = s.Client.HeadBucket(ctx, &queryHeadBucketRequest) + s.Require().NoError(err) + s.Require().Equal(queryHeadBucketResponse.BucketInfo.BucketStatus, storagetypes.BUCKET_STATUS_CREATED) + + // dest SP should fail to reject + s.Client.SetKeyManager(dstPrimarySP.OperatorKey) + _, err = s.Client.BroadcastTx(context.Background(), []sdk.Msg{rejectMigration}, nil) + s.Require().Error(err) + s.Require().Equal(queryHeadBucketResponse.BucketInfo.BucketStatus, storagetypes.BUCKET_STATUS_CREATED) +} diff --git a/proto/greenfield/storage/events.proto b/proto/greenfield/storage/events.proto index ebe222532..d3dde1f82 100644 --- a/proto/greenfield/storage/events.proto +++ b/proto/greenfield/storage/events.proto @@ -105,7 +105,7 @@ message EventCreateObject { string bucket_name = 3; // object_name define the name of object string object_name = 4; - // bucket_id define an u256 id for object + // bucket_id define an u256 id for bucket string bucket_id = 6 [ (cosmos_proto.scalar) = "cosmos.Uint", (gogoproto.customtype) = "Uint", @@ -499,7 +499,7 @@ message EventMigrationBucket { string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // The name of the bucket to be migrated string bucket_name = 2; - // bucket_id define an u256 id for object + // bucket_id define an u256 id for bucket string bucket_id = 3 [ (cosmos_proto.scalar) = "cosmos.Uint", (gogoproto.customtype) = "Uint", @@ -515,7 +515,20 @@ message EventCancelMigrationBucket { string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // The name of the bucket to be migrated string bucket_name = 2; - // bucket_id define an u256 id for object + // bucket_id define an u256 id for bucket + string bucket_id = 3 [ + (cosmos_proto.scalar) = "cosmos.Uint", + (gogoproto.customtype) = "Uint", + (gogoproto.nullable) = false + ]; +} + +message EventRejectMigrateBucket { + // The address of the operator that reject the bucket migration, must be the dest SP + string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // The name of the bucket to be migrated + string bucket_name = 2; + // bucket_id define an u256 id for bucket string bucket_id = 3 [ (cosmos_proto.scalar) = "cosmos.Uint", (gogoproto.customtype) = "Uint", @@ -529,7 +542,7 @@ message EventCompleteMigrationBucket { string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // The name of the bucket to be migrated string bucket_name = 2; - // bucket_id define an u256 id for object + // bucket_id define an u256 id for bucket string bucket_id = 3 [ (cosmos_proto.scalar) = "cosmos.Uint", (gogoproto.customtype) = "Uint", diff --git a/proto/greenfield/storage/tx.proto b/proto/greenfield/storage/tx.proto index 232f1b54d..27757cd4b 100644 --- a/proto/greenfield/storage/tx.proto +++ b/proto/greenfield/storage/tx.proto @@ -58,6 +58,7 @@ service Msg { rpc MigrateBucket(MsgMigrateBucket) returns (MsgMigrateBucketResponse); rpc CompleteMigrateBucket(MsgCompleteMigrateBucket) returns (MsgCompleteMigrateBucketResponse); rpc CancelMigrateBucket(MsgCancelMigrateBucket) returns (MsgCancelMigrateBucketResponse); + rpc RejectMigrateBucket(MsgRejectMigrateBucket) returns (MsgRejectMigrateBucketResponse); } message MsgCreateBucket { option (cosmos.msg.v1.signer) = "creator"; @@ -615,3 +616,15 @@ message MsgCancelMigrateBucket { } message MsgCancelMigrateBucketResponse {} + +message MsgRejectMigrateBucket { + option (cosmos.msg.v1.signer) = "operator"; + + // operator defines the account address of the msg operator. + // only the Dest SP can send this transaction to reject the bucket migration. + string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // bucket_name defines the name of the bucket that need to be migrated + string bucket_name = 2; +} + +message MsgRejectMigrateBucketResponse {} diff --git a/sdk/client/gnfd_tm.go b/sdk/client/gnfd_tm.go index fb3fb5d22..7ebb463f5 100644 --- a/sdk/client/gnfd_tm.go +++ b/sdk/client/gnfd_tm.go @@ -56,7 +56,6 @@ func (c *GreenfieldClient) GetStatus(ctx context.Context) (*ctypes.ResultStatus, func (c *GreenfieldClient) BroadcastVote(ctx context.Context, vote votepool.Vote) error { _, err := c.tendermintClient.BroadcastVote(ctx, vote) - return err } diff --git a/x/storage/keeper/keeper.go b/x/storage/keeper/keeper.go index cdcad3d5c..ba8033826 100644 --- a/x/storage/keeper/keeper.go +++ b/x/storage/keeper/keeper.go @@ -2075,6 +2075,40 @@ func (k Keeper) CancelBucketMigration(ctx sdk.Context, operator sdk.AccAddress, return nil } +func (k Keeper) RejectBucketMigration(ctx sdk.Context, operator sdk.AccAddress, bucketName string) error { + store := ctx.KVStore(k.storeKey) + bucketInfo, found := k.GetBucketInfo(ctx, bucketName) + if !found { + return types.ErrNoSuchBucket + } + if bucketInfo.BucketStatus != types.BUCKET_STATUS_MIGRATING { + return types.ErrInvalidBucketStatus.Wrapf("The bucket is not in migrating status") + } + + migrationBucketInfo, found := k.GetMigrationBucketInfo(ctx, bucketInfo.Id) + if !found { + return types.ErrMigrationBucketFailed.Wrapf("reject bucket migration failed due to the migrate bucket info not found.") + } + + sp := k.spKeeper.MustGetStorageProvider(ctx, migrationBucketInfo.DstSpId) + if !sdk.MustAccAddressFromHex(sp.OperatorAddress).Equals(operator) { + return types.ErrAccessDenied.Wrap("Only the dest SP can reject the bucket migration.") + } + + bucketInfo.BucketStatus = types.BUCKET_STATUS_CREATED + k.SetBucketInfo(ctx, bucketInfo) + store.Delete(types.GetMigrationBucketKey(bucketInfo.Id)) + + if err := ctx.EventManager().EmitTypedEvents(&types.EventRejectMigrateBucket{ + Operator: operator.String(), + BucketName: bucketName, + BucketId: bucketInfo.Id, + }); err != nil { + return err + } + return nil +} + func (k Keeper) GetMigrationBucketInfo(ctx sdk.Context, bucketID sdkmath.Uint) (*types.MigrationBucketInfo, bool) { store := ctx.KVStore(k.storeKey) diff --git a/x/storage/keeper/msg_server.go b/x/storage/keeper/msg_server.go index 8f9977935..929eb26c6 100644 --- a/x/storage/keeper/msg_server.go +++ b/x/storage/keeper/msg_server.go @@ -688,6 +688,19 @@ func (k msgServer) CancelMigrateBucket(goCtx context.Context, msg *types.MsgCanc return &types.MsgCancelMigrateBucketResponse{}, nil } +func (k msgServer) RejectMigrateBucket(goCtx context.Context, msg *storagetypes.MsgRejectMigrateBucket) (*storagetypes.MsgRejectMigrateBucketResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + operator := sdk.MustAccAddressFromHex(msg.Operator) + + err := k.RejectBucketMigration(ctx, operator, msg.BucketName) + if err != nil { + return nil, err + } + + return &types.MsgRejectMigrateBucketResponse{}, nil +} + func (k Keeper) verifyGVGSignatures(ctx sdk.Context, bucketID math.Uint, dstSP *sptypes.StorageProvider, gvgMappings []*storagetypes.GVGMapping) error { // verify secondary sp signature for _, newLvg2gvg := range gvgMappings { diff --git a/x/storage/types/codec.go b/x/storage/types/codec.go index 0efba3945..3aaf068b7 100644 --- a/x/storage/types/codec.go +++ b/x/storage/types/codec.go @@ -26,6 +26,7 @@ func RegisterCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgMigrateBucket{}, "storage/MigrateBucket", nil) cdc.RegisterConcrete(&MsgCompleteMigrateBucket{}, "storage/CompleteMigrateBucket", nil) cdc.RegisterConcrete(&MsgCancelMigrateBucket{}, "storage/CancelMigrateBucket", nil) + cdc.RegisterConcrete(&MsgRejectMigrateBucket{}, "storage/RejectMigrateBucket", nil) // this line is used by starport scaffolding # 2 } @@ -112,6 +113,9 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations((*sdk.Msg)(nil), &MsgCancelMigrateBucket{}, ) + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgRejectMigrateBucket{}, + ) // this line is used by starport scaffolding # 3 msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) diff --git a/x/storage/types/events.pb.go b/x/storage/types/events.pb.go index b0837df3f..b8848116b 100644 --- a/x/storage/types/events.pb.go +++ b/x/storage/types/events.pb.go @@ -401,7 +401,7 @@ type EventCreateObject struct { BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of object ObjectName string `protobuf:"bytes,4,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` - // bucket_id define an u256 id for object + // bucket_id define an u256 id for bucket BucketId Uint `protobuf:"bytes,6,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` // object_id define an u256 id for object ObjectId Uint `protobuf:"bytes,7,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"` @@ -2070,7 +2070,7 @@ type EventMigrationBucket struct { Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // The name of the bucket to be migrated BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` - // bucket_id define an u256 id for object + // bucket_id define an u256 id for bucket BucketId Uint `protobuf:"bytes,3,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` // The id of the destination primary sp DstPrimarySpId uint32 `protobuf:"varint,4,opt,name=dst_primary_sp_id,json=dstPrimarySpId,proto3" json:"dst_primary_sp_id,omitempty"` @@ -2136,7 +2136,7 @@ type EventCancelMigrationBucket struct { Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // The name of the bucket to be migrated BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` - // bucket_id define an u256 id for object + // bucket_id define an u256 id for bucket BucketId Uint `protobuf:"bytes,3,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` } @@ -2187,13 +2187,69 @@ func (m *EventCancelMigrationBucket) GetBucketName() string { return "" } +type EventRejectMigrateBucket struct { + // The address of the operator that reject the bucket migration, must be the dest SP + Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` + // The name of the bucket to be migrated + BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` + // bucket_id define an u256 id for bucket + BucketId Uint `protobuf:"bytes,3,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` +} + +func (m *EventRejectMigrateBucket) Reset() { *m = EventRejectMigrateBucket{} } +func (m *EventRejectMigrateBucket) String() string { return proto.CompactTextString(m) } +func (*EventRejectMigrateBucket) ProtoMessage() {} +func (*EventRejectMigrateBucket) Descriptor() ([]byte, []int) { + return fileDescriptor_946dcba4f763ddc4, []int{28} +} +func (m *EventRejectMigrateBucket) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventRejectMigrateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventRejectMigrateBucket.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EventRejectMigrateBucket) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventRejectMigrateBucket.Merge(m, src) +} +func (m *EventRejectMigrateBucket) XXX_Size() int { + return m.Size() +} +func (m *EventRejectMigrateBucket) XXX_DiscardUnknown() { + xxx_messageInfo_EventRejectMigrateBucket.DiscardUnknown(m) +} + +var xxx_messageInfo_EventRejectMigrateBucket proto.InternalMessageInfo + +func (m *EventRejectMigrateBucket) GetOperator() string { + if m != nil { + return m.Operator + } + return "" +} + +func (m *EventRejectMigrateBucket) GetBucketName() string { + if m != nil { + return m.BucketName + } + return "" +} + type EventCompleteMigrationBucket struct { // The address of the operator that initiated the bucket migration, // usually the owner of the bucket or another account which has permission to operate Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // The name of the bucket to be migrated BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` - // bucket_id define an u256 id for object + // bucket_id define an u256 id for bucket BucketId Uint `protobuf:"bytes,3,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` // The family id that the bucket to be migrated to GlobalVirtualGroupFamilyId uint32 `protobuf:"varint,4,opt,name=global_virtual_group_family_id,json=globalVirtualGroupFamilyId,proto3" json:"global_virtual_group_family_id,omitempty"` @@ -2205,7 +2261,7 @@ func (m *EventCompleteMigrationBucket) Reset() { *m = EventCompleteMigra func (m *EventCompleteMigrationBucket) String() string { return proto.CompactTextString(m) } func (*EventCompleteMigrationBucket) ProtoMessage() {} func (*EventCompleteMigrationBucket) Descriptor() ([]byte, []int) { - return fileDescriptor_946dcba4f763ddc4, []int{28} + return fileDescriptor_946dcba4f763ddc4, []int{29} } func (m *EventCompleteMigrationBucket) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2291,116 +2347,118 @@ func init() { proto.RegisterType((*EventStalePolicyCleanup)(nil), "greenfield.storage.EventStalePolicyCleanup") proto.RegisterType((*EventMigrationBucket)(nil), "greenfield.storage.EventMigrationBucket") proto.RegisterType((*EventCancelMigrationBucket)(nil), "greenfield.storage.EventCancelMigrationBucket") + proto.RegisterType((*EventRejectMigrateBucket)(nil), "greenfield.storage.EventRejectMigrateBucket") proto.RegisterType((*EventCompleteMigrationBucket)(nil), "greenfield.storage.EventCompleteMigrationBucket") } func init() { proto.RegisterFile("greenfield/storage/events.proto", fileDescriptor_946dcba4f763ddc4) } var fileDescriptor_946dcba4f763ddc4 = []byte{ - // 1648 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x59, 0xcb, 0x6f, 0xdb, 0x46, - 0x1a, 0x37, 0x25, 0x4a, 0x96, 0x47, 0x96, 0x14, 0x73, 0xbd, 0x89, 0xd6, 0xc9, 0xca, 0x0a, 0x0f, - 0x59, 0x67, 0xb1, 0x91, 0x16, 0xce, 0xee, 0x22, 0xb7, 0xc0, 0x8f, 0xec, 0x42, 0xd8, 0xe6, 0x51, - 0x3a, 0xc9, 0xa1, 0x17, 0x62, 0x44, 0x8e, 0x65, 0x36, 0x24, 0x87, 0xe5, 0x8c, 0x9c, 0x28, 0xff, - 0x40, 0x4f, 0x05, 0x02, 0x14, 0x05, 0xda, 0x4b, 0xce, 0x05, 0x8a, 0x02, 0x3d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x75, 0x39, - 0xb2, 0x61, 0xda, 0x04, 0xfd, 0x2a, 0x25, 0x86, 0xcc, 0xa3, 0x54, 0x0e, 0x72, 0x96, 0x72, 0xd8, - 0xdb, 0xf9, 0xc2, 0xde, 0xce, 0x7f, 0x21, 0x89, 0x31, 0x52, 0x43, 0xac, 0x4e, 0x8e, 0x98, 0x1e, - 0x64, 0x09, 0xc0, 0xd8, 0x41, 0x4c, 0x38, 0x33, 0x62, 0x96, 0x34, 0x6e, 0xba, 0x1d, 0x3e, 0x35, - 0x97, 0x25, 0xec, 0x53, 0x0d, 0x62, 0xef, 0xe5, 0x12, 0xd3, 0xbb, 0x20, 0xf0, 0x01, 0x4e, 0xef, - 0x07, 0xc8, 0xbb, 0xe4, 0x74, 0x53, 0x98, 0x66, 0xba, 0x51, 0x7f, 0x91, 0xc0, 0xb1, 0xd8, 0x60, - 0xca, 0xd8, 0x99, 0xf9, 0xf4, 0xe0, 0xaf, 0x00, 0x70, 0xca, 0xc7, 0x62, 0x30, 0xc7, 0x56, 0x98, - 0x87, 0xff, 0x01, 0xa5, 0xa8, 0x22, 0xf6, 0xf1, 0xfe, 0x32, 0xdb, 0x13, 0xaa, 0x3f, 0x32, 0xb2, - 0xc8, 0x99, 0x47, 0x96, 0x45, 0x50, 0x40, 0x77, 0xa8, 0x0f, 0x85, 0x6a, 0xf2, 0x0b, 0xf5, 0xa3, - 0xd0, 0x65, 0x2e, 0x3b, 0x23, 0x2e, 0xe7, 0xa6, 0x71, 0x39, 0xff, 0x22, 0x97, 0xe5, 0xfd, 0xbb, - 0xac, 0x7e, 0x23, 0x89, 0x9e, 0xf5, 0x06, 0x82, 0xbb, 0xc2, 0xb4, 0x8b, 0xa0, 0xea, 0x20, 0xa7, - 0x8b, 0xfc, 0xe8, 0xb5, 0x6c, 0x52, 0x5a, 0x2a, 0x1c, 0x1f, 0xbe, 0xaf, 0x1d, 0x11, 0xdf, 0x7e, - 0xca, 0x09, 0x95, 0xe0, 0xa5, 0xc7, 0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, 0x3b, 0x39, 0x3c, 0xea, 0xae, 0xa9, 0xf7, 0x73, 0xe0, 0x94, 0x38, 0x8b, 0x72, 0xbc, 0x20, - 0x35, 0x47, 0x3e, 0x19, 0x93, 0x3f, 0xd0, 0xc8, 0x13, 0xbf, 0x3f, 0x9e, 0x05, 0x0b, 0xc4, 0x37, - 0x46, 0x12, 0xca, 0x85, 0xa8, 0x4a, 0x7c, 0x23, 0x96, 0xd0, 0xf5, 0xce, 0xc3, 0xa7, 0x0d, 0xe9, - 0xd1, 0xd3, 0x86, 0xf4, 0xc3, 0xd3, 0x86, 0x74, 0xef, 0x59, 0x63, 0xe6, 0xd1, 0xb3, 0xc6, 0xcc, - 0xd7, 0xcf, 0x1a, 0x33, 0x6f, 0xb5, 0x7b, 0x16, 0xdd, 0xe9, 0x77, 0x5b, 0x06, 0x76, 0xda, 0x5d, - 0xb7, 0x7b, 0x8e, 0xd5, 0x58, 0x3b, 0xf6, 0x55, 0xfc, 0x4e, 0xf2, 0xbb, 0x78, 0xb7, 0xc8, 0x66, - 0xa5, 0xf3, 0xbf, 0x05, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x24, 0x2e, 0x76, 0xe2, 0x1f, 0x00, 0x00, + // 1658 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x59, 0xcd, 0x8f, 0xdb, 0x44, + 0x1b, 0x5f, 0x27, 0x4e, 0x36, 0x3b, 0xd9, 0x24, 0x5d, 0xbf, 0xfb, 0xb6, 0x7e, 0xb7, 0x7d, 0xb3, + 0xa9, 0x0f, 0x7d, 0xb7, 0xaf, 0x68, 0x82, 0xb6, 0x80, 0x7a, 0xab, 0xf6, 0xa3, 0xa0, 0x08, 0xfa, + 0x81, 0xb7, 0xed, 0x81, 0x8b, 0x35, 0xb1, 0x67, 0xb3, 0xa6, 0xb6, 0xc7, 0xd8, 0x93, 0x6d, 0xd3, + 0x7f, 0x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dd, 0x89, 0xcf, 0x05, 0x70, 0x94, 0x91, 0xd4, 0xf4, 0x75, 0xec, 0x10, 0xd3, 0xe9, + 0x85, 0x4c, 0x4d, 0xc4, 0x4c, 0xc8, 0x12, 0xb3, 0xb1, 0xdb, 0x71, 0x14, 0x14, 0x3d, 0x04, 0x7d, + 0xec, 0x70, 0x66, 0xf2, 0xa7, 0x40, 0xdd, 0x0c, 0x9a, 0x2c, 0x31, 0x75, 0x63, 0x03, 0x6b, 0x44, + 0xf9, 0xb8, 0x98, 0x50, 0xe9, 0xcb, 0x9d, 0xf7, 0x91, 0x4e, 0xa4, 0x55, 0x30, 0x4b, 0xf5, 0x6f, + 0x1f, 0x7c, 0x09, 0x81, 0x7f, 0x7f, 0x36, 0x2d, 0x83, 0x32, 0xa6, 0xe6, 0x30, 0x80, 0xc8, 0x00, + 0x6c, 0x28, 0xcd, 0xbf, 0x62, 0x96, 0x58, 0x9e, 0x03, 0x73, 0x7c, 0x69, 0xbe, 0x9f, 0xe3, 0x66, + 0x32, 0x74, 0xdb, 0x48, 0x2b, 0x64, 0x29, 0xad, 0x90, 0x27, 0xc1, 0xbc, 0x0b, 0xfb, 0x16, 0x86, + 0x86, 0xe6, 0x9b, 0xb7, 0x11, 0x15, 0x51, 0x51, 0x2d, 0xf3, 0xb1, 0x2d, 0xf3, 0xf6, 0x70, 0xd5, + 0x02, 0x13, 0x31, 0xf5, 0x24, 0x98, 0x0f, 0xc8, 0x15, 0xa4, 0x05, 0xad, 0x2f, 0x65, 0x1a, 0xa0, + 0x32, 0x1f, 0xa3, 0x05, 0x24, 0x51, 0xd8, 0xe6, 0x53, 0x85, 0x2d, 0x14, 0xe1, 0xca, 0xde, 0x22, + 0xcc, 0x08, 0x91, 0x14, 0x61, 0xe9, 0x6d, 0x50, 0xf3, 0x90, 0xd1, 0x73, 0x0c, 0xe8, 0xe8, 0x7d, + 0xf6, 0xf2, 0xea, 0xde, 0x2e, 0xa8, 0x11, 0x94, 0xba, 0x50, 0xf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xd4, 0xf5, 0x5b, 0xd5, 0xf0, 0xc9, 0x95, 0xc1, 0x0d, 0x9c, 0xf2, 0xa5, 0x00, 0x96, + 0x62, 0x37, 0x87, 0xd3, 0xee, 0x5a, 0x40, 0x55, 0x39, 0x76, 0xda, 0x67, 0xf6, 0xa2, 0x69, 0xb5, + 0xf6, 0x6e, 0x0e, 0x9c, 0xe0, 0x37, 0x67, 0xb6, 0x1b, 0x10, 0x69, 0xea, 0xa9, 0x33, 0xfe, 0x73, + 0x92, 0x38, 0xf6, 0x6b, 0xe9, 0x69, 0xb0, 0xe0, 0x7b, 0xfa, 0x10, 0xfd, 0x98, 0x6c, 0x56, 0x7d, + 0x4f, 0x8f, 0xd1, 0x6f, 0xbd, 0x7d, 0xff, 0x71, 0x5d, 0x78, 0xf0, 0xb8, 0x2e, 0xfc, 0xf2, 0xb8, + 0x2e, 0xdc, 0x79, 0x52, 0x9f, 0x79, 0xf0, 0xa4, 0x3e, 0xf3, 0xfd, 0x93, 0xfa, 0xcc, 0x7b, 0xad, + 0xae, 0x49, 0x76, 0x7a, 0x9d, 0xa6, 0x8e, 0xed, 0x56, 0xc7, 0xe9, 0x9c, 0xa1, 0x8a, 0xd0, 0x8a, + 0x7d, 0xc3, 0xbf, 0x95, 0xfc, 0x8a, 0xdf, 0x29, 0xd2, 0xce, 0xee, 0xec, 0x5f, 0x01, 0x00, 0x00, + 0xff, 0xff, 0x47, 0x07, 0x50, 0x6a, 0x90, 0x20, 0x00, 0x00, } func (m *EventCreateBucket) Marshal() (dAtA []byte, err error) { @@ -4108,6 +4166,53 @@ func (m *EventCancelMigrationBucket) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } +func (m *EventRejectMigrateBucket) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventRejectMigrateBucket) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventRejectMigrateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.BucketId.Size() + i -= size + if _, err := m.BucketId.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + if len(m.BucketName) > 0 { + i -= len(m.BucketName) + copy(dAtA[i:], m.BucketName) + i = encodeVarintEvents(dAtA, i, uint64(len(m.BucketName))) + i-- + dAtA[i] = 0x12 + } + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Operator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *EventCompleteMigrationBucket) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -4927,6 +5032,25 @@ func (m *EventCancelMigrationBucket) Size() (n int) { return n } +func (m *EventRejectMigrateBucket) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Operator) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.BucketName) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = m.BucketId.Size() + n += 1 + l + sovEvents(uint64(l)) + return n +} + func (m *EventCompleteMigrationBucket) Size() (n int) { if m == nil { return 0 @@ -10597,6 +10721,154 @@ func (m *EventCancelMigrationBucket) Unmarshal(dAtA []byte) error { } return nil } +func (m *EventRejectMigrateBucket) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EventRejectMigrateBucket: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventRejectMigrateBucket: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Operator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BucketName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BucketName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BucketId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.BucketId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *EventCompleteMigrationBucket) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/storage/types/message_reject_migrate_bucket.go b/x/storage/types/message_reject_migrate_bucket.go new file mode 100644 index 000000000..ae8af2fa5 --- /dev/null +++ b/x/storage/types/message_reject_migrate_bucket.go @@ -0,0 +1,53 @@ +package types + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + + "github.com/bnb-chain/greenfield/types/s3util" +) + +const TypeMsgRejectMigrateBucket = "reject_migrate_bucket" + +var _ sdk.Msg = &MsgRejectMigrateBucket{} + +func NewMsgRejectMigrateBucket(operator sdk.AccAddress, bucketName string) *MsgRejectMigrateBucket { + return &MsgRejectMigrateBucket{ + Operator: operator.String(), + BucketName: bucketName, + } +} + +func (msg *MsgRejectMigrateBucket) Route() string { + return RouterKey +} + +func (msg *MsgRejectMigrateBucket) Type() string { + return TypeMsgRejectMigrateBucket +} + +func (msg *MsgRejectMigrateBucket) GetSigners() []sdk.AccAddress { + operator, err := sdk.AccAddressFromHexUnsafe(msg.Operator) + if err != nil { + panic(err) + } + return []sdk.AccAddress{operator} +} + +func (msg *MsgRejectMigrateBucket) GetSignBytes() []byte { + bz := ModuleCdc.MustMarshalJSON(msg) + return sdk.MustSortJSON(bz) +} + +func (msg *MsgRejectMigrateBucket) ValidateBasic() error { + _, err := sdk.AccAddressFromHexUnsafe(msg.Operator) + if err != nil { + return sdkerrors.ErrInvalidAddress.Wrapf("invalid operator address (%s)", err) + } + + err = s3util.CheckValidBucketName(msg.BucketName) + if err != nil { + return err + } + return nil +} diff --git a/x/storage/types/tx.pb.go b/x/storage/types/tx.pb.go index 48e739572..95729c350 100644 --- a/x/storage/types/tx.pb.go +++ b/x/storage/types/tx.pb.go @@ -3000,6 +3000,97 @@ func (m *MsgCancelMigrateBucketResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgCancelMigrateBucketResponse proto.InternalMessageInfo +type MsgRejectMigrateBucket struct { + // operator defines the account address of the msg operator. + // only the Dest SP can send this transaction to reject the bucket migration. + Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` + // bucket_name defines the name of the bucket that need to be migrated + BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` +} + +func (m *MsgRejectMigrateBucket) Reset() { *m = MsgRejectMigrateBucket{} } +func (m *MsgRejectMigrateBucket) String() string { return proto.CompactTextString(m) } +func (*MsgRejectMigrateBucket) ProtoMessage() {} +func (*MsgRejectMigrateBucket) Descriptor() ([]byte, []int) { + return fileDescriptor_ddb71b028305a3cc, []int{55} +} +func (m *MsgRejectMigrateBucket) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgRejectMigrateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgRejectMigrateBucket.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgRejectMigrateBucket) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgRejectMigrateBucket.Merge(m, src) +} +func (m *MsgRejectMigrateBucket) XXX_Size() int { + return m.Size() +} +func (m *MsgRejectMigrateBucket) XXX_DiscardUnknown() { + xxx_messageInfo_MsgRejectMigrateBucket.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgRejectMigrateBucket proto.InternalMessageInfo + +func (m *MsgRejectMigrateBucket) GetOperator() string { + if m != nil { + return m.Operator + } + return "" +} + +func (m *MsgRejectMigrateBucket) GetBucketName() string { + if m != nil { + return m.BucketName + } + return "" +} + +type MsgRejectMigrateBucketResponse struct { +} + +func (m *MsgRejectMigrateBucketResponse) Reset() { *m = MsgRejectMigrateBucketResponse{} } +func (m *MsgRejectMigrateBucketResponse) String() string { return proto.CompactTextString(m) } +func (*MsgRejectMigrateBucketResponse) ProtoMessage() {} +func (*MsgRejectMigrateBucketResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ddb71b028305a3cc, []int{56} +} +func (m *MsgRejectMigrateBucketResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgRejectMigrateBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgRejectMigrateBucketResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgRejectMigrateBucketResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgRejectMigrateBucketResponse.Merge(m, src) +} +func (m *MsgRejectMigrateBucketResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgRejectMigrateBucketResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgRejectMigrateBucketResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgRejectMigrateBucketResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgCreateBucket)(nil), "greenfield.storage.MsgCreateBucket") proto.RegisterType((*MsgCreateBucketResponse)(nil), "greenfield.storage.MsgCreateBucketResponse") @@ -3056,153 +3147,156 @@ func init() { proto.RegisterType((*MsgCompleteMigrateBucketResponse)(nil), "greenfield.storage.MsgCompleteMigrateBucketResponse") proto.RegisterType((*MsgCancelMigrateBucket)(nil), "greenfield.storage.MsgCancelMigrateBucket") proto.RegisterType((*MsgCancelMigrateBucketResponse)(nil), "greenfield.storage.MsgCancelMigrateBucketResponse") + proto.RegisterType((*MsgRejectMigrateBucket)(nil), "greenfield.storage.MsgRejectMigrateBucket") + proto.RegisterType((*MsgRejectMigrateBucketResponse)(nil), "greenfield.storage.MsgRejectMigrateBucketResponse") } func init() { proto.RegisterFile("greenfield/storage/tx.proto", fileDescriptor_ddb71b028305a3cc) } var fileDescriptor_ddb71b028305a3cc = []byte{ - // 2248 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4b, 0x6c, 0x1b, 0xc7, - 0xf9, 0x37, 0x45, 0xea, 0xc1, 0x8f, 0xd4, 0xc3, 0x6b, 0x39, 0x62, 0xa8, 0xbf, 0x29, 0x9a, 0xf9, - 0x23, 0x91, 0x5f, 0xa2, 0xa3, 0xba, 0x46, 0x2a, 0x14, 0x45, 0x25, 0xa5, 0x71, 0x89, 0x84, 0xb5, - 0xb2, 0xb2, 0x5d, 0x20, 0x40, 0xc1, 0x0c, 0x77, 0xc7, 0xab, 0x6d, 0xc8, 0xdd, 0xed, 0xcc, 0x52, - 0x36, 0x53, 0xa0, 0x87, 0x5e, 0x7a, 0x2a, 0x10, 0x20, 0x3d, 0xf4, 0x50, 0xf4, 0xdc, 0x53, 0x51, - 0x14, 0x39, 0x17, 0xbd, 0x04, 0x30, 0x7a, 0x32, 0x72, 0x2a, 0x7a, 0x70, 0x03, 0xbb, 0x45, 0xd1, - 0x6b, 0x2f, 0xbd, 0x16, 0xb3, 0x33, 0xbb, 0x3b, 0xdc, 0x07, 0x97, 0x92, 0xa5, 0x44, 0x27, 0x69, - 0x67, 0x7e, 0xf3, 0xcd, 0xf7, 0x9e, 0x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0x26, 0x5e, 0x15, 0xf6, 0x55, 0xa8, 0x2a, 0xca, 0x63, 0x1d, 0x6a, 0xc9, 0xfb, 0xfb, 0x1c, - 0x6e, 0xfe, 0xf3, 0x22, 0xe4, 0xdb, 0xd4, 0x50, 0x3e, 0x84, 0xf2, 0xc8, 0xeb, 0xe8, 0x6b, 0x29, - 0xb7, 0x5d, 0x19, 0x54, 0xbd, 0x36, 0x01, 0x28, 0xa8, 0x05, 0x3e, 0x84, 0xf2, 0xc8, 0x53, 0x5b, - 0xda, 0x0e, 0x32, 0x28, 0x75, 0x87, 0xa4, 0xb7, 0x33, 0xa5, 0x07, 0x4b, 0xb1, 0x2b, 0xd0, 0x1b, - 0x29, 0x04, 0xa2, 0xc0, 0x6a, 0x73, 0x42, 0xa0, 0x2c, 0xcf, 0xc8, 0xb1, 0x9c, 0x26, 0x8f, 0x0c, - 0x4a, 0x95, 0x27, 0xe9, 0x50, 0x50, 0x6c, 0x38, 0x1f, 0x7f, 0x07, 0x5c, 0x4f, 0xd3, 0x48, 0x14, - 0x59, 0xbd, 0x39, 0x29, 0x52, 0x16, 0x69, 0xe4, 0x2e, 0x33, 0xde, 0x09, 0x38, 0x28, 0xc3, 0x09, - 0x22, 0x4d, 0xeb, 0x0f, 0x00, 0xa4, 0x27, 0x8b, 0xcb, 0x29, 0x4b, 0x43, 0x48, 0xf5, 0x4a, 0x26, - 0x44, 0x36, 0x7f, 0xec, 0x51, 0x24, 0xcd, 0xfc, 0x51, 0x60, 0xaa, 0xf9, 0xd3, 0x1e, 0x32, 0x98, - 0x24, 0xd2, 0x23, 0x46, 0x9a, 0x24, 0x21, 0x24, 0x55, 0x92, 0x84, 0xd6, 0x7e, 0x10, 0x2a, 0x19, - 0x76, 0x90, 0x41, 0x19, 0xa1, 0x12, 0xd9, 0x81, 0x80, 0x92, 0x70, 0x77, 0x4d, 0x65, 0x31, 0x06, - 0xad, 0xbe, 0x39, 0x31, 0x34, 0x1e, 0x30, 0x19, 0x52, 0xc9,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 0x54, 0x3b, 0x4a, 0xa8, 0xea, 0xf5, 0x49, 0x50, 0xc1, 0x26, 0x3f, 0x85, 0x8b, 0xc9, 0xf5, - 0xfb, 0xf5, 0xd4, 0x23, 0x2a, 0x01, 0x5d, 0xbd, 0x75, 0x14, 0x74, 0xb0, 0xf9, 0x00, 0x2e, 0x24, - 0xd5, 0xc3, 0x57, 0xc7, 0x9e, 0x27, 0xa3, 0x1b, 0x6f, 0x4e, 0x8e, 0xf5, 0xb7, 0xdd, 0x69, 0x3d, - 0x79, 0x5e, 0xcb, 0x3d, 0x7d, 0x5e, 0xcb, 0x7d, 0xf9, 0xbc, 0x96, 0xfb, 0xe4, 0x45, 0xed, 0xdc, - 0xd3, 0x17, 0xb5, 0x73, 0x7f, 0x7d, 0x51, 0x3b, 0xf7, 0x41, 0xd3, 0x30, 0xdd, 0x83, 0x41, 0x97, - 0x5d, 0x95, 0x9a, 0x5d, 0xab, 0x7b, 0xc3, 0xbb, 0xed, 0x36, 0xa5, 0x5f, 0x14, 0x3e, 0x0e, 0x7f, - 0x77, 0x39, 0x74, 0x30, 0xed, 0xce, 0x78, 0x3d, 0xc3, 0x6f, 0xfc, 0x2f, 0x00, 0x00, 0xff, 0xff, - 0xe0, 0x4b, 0x9e, 0x35, 0x9a, 0x29, 0x00, 0x00, + // 2269 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4d, 0x6c, 0x1b, 0xc7, + 0x15, 0x36, 0x45, 0xca, 0x12, 0x1f, 0xa9, 0x1f, 0xaf, 0x15, 0x8b, 0xa1, 0x6a, 0x8a, 0x66, 0x8a, + 0x44, 0xfe, 0x13, 0x1d, 0xd5, 0x35, 0x52, 0xa1, 0x28, 0x2a, 0x29, 0x8d, 0x4b, 0x24, 0xac, 0x95, + 0x95, 0xed, 0x02, 0x01, 0x0a, 0x66, 0xc8, 0x1d, 0xaf, 0xb6, 0x21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ef, 0x29, 0x49, 0xa4, 0x56, 0xe1, 0x62, 0x2c, 0x7d, 0x3e, 0x07, 0x7f, + 0x9d, 0x82, 0x72, 0x9b, 0xea, 0xbb, 0x43, 0x67, 0xd7, 0xea, 0x1b, 0xbd, 0xd1, 0x11, 0x09, 0xff, + 0x1e, 0x14, 0x6d, 0x62, 0x98, 0x3d, 0xc3, 0x46, 0x7d, 0x11, 0x6f, 0xea, 0xb2, 0xe4, 0x83, 0x9e, + 0xde, 0xfa, 0xae, 0x87, 0x53, 0x83, 0x25, 0x2c, 0xfb, 0x27, 0x98, 0x5a, 0x43, 0xd2, 0xf3, 0x98, + 0xf2, 0xbf, 0x95, 0xef, 0x03, 0x50, 0x07, 0x39, 0x98, 0xa9, 0xda, 0x8b, 0xc2, 0x49, 0x9b, 0xef, + 0x79, 0x40, 0x55, 0x5a, 0xa3, 0xb4, 0xa3, 0x31, 0x71, 0x26, 0x33, 0x26, 0xce, 0x3e, 0x7e, 0xba, + 0x9a, 0x8b, 0x8b, 0x8b, 0x61, 0x19, 0xef, 0xba, 0x19, 0x83, 0x2f, 0x41, 0x39, 0x33, 0xb7, 0xdd, + 0x11, 0xaf, 0x70, 0xcc, 0xca, 0xcc, 0x39, 0xba, 0xa5, 0x35, 0xfe, 0x2c, 0x67, 0xe6, 0xa7, 0x55, + 0x2f, 0x61, 0x31, 0xec, 0x49, 0x39, 0xfb, 0xb1, 0x49, 0xe2, 0xbf, 0x5c, 0x12, 0x6d, 0x83, 0x10, + 0x8b, 0xbc, 0x90, 0x6b, 0x5d, 0x85, 0x29, 0x43, 0x13, 0x31, 0x39, 0xf5, 0xf0, 0x29, 0x43, 0x0b, + 0xfb, 0x61, 0x3e, 0xcb, 0x0f, 0x0b, 0x91, 0x1e, 0x42, 0x03, 0xe6, 0x34, 0x4c, 0x9d, 0x4e, 0x6f, + 0x1f, 0x19, 0x26, 0x63, 0x7b, 0xda, 0xed, 0x1c, 0x94, 0xd8, 0xe0, 0x0e, 0x1b, 0x6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 0xfe, 0x01, 0x80, 0xf4, + 0xa8, 0x72, 0x29, 0x61, 0x69, 0x00, 0xa9, 0x5e, 0xce, 0x84, 0xc8, 0xea, 0x8f, 0x3c, 0xdb, 0x24, + 0xa9, 0x3f, 0x0c, 0x4c, 0x54, 0x7f, 0xd2, 0x53, 0x0b, 0xe3, 0x44, 0x7a, 0x66, 0x49, 0xe2, 0x24, + 0x80, 0x24, 0x72, 0x12, 0xf3, 0xf8, 0xe0, 0xbb, 0x4a, 0x86, 0x1e, 0x64, 0x50, 0x86, 0xab, 0x84, + 0x4e, 0x20, 0xa0, 0xc4, 0x54, 0xd7, 0x89, 0x24, 0x46, 0xa0, 0xd5, 0x37, 0x27, 0x86, 0x46, 0x1d, + 0x26, 0x83, 0x2b, 0x19, 0x94, 0xe1, 0x30, 0xa1, 0x13, 0xc6, 0x1d, 0x46, 0x1c, 0x33, 0x81, 0xc3, + 0x88, 0xb3, 0x6e, 0x4c, 0x8a, 0x8c, 0x46, 0x1c, 0x29, 0xa5, 0x4e, 0x8f, 0x38, 0x01, 0x30, 0x23, + 0xe2, 0x44, 0x93, 0x78, 0xe5, 0x27, 0x50, 0x92, 0x1f, 0x2b, 0x1a, 0xa9, 0x8e, 0xe7, 0x62, 0xaa, + 0x57, 0xb2, 0x31, 0xf2, 0xf6, 0xf2, 0x83, 0x41, 0x23, 0xd5, 0x9e, 0xd2, 0xb7, 0x8f, 0x79, 0x02, + 0x60, 0xca, 0x89, 0xb6, 0xff, 0xd7, 0x52, 0x65, 0x20, 0x21, 0x13, 0x95, 0x93, 0xd8, 0x0b, 0x0f, + 0x94, 0x23, 0xf5, 0x58, 0xdf, 0xc8, 0xde, 0xc5, 0x05, 0x66, 0x28, 0x27, 0xda, 0xe9, 0x64, 0xf1, + 0x40, 0xea, 0x72, 0x26, 0xc5, 0x83, 0x00, 0x92, 0x18, 0x0f, 0xa2, 0x1d, 0x48, 0xa6, 0x19, 0xb9, + 0x76, 0x69, 0xa4, 0xfa, 0x44, 0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xbb, 0x67, 0xdd, 0x66, 0xea, 0xb7, 0xbe, + 0x0a, 0x00, 0x00, 0xff, 0xff, 0x7e, 0x9d, 0xed, 0xbd, 0xb3, 0x2a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -3250,6 +3344,7 @@ type MsgClient interface { MigrateBucket(ctx context.Context, in *MsgMigrateBucket, opts ...grpc.CallOption) (*MsgMigrateBucketResponse, error) CompleteMigrateBucket(ctx context.Context, in *MsgCompleteMigrateBucket, opts ...grpc.CallOption) (*MsgCompleteMigrateBucketResponse, error) CancelMigrateBucket(ctx context.Context, in *MsgCancelMigrateBucket, opts ...grpc.CallOption) (*MsgCancelMigrateBucketResponse, error) + RejectMigrateBucket(ctx context.Context, in *MsgRejectMigrateBucket, opts ...grpc.CallOption) (*MsgRejectMigrateBucketResponse, error) } type msgClient struct { @@ -3503,6 +3598,15 @@ func (c *msgClient) CancelMigrateBucket(ctx context.Context, in *MsgCancelMigrat return out, nil } +func (c *msgClient) RejectMigrateBucket(ctx context.Context, in *MsgRejectMigrateBucket, opts ...grpc.CallOption) (*MsgRejectMigrateBucketResponse, error) { + out := new(MsgRejectMigrateBucketResponse) + err := c.cc.Invoke(ctx, "/greenfield.storage.Msg/RejectMigrateBucket", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { // basic operation of bucket @@ -3538,6 +3642,7 @@ type MsgServer interface { MigrateBucket(context.Context, *MsgMigrateBucket) (*MsgMigrateBucketResponse, error) CompleteMigrateBucket(context.Context, *MsgCompleteMigrateBucket) (*MsgCompleteMigrateBucketResponse, error) CancelMigrateBucket(context.Context, *MsgCancelMigrateBucket) (*MsgCancelMigrateBucketResponse, error) + RejectMigrateBucket(context.Context, *MsgRejectMigrateBucket) (*MsgRejectMigrateBucketResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -3625,6 +3730,9 @@ func (*UnimplementedMsgServer) CompleteMigrateBucket(ctx context.Context, req *M func (*UnimplementedMsgServer) CancelMigrateBucket(ctx context.Context, req *MsgCancelMigrateBucket) (*MsgCancelMigrateBucketResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CancelMigrateBucket not implemented") } +func (*UnimplementedMsgServer) RejectMigrateBucket(ctx context.Context, req *MsgRejectMigrateBucket) (*MsgRejectMigrateBucketResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RejectMigrateBucket not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -4116,6 +4224,24 @@ func _Msg_CancelMigrateBucket_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _Msg_RejectMigrateBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgRejectMigrateBucket) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).RejectMigrateBucket(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/greenfield.storage.Msg/RejectMigrateBucket", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).RejectMigrateBucket(ctx, req.(*MsgRejectMigrateBucket)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "greenfield.storage.Msg", HandlerType: (*MsgServer)(nil), @@ -4228,6 +4354,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "CancelMigrateBucket", Handler: _Msg_CancelMigrateBucket_Handler, }, + { + MethodName: "RejectMigrateBucket", + Handler: _Msg_RejectMigrateBucket_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "greenfield/storage/tx.proto", @@ -6394,6 +6524,66 @@ func (m *MsgCancelMigrateBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } +func (m *MsgRejectMigrateBucket) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgRejectMigrateBucket) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgRejectMigrateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.BucketName) > 0 { + i -= len(m.BucketName) + copy(dAtA[i:], m.BucketName) + i = encodeVarintTx(dAtA, i, uint64(len(m.BucketName))) + i-- + dAtA[i] = 0x12 + } + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Operator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgRejectMigrateBucketResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgRejectMigrateBucketResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgRejectMigrateBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -7345,6 +7535,32 @@ func (m *MsgCancelMigrateBucketResponse) Size() (n int) { return n } +func (m *MsgRejectMigrateBucket) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Operator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.BucketName) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgRejectMigrateBucketResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -13713,6 +13929,170 @@ func (m *MsgCancelMigrateBucketResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgRejectMigrateBucket) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgRejectMigrateBucket: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgRejectMigrateBucket: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Operator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BucketName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BucketName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgRejectMigrateBucketResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgRejectMigrateBucketResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgRejectMigrateBucketResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0