From dc1791121e91f11d26b3c05c5a1edfe12c502432 Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Mon, 18 Dec 2023 17:11:49 -0800 Subject: [PATCH] fix Proto and tests --- api/cosmos/bank/v1beta1/events.pulsar.go | 45 ++++++++++++----------- proto/cosmos/bank/v1beta1/events.proto | 5 ++- server/mock/store.go | 8 +++++ x/bank/keeper/collections_test.go | 3 ++ x/bank/keeper/keeper_test.go | 6 ++++ x/bank/types/events.pb.go | 46 ++++++++++++------------ 6 files changed, 64 insertions(+), 49 deletions(-) diff --git a/api/cosmos/bank/v1beta1/events.pulsar.go b/api/cosmos/bank/v1beta1/events.pulsar.go index 3a979c717249..19355eb04f28 100644 --- a/api/cosmos/bank/v1beta1/events.pulsar.go +++ b/api/cosmos/bank/v1beta1/events.pulsar.go @@ -1179,29 +1179,28 @@ var file_cosmos_bank_v1beta1_events_proto_rawDesc = []byte{ 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0e, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x22, 0x8e, 0x01, 0x0a, - 0x0d, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x61, 0x64, - 0x64, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x53, 0x0a, 0x03, 0x61, 0x6d, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x41, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x26, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, - 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x03, 0x61, 0x6d, 0x74, 0x42, 0xc6, 0x01, - 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x6e, - 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2f, 0x62, 0x61, 0x6e, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x62, - 0x61, 0x6e, 0x6b, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x42, 0x58, - 0xaa, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x42, 0x61, 0x6e, 0x6b, 0x2e, 0x56, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, - 0x42, 0x61, 0x6e, 0x6b, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1f, 0x43, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x42, 0x61, 0x6e, 0x6b, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x15, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x42, 0x61, 0x6e, 0x6b, 0x3a, 0x3a, 0x56, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x22, 0x78, 0x0a, 0x0d, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x61, 0x64, 0x64, + 0x72, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x3d, 0x0a, 0x03, 0x61, 0x6d, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, + 0x74, 0x52, 0x03, 0x61, 0x6d, 0x74, 0x42, 0xc6, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x42, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x30, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x6e, 0x6b, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x62, 0x61, 0x6e, 0x6b, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x42, 0x58, 0xaa, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x42, 0x61, 0x6e, 0x6b, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, + 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x42, 0x61, 0x6e, 0x6b, 0x5c, 0x56, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1f, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x42, + 0x61, 0x6e, 0x6b, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x3a, 0x3a, 0x42, 0x61, 0x6e, 0x6b, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/proto/cosmos/bank/v1beta1/events.proto b/proto/cosmos/bank/v1beta1/events.proto index 980c5d42127a..f6d7d84524a0 100644 --- a/proto/cosmos/bank/v1beta1/events.proto +++ b/proto/cosmos/bank/v1beta1/events.proto @@ -19,8 +19,7 @@ message BalanceUpdate { // the latest amount string amt = 3 [ (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false, - (amino.dont_omitempty) = true + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false ]; } diff --git a/server/mock/store.go b/server/mock/store.go index 6e8a30364614..6135ef57225e 100644 --- a/server/mock/store.go +++ b/server/mock/store.go @@ -168,6 +168,14 @@ func (ms multiStore) WorkingHash() []byte { panic("not implemented") } +func (ms multiStore) SetCommitSync(_ bool) { + panic("not implemented") +} + +func (ms multiStore) GetCommitSync() bool { + panic("not implemented") +} + var _ storetypes.KVStore = kvStore{} type kvStore struct { diff --git a/x/bank/keeper/collections_test.go b/x/bank/keeper/collections_test.go index e1af343cce56..ab1d50bf36d1 100644 --- a/x/bank/keeper/collections_test.go +++ b/x/bank/keeper/collections_test.go @@ -26,11 +26,13 @@ import ( func TestBankStateCompatibility(t *testing.T) { key := storetypes.NewKVStoreKey(banktypes.StoreKey) + tKey := storetypes.NewTransientStoreKey("transient_key") testCtx := testutil.DefaultContextWithDB(t, key, storetypes.NewTransientStoreKey("transient_test")) ctx := testCtx.Ctx.WithBlockHeader(cmtproto.Header{Time: cmttime.Now()}) encCfg := moduletestutil.MakeTestEncodingConfig() storeService := runtime.NewKVStoreService(key) + tStoreService := runtime.NewTransientKVStoreService(tKey) // gomock initializations ctrl := gomock.NewController(t) @@ -40,6 +42,7 @@ func TestBankStateCompatibility(t *testing.T) { k := keeper.NewBaseKeeper( encCfg.Codec, storeService, + tStoreService, authKeeper, map[string]bool{accAddrs[4].String(): true}, authtypes.NewModuleAddress("gov").String(), diff --git a/x/bank/keeper/keeper_test.go b/x/bank/keeper/keeper_test.go index 4bb11862eb62..8cdaac5a6fa1 100644 --- a/x/bank/keeper/keeper_test.go +++ b/x/bank/keeper/keeper_test.go @@ -130,11 +130,13 @@ func TestKeeperTestSuite(t *testing.T) { func (suite *KeeperTestSuite) SetupTest() { key := storetypes.NewKVStoreKey(banktypes.StoreKey) + tKey := storetypes.NewTransientStoreKey("transient_key") testCtx := testutil.DefaultContextWithDB(suite.T(), key, storetypes.NewTransientStoreKey("transient_test")) ctx := testCtx.Ctx.WithBlockHeader(cmtproto.Header{Time: cmttime.Now()}) encCfg := moduletestutil.MakeTestEncodingConfig() storeService := runtime.NewKVStoreService(key) + tStoreService := runtime.NewTransientKVStoreService(tKey) // gomock initializations ctrl := gomock.NewController(suite.T()) @@ -145,6 +147,7 @@ func (suite *KeeperTestSuite) SetupTest() { suite.bankKeeper = keeper.NewBaseKeeper( encCfg.Codec, storeService, + tStoreService, suite.authKeeper, map[string]bool{accAddrs[4].String(): true}, authtypes.NewModuleAddress(govtypes.ModuleName).String(), @@ -312,10 +315,13 @@ func (suite *KeeperTestSuite) TestPrependSendRestriction() { func (suite *KeeperTestSuite) TestGetAuthority() { storeService := runtime.NewKVStoreService(storetypes.NewKVStoreKey(banktypes.StoreKey)) + tStoreService := runtime.NewTransientKVStoreService(storetypes.NewTransientStoreKey("transient_key")) + NewKeeperWithAuthority := func(authority string) keeper.BaseKeeper { return keeper.NewBaseKeeper( moduletestutil.MakeTestEncodingConfig().Codec, storeService, + tStoreService, suite.authKeeper, nil, authority, diff --git a/x/bank/types/events.pb.go b/x/bank/types/events.pb.go index b7dc8810b9d4..8088d415f536 100644 --- a/x/bank/types/events.pb.go +++ b/x/bank/types/events.pb.go @@ -4,9 +4,9 @@ package types import ( + cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" _ "github.com/cosmos/cosmos-proto" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" @@ -76,7 +76,7 @@ type BalanceUpdate struct { Addr []byte `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Denom []byte `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` // the latest amount - Amt github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amt,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amt"` + Amt cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=amt,proto3,customtype=cosmossdk.io/math.Int" json:"amt"` } func (m *BalanceUpdate) Reset() { *m = BalanceUpdate{} } @@ -134,27 +134,27 @@ func init() { func init() { proto.RegisterFile("cosmos/bank/v1beta1/events.proto", fileDescriptor_ad7d0e6fd39d7db3) } var fileDescriptor_ad7d0e6fd39d7db3 = []byte{ - // 309 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0x2f, 0xce, - 0xcd, 0x2f, 0xd6, 0x4f, 0x4a, 0xcc, 0xcb, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, - 0x4f, 0x2d, 0x4b, 0xcd, 0x2b, 0x29, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x86, 0xa8, - 0xd0, 0x03, 0xa9, 0xd0, 0x83, 0xaa, 0x90, 0x92, 0x84, 0x08, 0xc6, 0x83, 0x95, 0xe8, 0x43, 0x55, - 0x80, 0x39, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x10, 0x71, 0x10, 0x0b, 0x2a, 0x2a, 0x98, 0x98, - 0x9b, 0x99, 0x97, 0xaf, 0x0f, 0x26, 0x21, 0x42, 0x4a, 0xf1, 0x5c, 0x02, 0xae, 0x20, 0x8b, 0x82, - 0x53, 0x4b, 0x9c, 0x12, 0x73, 0x12, 0xf3, 0x92, 0x53, 0x8b, 0x85, 0xbc, 0xb9, 0xf8, 0x93, 0x20, - 0xec, 0xf8, 0xd2, 0x82, 0x94, 0xc4, 0x92, 0xd4, 0x62, 0x09, 0x46, 0x05, 0x66, 0x0d, 0x6e, 0x23, - 0x25, 0x3d, 0x2c, 0xce, 0xd0, 0x83, 0xea, 0x0b, 0x05, 0x2b, 0x0d, 0xe2, 0x4b, 0x42, 0xe6, 0x16, - 0x2b, 0xf5, 0x31, 0x72, 0xf1, 0xa2, 0xa8, 0x10, 0x12, 0xe2, 0x62, 0x49, 0x4c, 0x49, 0x29, 0x92, - 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x09, 0x02, 0xb3, 0x85, 0x44, 0xb8, 0x58, 0x53, 0x52, 0xf3, 0xf2, - 0x73, 0x25, 0x98, 0xc0, 0x82, 0x10, 0x8e, 0x50, 0x30, 0x17, 0x73, 0x62, 0x6e, 0x89, 0x04, 0xb3, - 0x02, 0xa3, 0x06, 0xa7, 0x93, 0xe3, 0x89, 0x7b, 0xf2, 0x0c, 0xb7, 0xee, 0xc9, 0xab, 0xa5, 0x67, - 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0x42, 0xfd, 0x0c, 0xa5, 0x74, 0x8b, 0x53, 0xb2, - 0xf5, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0xf5, 0x3c, 0xf3, 0x4a, 0x2e, 0x6d, 0xd1, 0xe5, 0x82, 0xba, - 0xd6, 0x33, 0xaf, 0x64, 0xc5, 0xf3, 0x0d, 0x5a, 0x8c, 0x41, 0x20, 0xd3, 0x9c, 0x9c, 0x4f, 0x3c, - 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, - 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0x4a, 0x13, 0xaf, 0xc9, 0x15, 0x90, 0xe8, 0x01, - 0x5b, 0x90, 0xc4, 0x06, 0x0e, 0x3d, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x36, 0xf9, 0xd8, - 0x0f, 0xba, 0x01, 0x00, 0x00, + // 307 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xbf, 0x4a, 0x43, 0x31, + 0x18, 0xc5, 0x6f, 0xac, 0x0a, 0xc6, 0xff, 0xb1, 0xc2, 0xb5, 0x43, 0x7a, 0xe9, 0x54, 0x91, 0x26, + 0x54, 0x67, 0x97, 0x8a, 0x43, 0x71, 0xab, 0xb8, 0xb8, 0x94, 0xa4, 0x09, 0x6d, 0xa9, 0x49, 0x4a, + 0x93, 0x96, 0xfa, 0x16, 0x3e, 0x8c, 0x0f, 0xd1, 0xb1, 0x38, 0x89, 0x43, 0x91, 0x7b, 0x5f, 0x44, + 0x6e, 0x92, 0x41, 0xc1, 0x25, 0x39, 0xe7, 0xf0, 0xfb, 0xc8, 0xe1, 0x0b, 0xcc, 0x06, 0xc6, 0x2a, + 0x63, 0x29, 0x67, 0x7a, 0x42, 0x17, 0x6d, 0x2e, 0x1d, 0x6b, 0x53, 0xb9, 0x90, 0xda, 0x59, 0x32, + 0x9d, 0x19, 0x67, 0xd0, 0x59, 0x20, 0x48, 0x49, 0x90, 0x48, 0xd4, 0x2e, 0x42, 0xd8, 0xf7, 0x08, + 0x8d, 0x84, 0x37, 0xb5, 0xea, 0xd0, 0x0c, 0x4d, 0xc8, 0x4b, 0x15, 0xd3, 0x53, 0xa6, 0xc6, 0xda, + 0x50, 0x7f, 0x86, 0xa8, 0xd1, 0x87, 0x27, 0xf7, 0xe5, 0x43, 0x8f, 0xd2, 0x75, 0xd8, 0x0b, 0xd3, + 0x03, 0x69, 0xd1, 0x03, 0x3c, 0xe6, 0x41, 0xf7, 0xe7, 0x53, 0xc1, 0x9c, 0xb4, 0x29, 0xc8, 0x2a, + 0xcd, 0xfd, 0xeb, 0x06, 0xf9, 0xa7, 0x06, 0x89, 0x73, 0x4f, 0x1e, 0xed, 0x1d, 0xf1, 0xdf, 0xd6, + 0x36, 0x96, 0xf0, 0xf0, 0x0f, 0x80, 0x10, 0xdc, 0x66, 0x42, 0xcc, 0x52, 0x90, 0x81, 0xe6, 0x41, + 0xcf, 0x6b, 0x54, 0x85, 0x3b, 0x42, 0x6a, 0xa3, 0xd2, 0x2d, 0x1f, 0x06, 0x83, 0x6e, 0x61, 0x85, + 0x29, 0x97, 0x56, 0x32, 0xd0, 0xdc, 0xeb, 0x5c, 0xad, 0x36, 0xf5, 0xe4, 0x6b, 0x53, 0x3f, 0x0f, + 0x15, 0xac, 0x98, 0x90, 0xb1, 0xa1, 0x8a, 0xb9, 0x11, 0xe9, 0x6a, 0xf7, 0xf1, 0xde, 0x82, 0xb1, + 0x5b, 0x57, 0xbb, 0x5e, 0x39, 0xd7, 0xb9, 0x5b, 0xe5, 0x18, 0xac, 0x73, 0x0c, 0xbe, 0x73, 0x0c, + 0xde, 0x0a, 0x9c, 0xac, 0x0b, 0x9c, 0x7c, 0x16, 0x38, 0x79, 0xbe, 0x1c, 0x8e, 0xdd, 0x68, 0xce, + 0xc9, 0xc0, 0xa8, 0xb8, 0xb6, 0x78, 0xb5, 0xac, 0x98, 0xd0, 0x65, 0xf8, 0x07, 0xf7, 0x3a, 0x95, + 0x96, 0xef, 0xfa, 0x35, 0xdd, 0xfc, 0x04, 0x00, 0x00, 0xff, 0xff, 0xcd, 0x19, 0x34, 0x1d, 0xa3, + 0x01, 0x00, 0x00, } func (m *EventSetBalances) Marshal() (dAtA []byte, err error) {