diff --git a/proto/lbm/bankplus/v1/bankplus.proto b/proto/lbm/bankplus/v1/bankplus.proto index 92a69d97a6..36bea5ea76 100644 --- a/proto/lbm/bankplus/v1/bankplus.proto +++ b/proto/lbm/bankplus/v1/bankplus.proto @@ -4,7 +4,7 @@ package lbm.bankplus.v1; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/Finschia/finschia-sdk/x/bankplus"; +option go_package = "github.com/Finschia/finschia-sdk/x/bankplus/types"; // InactiveAddr models the blocked address for the bankplus module message InactiveAddr { diff --git a/x/bankplus/deprecator_test.go b/x/bankplus/deprecator_test.go index 4c283b5078..e93e274680 100644 --- a/x/bankplus/deprecator_test.go +++ b/x/bankplus/deprecator_test.go @@ -20,6 +20,8 @@ import ( moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + + "github.com/Finschia/finschia-sdk/x/bankplus/types" ) func TestDeprecateTestSuite(t *testing.T) { @@ -83,7 +85,7 @@ func addToInactiveAddr(ctx context.Context, storeService store.KVStoreService, c panic(err) } - blockedCAddr := InactiveAddr{Address: addrString} + blockedCAddr := types.InactiveAddr{Address: addrString} //lint:ignore SA1019 types.InactiveAddr is deprecated. Will be removed next version bz := cdc.MustMarshal(&blockedCAddr) if err := kvStore.Set(inactiveAddrKey(address), bz); err != nil { panic(err) diff --git a/x/bankplus/bankplus.pb.go b/x/bankplus/types/bankplus.pb.go similarity index 96% rename from x/bankplus/bankplus.pb.go rename to x/bankplus/types/bankplus.pb.go index cdfbe7b717..1e15231245 100644 --- a/x/bankplus/bankplus.pb.go +++ b/x/bankplus/types/bankplus.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: lbm/bankplus/v1/bankplus.proto -package bankplus +package types import ( fmt "fmt" @@ -78,7 +78,7 @@ func init() { func init() { proto.RegisterFile("lbm/bankplus/v1/bankplus.proto", fileDescriptor_79e8c66834b4419a) } var fileDescriptor_79e8c66834b4419a = []byte{ - // 213 bytes of a gzipped FileDescriptorProto + // 218 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcb, 0x49, 0xca, 0xd5, 0x4f, 0x4a, 0xcc, 0xcb, 0x2e, 0xc8, 0x29, 0x2d, 0xd6, 0x2f, 0x33, 0x84, 0xb3, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0xf8, 0x73, 0x92, 0x72, 0xf5, 0xe0, 0x62, 0x65, 0x86, 0x52, 0x22, 0xe9, @@ -87,12 +87,12 @@ var fileDescriptor_79e8c66834b4419a = []byte{ 0x4b, 0x32, 0xcb, 0x52, 0x1d, 0x53, 0x52, 0x8a, 0x84, 0x8c, 0xb8, 0xd8, 0x13, 0x53, 0x52, 0x8a, 0x52, 0x8b, 0x8b, 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x9d, 0x24, 0x2e, 0x6d, 0xd1, 0x15, 0x81, 0x6a, 0x71, 0x84, 0xc8, 0x04, 0x97, 0x14, 0x65, 0xe6, 0xa5, 0x07, 0xc1, 0x14, 0x5a, 0xb1, 0xbd, - 0x58, 0x20, 0xcf, 0x28, 0xc1, 0xe8, 0xe4, 0x7a, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, + 0x58, 0x20, 0xcf, 0x28, 0xc1, 0xe8, 0xe4, 0x7d, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, - 0x0c, 0x51, 0xda, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x6e, 0x99, + 0x0c, 0x51, 0x86, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x6e, 0x99, 0x79, 0xc5, 0xc9, 0x19, 0x99, 0x89, 0xfa, 0x69, 0x50, 0x86, 0x6e, 0x71, 0x4a, 0xb6, 0x7e, 0x05, - 0xdc, 0x6b, 0x49, 0x6c, 0x60, 0x97, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x3b, 0xd9, 0x9d, - 0xbe, 0xfd, 0x00, 0x00, 0x00, + 0xc2, 0x9b, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0xf7, 0x19, 0x03, 0x02, 0x00, 0x00, + 0xff, 0xff, 0xcd, 0xcc, 0xfe, 0xa6, 0x03, 0x01, 0x00, 0x00, } func (this *InactiveAddr) Equal(that interface{}) bool {