From 9dc228644e214c75c755a1764c0f22ad64a8be20 Mon Sep 17 00:00:00 2001 From: orisalden Date: Tue, 20 Aug 2024 14:33:02 +0800 Subject: [PATCH 01/12] fix: impl legacy msg to support eip712 --- proto/lorenzo/btcstaking/v1/tx.proto | 4 +- x/btcstaking/module.go | 2 +- x/btcstaking/types/codec.go | 11 ++- x/btcstaking/types/msg.go | 17 ++++- x/btcstaking/types/tx.pb.go | 110 ++++++++++++++------------- 5 files changed, 86 insertions(+), 58 deletions(-) diff --git a/proto/lorenzo/btcstaking/v1/tx.proto b/proto/lorenzo/btcstaking/v1/tx.proto index f9379c2..cbd8395 100644 --- a/proto/lorenzo/btcstaking/v1/tx.proto +++ b/proto/lorenzo/btcstaking/v1/tx.proto @@ -4,8 +4,8 @@ package lorenzo.btcstaking.v1; import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; +import "amino/amino.proto"; import "lorenzo/btcstaking/v1/params.proto"; -// import "cosmos/staking/v1beta1/staking.proto"; option go_package = "github.com/Lorenzo-Protocol/lorenzo/v3/x/btcstaking/types"; @@ -77,6 +77,8 @@ message MsgCreateBTCBStakingResponse {} message MsgBurnRequest { option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "btcstaking/MsgBurnRequest"; + string signer = 1; string btc_target_address = 2; string amount = 3 [ diff --git a/x/btcstaking/module.go b/x/btcstaking/module.go index 0672574..2f6ab86 100644 --- a/x/btcstaking/module.go +++ b/x/btcstaking/module.go @@ -52,7 +52,7 @@ func (AppModuleBasic) Name() string { // RegisterLegacyAminoCodec registers the amino codec for the module, which is used to marshal and unmarshal structs to/from []byte in order to persist them in the module's KVStore func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - types.RegisterCodec(cdc) + types.RegisterLegacyAminoCodec(cdc) } // RegisterInterfaces registers a module's interface types and their concrete implementations as proto.Message diff --git a/x/btcstaking/types/codec.go b/x/btcstaking/types/codec.go index a114502..71bb9b8 100644 --- a/x/btcstaking/types/codec.go +++ b/x/btcstaking/types/codec.go @@ -7,7 +7,16 @@ import ( "github.com/cosmos/cosmos-sdk/types/msgservice" ) -func RegisterCodec(cdc *codec.LegacyAmino) { +var ( + amino = codec.NewLegacyAmino() + AminoCdc = codec.NewAminoCodec(amino) +) + +func init() { + RegisterLegacyAminoCodec(amino) +} + +func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgCreateBTCStaking{}, "btcstaking/MsgCreateBTCStaking", nil) cdc.RegisterConcrete(&MsgBurnRequest{}, "btcstaking/MsgBurnRequest", nil) } diff --git a/x/btcstaking/types/msg.go b/x/btcstaking/types/msg.go index 64da0c4..767ed4b 100644 --- a/x/btcstaking/types/msg.go +++ b/x/btcstaking/types/msg.go @@ -1,7 +1,7 @@ package types import ( - fmt "fmt" + "fmt" "strings" errorsmod "cosmossdk.io/errors" @@ -10,6 +10,7 @@ import ( "github.com/btcsuite/btcd/chaincfg" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" ) // ensure that these message types implement the sdk.Msg interface @@ -22,6 +23,10 @@ var ( _ sdk.Msg = &MsgCreateBTCBStaking{} ) +var ( + _ legacytx.LegacyMsg = &MsgBurnRequest{} +) + func (m *MsgCreateBTCStaking) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Signer); err != nil { return errorsmod.Wrap(err, "invalid signer address") @@ -83,6 +88,16 @@ func (m *MsgBurnRequest) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{signer} } +// GetSignBytes implements LegacyMsg. +// Should be deprecated but to be in favour of EIP712 we need to keep it for now. +func (m *MsgBurnRequest) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgBurnRequest) Route() string { return "" } + +func (m *MsgBurnRequest) Type() string { return "btcstaking/MsgBurnRequest" } + func NewMsgBurnRequest(signer, btcTargetAddress string, amount math.Int) MsgBurnRequest { return MsgBurnRequest{ Signer: signer, diff --git a/x/btcstaking/types/tx.pb.go b/x/btcstaking/types/tx.pb.go index 768f97e..61d7c88 100644 --- a/x/btcstaking/types/tx.pb.go +++ b/x/btcstaking/types/tx.pb.go @@ -10,6 +10,7 @@ import ( _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -731,61 +732,62 @@ func init() { func init() { proto.RegisterFile("lorenzo/btcstaking/v1/tx.proto", fileDescriptor_6be51bab5db52b8e) } var fileDescriptor_6be51bab5db52b8e = []byte{ - // 855 bytes of a gzipped FileDescriptorProto + // 876 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0xc7, 0xb3, 0xc4, 0x71, 0xeb, 0xe7, 0x92, 0x36, 0x43, 0x48, 0x9d, 0x2d, 0xdd, 0x44, 0x96, - 0x1a, 0x45, 0x01, 0xef, 0xb6, 0x8e, 0x04, 0xa2, 0x1c, 0x50, 0xd6, 0x02, 0x35, 0x02, 0x4b, 0xd5, - 0xc6, 0x15, 0x12, 0x17, 0x6b, 0xbd, 0x3b, 0x59, 0xaf, 0x92, 0xdd, 0x31, 0x33, 0x63, 0x63, 0x73, - 0x01, 0xf5, 0xc6, 0x8d, 0x13, 0x17, 0xc4, 0x27, 0xe0, 0xd2, 0x03, 0x07, 0x3e, 0x42, 0x8f, 0x15, - 0x27, 0xd4, 0x43, 0x84, 0x92, 0x43, 0xbf, 0x06, 0xda, 0x99, 0xd9, 0xf5, 0x3a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, 0xfb, 0x3c, 0x40, 0x0c, 0xee, 0x5d, 0xb9, 0x7e, + 0xd6, 0x27, 0xd4, 0x1c, 0x73, 0xe0, 0xcd, 0xcd, 0xe9, 0x63, 0xd3, 0xda, 0xa8, 0x0b, 0x0b, 0x57, + 0x2f, 0x86, 0xf7, 0xa6, 0x48, 0x94, 0x06, 0x9b, 0x5b, 0xff, 0x22, 0x38, 0x2b, 0xfb, 0x1c, 0x0a, + 0xc9, 0x21, 0x40, 0x8f, 0x26, 0x6f, 0xce, 0x1d, 0x1b, 0x73, 0xf5, 0xa6, 0x30, 0x9d, 0xd6, 0x83, + 0x72, 0xfe, 0x1c, 0x5d, 0x93, 0x3d, 0x17, 0x66, 0x6e, 0x4c, 0x15, 0x96, 0x15, 0x39, 0x86, 0xf9, + 0x4b, 0x53, 0xbf, 0x36, 0x39, 0xc1, 0x68, 0xa4, 0xf9, 0x78, 0xda, 0xc8, 0xac, 0xda, 0x21, 0xdc, + 0x19, 0x19, 0xe6, 0x6b, 0x5a, 0x91, 0x8f, 0x33, 0xad, 0xe9, 0xe2, 0xd2, 0x3a, 0xe6, 0xdc, 0xf7, + 0x17, 0x27, 0xeb, 0x86, 0x73, 0xf0, 0xf2, 0xac, 0x66, 0xbc, 0x3a, 0xab, 0x19, 0x7f, 0x9f, 0xd5, + 0x8c, 0x9f, 0xce, 0x6b, 0x33, 0xaf, 0xce, 0x6b, 0x33, 0x7f, 0x9d, 0xd7, 0x66, 0xbe, 0xfa, 0x68, + 0xca, 0x3f, 0xfb, 0x7e, 0xfe, 0x5d, 0x43, 0x5e, 0x96, 0xad, 0xa2, 0x7c, 0xd1, 0xd8, 0xfa, 0x27, + 0x00, 0x00, 0xff, 0xff, 0x76, 0xb1, 0x0f, 0x6c, 0x22, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. From eb56bbfed56c3def598335dcf9543c6217cd8acd Mon Sep 17 00:00:00 2001 From: orisalden Date: Tue, 20 Aug 2024 16:16:36 +0800 Subject: [PATCH 02/12] proto: add amino types notation --- proto/lorenzo/agent/v1/tx.proto | 6 +- proto/lorenzo/bnblightclient/v1/tx.proto | 4 + proto/lorenzo/btclightclient/v1/tx.proto | 4 + proto/lorenzo/btcstaking/v1/tx.proto | 6 +- proto/lorenzo/fee/v1/tx.proto | 2 + proto/lorenzo/plan/v1/tx.proto | 13 ++- proto/lorenzo/token/v1/tx.proto | 13 +++ x/agent/types/tx.pb.go | 80 ++++++------- x/bnblightclient/types/tx.pb.go | 69 ++++++------ x/btclightclient/types/tx.pb.go | 69 ++++++------ x/btcstaking/types/tx.pb.go | 114 +++++++++---------- x/fee/types/tx.pb.go | 36 +++--- x/plan/types/tx.pb.go | 136 ++++++++++++----------- x/token/types/tx.pb.go | 99 +++++++++-------- 14 files changed, 357 insertions(+), 294 deletions(-) diff --git a/proto/lorenzo/agent/v1/tx.proto b/proto/lorenzo/agent/v1/tx.proto index 834dba5..3f330d4 100644 --- a/proto/lorenzo/agent/v1/tx.proto +++ b/proto/lorenzo/agent/v1/tx.proto @@ -4,7 +4,7 @@ package lorenzo.agent.v1; import "cosmos_proto/cosmos.proto"; import "cosmos/msg/v1/msg.proto"; import "gogoproto/gogo.proto"; - +import "amino/amino.proto"; import "lorenzo/agent/v1/params.proto"; option go_package = "github.com/Lorenzo-Protocol/lorenzo/v3/x/agent/types"; @@ -28,6 +28,7 @@ service Msg { message MsgUpdateParams { option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "lorenzo/agent/MsgUpdateParams"; // authority is the address of the governance account. // just FYI: cosmos.AddressString marks that this field should use type alias @@ -45,6 +46,7 @@ message MsgUpdateParamsResponse {} // MsgUpdateParams defines a message for add a agent. message MsgAddAgent { option (cosmos.msg.v1.signer) = "sender"; + option (amino.name) = "lorenzo/agent/MsgAddAgent"; // agent name,required string name = 1; @@ -69,6 +71,7 @@ message MsgAddAgentResponse { // MsgEditAgent defines a message for editting the agent. message MsgEditAgent { option (cosmos.msg.v1.signer) = "sender"; + option (amino.name) = "lorenzo/agent/MsgEditAgent"; // id is the unique identifier of the agent uint64 id = 1; @@ -88,6 +91,7 @@ message MsgEditAgentResponse {} // MsgRemoveAgent defines a message for removing the agent. message MsgRemoveAgent { option (cosmos.msg.v1.signer) = "sender"; + option (amino.name) = "lorenzo/agent/MsgRemoveAgent"; // id is the unique identifier of the agent uint64 id = 1; diff --git a/proto/lorenzo/bnblightclient/v1/tx.proto b/proto/lorenzo/bnblightclient/v1/tx.proto index d67f1b8..4923dd7 100644 --- a/proto/lorenzo/bnblightclient/v1/tx.proto +++ b/proto/lorenzo/bnblightclient/v1/tx.proto @@ -4,6 +4,7 @@ package lorenzo.bnblightclient.v1; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/msg/v1/msg.proto"; +import "amino/amino.proto"; import "lorenzo/bnblightclient/v1/client.proto"; import "lorenzo/bnblightclient/v1/params.proto"; @@ -27,6 +28,7 @@ service Msg { // MsgUploadHeaders defines the message for multiple incoming header bytes message MsgUploadHeaders { option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "lorenzo/bnblightclient/MsgUploadHeaders"; repeated lorenzo.bnblightclient.v1.Header headers = 1; string signer = 2 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; @@ -37,6 +39,7 @@ message MsgUploadHeadersResponse {} // MsgUpdateHeader defines the message for updating bnb light client header. message MsgUpdateHeader { option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "lorenzo/bnblightclient/MsgUpdateHeader"; lorenzo.bnblightclient.v1.Header header = 1; bool delete_subsequent_headers = 2; @@ -49,6 +52,7 @@ message MsgUpdateHeaderResponse {} // MsgUpdateParams defines a message for updating fee module parameters. message MsgUpdateParams { option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "lorenzo/bnblightclient/MsgUpdateParams"; // authority is the address of the governance account. // just FYI: cosmos.AddressString marks that this field should use type alias diff --git a/proto/lorenzo/btclightclient/v1/tx.proto b/proto/lorenzo/btclightclient/v1/tx.proto index db91f52..e2dc38f 100644 --- a/proto/lorenzo/btclightclient/v1/tx.proto +++ b/proto/lorenzo/btclightclient/v1/tx.proto @@ -4,6 +4,7 @@ package lorenzo.btclightclient.v1; import "gogoproto/gogo.proto"; import "cosmos/msg/v1/msg.proto"; import "lorenzo/btclightclient/v1/params.proto"; +import "amino/amino.proto"; import "cosmos_proto/cosmos.proto"; option go_package = "github.com/Lorenzo-Protocol/lorenzo/v3/x/btclightclient/types"; @@ -25,6 +26,7 @@ service Msg { // MsgInsertHeaders defines the message for multiple incoming header bytes message MsgInsertHeaders { option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "lorenzo/btclightclient/MsgInsertHeaders"; string signer = 1; repeated bytes headers = 2 @@ -39,6 +41,7 @@ message MsgInsertHeadersResponse {} // parameters. message MsgUpdateParams { option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "lorenzo/btclightclient/MsgUpdateParams"; // authority is the address of the governance account. // just FYI: cosmos.AddressString marks that this field should use type alias @@ -57,6 +60,7 @@ message MsgUpdateParamsResponse {} message MsgUpdateFeeRate { option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "lorenzo/btclightclient/MsgUpdateFeeRate"; string signer = 1; // sat/vbyte * 1000 diff --git a/proto/lorenzo/btcstaking/v1/tx.proto b/proto/lorenzo/btcstaking/v1/tx.proto index cbd8395..fef1286 100644 --- a/proto/lorenzo/btcstaking/v1/tx.proto +++ b/proto/lorenzo/btcstaking/v1/tx.proto @@ -66,6 +66,7 @@ message MsgCreateBTCStakingResponse {} message MsgCreateBTCBStaking { option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "lorenzo/btcstaking/MsgCreateBTCBStaking"; string signer = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; uint64 number = 2; @@ -77,7 +78,7 @@ message MsgCreateBTCBStakingResponse {} message MsgBurnRequest { option (cosmos.msg.v1.signer) = "signer"; - option (amino.name) = "btcstaking/MsgBurnRequest"; + option (amino.name) = "lorenzo/btcstaking/MsgBurnRequest"; string signer = 1; string btc_target_address = 2; @@ -91,6 +92,7 @@ message MsgBurnResponse {} message MsgAddReceiver { option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "lorenzo/btcstaking/MsgAddReceiver"; string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; @@ -100,6 +102,7 @@ message MsgAddReceiver { message MsgAddReceiverResponse {} message MsgRemoveReceiver { option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "lorenzo/btcstaking/MsgRemoveReceiver"; string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; @@ -108,6 +111,7 @@ message MsgRemoveReceiver { message MsgRemoveReceiverResponse {} message MsgUpdateParams { option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "lorenzo/btcstaking/MsgUpdateParams"; string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; diff --git a/proto/lorenzo/fee/v1/tx.proto b/proto/lorenzo/fee/v1/tx.proto index f292712..78d5e33 100644 --- a/proto/lorenzo/fee/v1/tx.proto +++ b/proto/lorenzo/fee/v1/tx.proto @@ -4,6 +4,7 @@ package lorenzo.fee.v1; import "gogoproto/gogo.proto"; import "cosmos/msg/v1/msg.proto"; import "lorenzo/fee/v1/params.proto"; +import "amino/amino.proto"; import "cosmos_proto/cosmos.proto"; option go_package = "github.com/Lorenzo-Protocol/lorenzo/v3/x/fee/types"; @@ -19,6 +20,7 @@ service Msg { // MsgUpdateParams defines a message for updating fee module parameters. message MsgUpdateParams { option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "lorenzo/fee/MsgUpdateParams"; // authority is the address of the governance account. // just FYI: cosmos.AddressString marks that this field should use type alias diff --git a/proto/lorenzo/plan/v1/tx.proto b/proto/lorenzo/plan/v1/tx.proto index 49c8f80..a4f1bbe 100644 --- a/proto/lorenzo/plan/v1/tx.proto +++ b/proto/lorenzo/plan/v1/tx.proto @@ -4,7 +4,7 @@ package lorenzo.plan.v1; import "cosmos_proto/cosmos.proto"; import "cosmos/msg/v1/msg.proto"; import "gogoproto/gogo.proto"; - +import "amino/amino.proto"; import "lorenzo/plan/v1/params.proto"; import "lorenzo/plan/v1/plan.proto"; @@ -46,7 +46,7 @@ service Msg { // MsgUpdateParams is the request type for the Msg/UpdateParams RPC method. message MsgUpdateParams { option (cosmos.msg.v1.signer) = "authority"; - + option (amino.name) = "lorenzo/plan/MsgUpdateParams"; // authority is the address of the governance account. // just FYI: cosmos.AddressString marks that this field should use type alias // for AddressString instead of string, but the functionality is not yet @@ -64,7 +64,7 @@ message MsgUpdateParamsResponse {} // MsgUpgradePlan is the request type for the Msg/UpgradePlan RPC method. message MsgUpgradePlan { option (cosmos.msg.v1.signer) = "authority"; - + option (amino.name) = "lorenzo/plan/MsgUpgradePlan"; // implementation is the new yat logic contract address string implementation = 1; @@ -81,6 +81,7 @@ message MsgUpgradePlanResponse {} // MsgCreatePlan is the request type for the Msg/CreatePlan RPC method. message MsgCreatePlan { option (cosmos.msg.v1.signer) = "sender"; + option (amino.name) = "lorenzo/plan/MsgCreatePlan"; // name is the name of the plan string name = 1; @@ -113,6 +114,7 @@ message MsgCreatePlanResponse { // MsgSetMerkleRoot is the request type for the Msg/SetMerkleRoot RPC method. message MsgSetMerkleRoot { option (cosmos.msg.v1.signer) = "sender"; + option (amino.name) = "lorenzo/plan/MsgSetMerkleRoot"; // plan_id is the unique identifier of the plan uint64 plan_id = 1; @@ -137,6 +139,7 @@ message MsgSetMerkleRootResponse {} // MsgClaims is the request type for the Msg/Claims RPC method. message MsgClaims { option (cosmos.msg.v1.signer) = "sender"; + option (amino.name) = "lorenzo/plan/MsgClaims"; // plan_id is the unique identifier of the plan uint64 plan_id = 1; @@ -170,6 +173,7 @@ message MsgClaimsResponse {} // method. message MsgUpdatePlanStatus { option (cosmos.msg.v1.signer) = "sender"; + option (amino.name) = "lorenzo/plan/MsgUpdatePlanStatus"; // plan_id is the unique identifier of the plan uint64 plan_id = 1; @@ -188,6 +192,7 @@ message MsgUpdatePlanStatusResponse {} // MsgCreateYAT is the request type for the Msg/CreateYAT RPC method. message MsgCreateYAT { option (cosmos.msg.v1.signer) = "sender"; + option (amino.name) = "lorenzo/plan/MsgCreateYAT"; // name is the name of the yat contract string name = 1; @@ -208,6 +213,7 @@ message MsgCreateYATResponse { // MsgSetMinter is the request type for the Msg/SetMinter RPC method. message MsgSetMinter { option (cosmos.msg.v1.signer) = "sender"; + option (amino.name) = "lorenzo/plan/MsgSetMinter"; // minter is the address of the minter string minter = 1; @@ -225,6 +231,7 @@ message MsgSetMinterResponse {} // MsgRemoveMinter is the request type for the Msg/RemoveMinter RPC method. message MsgRemoveMinter { option (cosmos.msg.v1.signer) = "sender"; + option (amino.name) = "lorenzo/plan/MsgRemoveMinter"; // minter is the address of the minter string minter = 1; diff --git a/proto/lorenzo/token/v1/tx.proto b/proto/lorenzo/token/v1/tx.proto index 39a6789..1b6096b 100644 --- a/proto/lorenzo/token/v1/tx.proto +++ b/proto/lorenzo/token/v1/tx.proto @@ -7,6 +7,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/bank/v1beta1/bank.proto"; +import "amino/amino.proto"; import "lorenzo/token/v1/genesis.proto"; option go_package = "github.com/Lorenzo-Protocol/lorenzo/v3/x/token/types"; @@ -31,6 +32,8 @@ service Msg { // NOTE: this is a governance message. message MsgRegisterCoin { option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "lorenzo/token/MsgRegisterCoin"; + // authority is the address that can update the parameters string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; // metadata slice of coins @@ -44,6 +47,8 @@ message MsgRegisterCoinResponse {} // NOTE: this is a governance message. message MsgRegisterERC20 { option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "lorenzo/token/MsgRegisterERC20"; + // authority is the address that can update the parameters string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; // metadata slice of erc20 token contract addresses @@ -56,6 +61,8 @@ message MsgRegisterERC20Response {} // NOTE: this is a governance message. message MsgToggleConversion { option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "lorenzo/token/MsgToggleConversion"; + // authority is the address that can update the parameters string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; // token is in format of either coin base denom or erc20 contract address @@ -66,6 +73,8 @@ message MsgToggleConversionResponse {} // MsgConvertCoin converts a coin to an ERC20 token message MsgConvertCoin { + option (amino.name) = "lorenzo/token/MsgConvertCoin"; + // coin to be converted cosmos.base.v1beta1.Coin coin = 1 [ (gogoproto.nullable) = false ]; // receiver of the erc20 token, evm hex format address. @@ -78,6 +87,8 @@ message MsgConvertCoinResponse {} // MsgConvertERC20 converts an ERC20 token to a coin message MsgConvertERC20 { + option (amino.name) = "lorenzo/token/MsgConvertERC20"; + // contract address of the ERC20 token string contract_address = 1; // amount of tokens to be converted @@ -96,6 +107,8 @@ message MsgConvertERC20Response {} // MsgUpdateParams updates the convert module parameters message MsgUpdateParams { option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "lorenzo/token/MsgUpdateParams"; + // authority is the address that can update the parameters string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; // params are the new parameters diff --git a/x/agent/types/tx.pb.go b/x/agent/types/tx.pb.go index 55c8f1b..2a6689e 100644 --- a/x/agent/types/tx.pb.go +++ b/x/agent/types/tx.pb.go @@ -8,6 +8,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -486,44 +487,47 @@ func init() { func init() { proto.RegisterFile("lorenzo/agent/v1/tx.proto", fileDescriptor_b6044ef1866821d3) } var fileDescriptor_b6044ef1866821d3 = []byte{ - // 589 bytes of a gzipped F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34, 0x19, - 0xaa, 0x26, 0x75, 0xb4, 0x37, 0x91, 0xe8, 0x61, 0x3f, 0xd8, 0x4c, 0x26, 0x1d, 0x6b, 0xc9, 0xea, - 0x9a, 0x1e, 0x6b, 0xe7, 0xf1, 0xfe, 0xe2, 0x17, 0x1e, 0x66, 0xc3, 0x52, 0xb8, 0xbc, 0x8e, 0xff, - 0x05, 0x00, 0x00, 0xff, 0xff, 0x81, 0x56, 0xd8, 0x40, 0x54, 0x05, 0x00, 0x00, + // 635 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xbf, 0x6f, 0xd3, 0x40, + 0x14, 0x8e, 0x9d, 0x34, 0x34, 0x97, 0xaa, 0x94, 0x6b, 0x69, 0x1d, 0x8b, 0x9a, 0x60, 0xa9, 0xa8, + 0x8d, 0xa8, 0xdd, 0x1f, 0xa8, 0x43, 0xb7, 0x56, 0x62, 0x23, 0xa8, 0x72, 0xc5, 0x00, 0x42, 0x8a, + 0x1c, 0xfb, 0x74, 0xb1, 0x14, 0xfb, 0x2c, 0xdf, 0x25, 0x6a, 0x99, 0x0a, 0x23, 0x13, 0x7f, 0x4a, + 0x24, 0xf8, 0x13, 0x18, 0x3a, 0x56, 0x4c, 0x4c, 0x08, 0x25, 0x43, 0x16, 0xfe, 0x08, 0xe4, 0xf3, + 0x8f, 0xb8, 0x4e, 0x68, 0xba, 0x58, 0xf7, 0xde, 0xf7, 0xbd, 0x77, 0xdf, 0xf7, 0xee, 0xce, 0xa0, + 0xd6, 0x25, 0x01, 0xf2, 0x3e, 0x12, 0xdd, 0xc4, 0xc8, 0x63, 0x7a, 0x7f, 0x5f, 0x67, 0x17, 0x9a, + 0x1f, 0x10, 0x46, 0xe0, 0x4a, 0x0c, 0x69, 0x1c, 0xd2, 0xfa, 0xfb, 0x72, 0xcd, 0x22, 0xd4, 0x25, + 0xb4, 0xc5, 0x71, 0x3d, 0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 0x99, 0x65, 0x24, 0x58, 0xec, + 0x16, 0xd6, 0xc0, 0x22, 0x62, 0x1d, 0xce, 0x94, 0x8a, 0x9c, 0xf6, 0x00, 0xb1, 0x4e, 0x88, 0xc2, + 0x3a, 0xa8, 0xda, 0x88, 0x5a, 0x81, 0xe3, 0x33, 0x87, 0x78, 0x52, 0x89, 0xa3, 0xd9, 0x14, 0x5c, + 0x01, 0xc5, 0x5e, 0xd0, 0x95, 0x16, 0x38, 0x12, 0x2e, 0xe1, 0x1e, 0x28, 0x53, 0xe4, 0xd9, 0x28, + 0x90, 0xca, 0x73, 0x06, 0x1c, 0xf3, 0x8e, 0x77, 0xc2, 0x29, 0xc5, 0x41, 0x38, 0xa2, 0xda, 0xd4, + 0x88, 0x12, 0xcf, 0xea, 0x16, 0x58, 0xcd, 0x84, 0xc9, 0x68, 0xe0, 0x32, 0x10, 0x1d, 0x9b, 0x0f, + 0xa2, 0x64, 0x88, 0x8e, 0xad, 0xfe, 0x10, 0xc0, 0x52, 0x93, 0xe2, 0x57, 0xb6, 0xc3, 0xa2, 0x59, + 0xe5, 0x08, 0xe9, 0xec, 0xc4, 0xcc, 0xec, 0x72, 0x66, 0x8b, 0xff, 0x35, 0x5b, 0x9a, 0x65, 0x76, + 0xe1, 0x9e, 0x66, 0x1b, 0x39, 0xb3, 0xf2, 0x94, 0xd9, 0x54, 0xb5, 0xba, 0x0e, 0xd6, 0xb2, 0x71, + 0x7a, 0x13, 0xae, 0x04, 0xb0, 0xdc, 0xa4, 0xd8, 0x40, 0x2e, 0xe9, 0xa3, 0xd9, 0x06, 0x27, 0xc2, + 0xc4, 0x7b, 0x0a, 0x7b, 0x91, 0x13, 0xf6, 0x64, 0x4a, 0x58, 0x66, 0x3f, 0x55, 0x02, 0xeb, 0xb7, + 0x33, 0x89, 0xb8, 0x83, 0xbf, 0x22, 0x28, 0x36, 0x29, 0x86, 0x1f, 0xc0, 0xd2, 0xad, 0xb7, 0xf7, + 0x6c, 0xfa, 0xcd, 0xe4, 0x6e, 0xba, 0xbc, 0x33, 0x97, 0x92, 0x9e, 0xf8, 0x19, 0x58, 0x4c, 0x1f, + 0xc2, 0xe6, 0xcc, 0xb2, 0x04, 0x96, 0xb7, 0xee, 0x84, 0xd3, 0x8e, 0xe7, 0xa0, 0x32, 0xb9, 0x2f, + 0xca, 0xcc, 0x9a, 0x14, 0x97, 0x9f, 0xdf, 0x8d, 0xa7, 0x4d, 0xdf, 0x81, 0x6a, 0xf6, 0x94, 0xea, + 0x33, 0xcb, 0x32, 0x0c, 0x79, 0x7b, 0x1e, 0x23, 0x69, 0x2d, 0x2f, 0x5c, 0x8d, 0x07, 0x0d, 0xe1, + 0xf4, 0xcd, 0xf5, 0x50, 0x11, 0x6e, 0x86, 0x8a, 0xf0, 0x67, 0xa8, 0x08, 0x5f, 0x47, 0x4a, 0xe1, + 0x66, 0xa4, 0x14, 0x7e, 0x8d, 0x94, 0xc2, 0xfb, 0x97, 0xd8, 0x61, 0x9d, 0x5e, 0x5b, 0xb3, 0x88, + 0xab, 0xbf, 0x8e, 0x9a, 0xee, 0x9e, 0x85, 0xbf, 0x46, 0x8b, 0x74, 0xf5, 0xe4, 0x70, 0xfb, 0x87, + 0xfa, 0x45, 0x7c, 0xc2, 0xec, 0xd2, 0x47, 0xb4, 0x5d, 0xe6, 0x7f, 0xcf, 0xc3, 0x7f, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x2c, 0xd3, 0x87, 0x23, 0xe8, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/bnblightclient/types/tx.pb.go b/x/bnblightclient/types/tx.pb.go index d3ac0ad..df1e1f5 100644 --- a/x/bnblightclient/types/tx.pb.go +++ b/x/bnblightclient/types/tx.pb.go @@ -8,6 +8,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -331,39 +332,41 @@ func init() { } var fileDescriptor_7077a7889346cb20 = []byte{ - // 507 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x8b, 0xd3, 0x40, - 0x1c, 0xcd, 0x6c, 0xb5, 0xba, 0xb3, 0xfe, 0x63, 0x58, 0x68, 0x9a, 0x43, 0xac, 0x3d, 0xc8, 0x52, - 0xd9, 0xc4, 0x6d, 0x41, 0xb0, 0x22, 0x62, 0x4f, 0x7b, 0x70, 0x61, 0xc9, 0x22, 0x82, 0x97, 0x92, - 0x34, 0xc3, 0x34, 0x90, 0x64, 0x62, 0x7e, 0xd3, 0xb2, 0xeb, 0x49, 0xfc, 0x00, 0xe2, 0xd9, 0x4f, - 0xb1, 0x07, 0xbf, 0x83, 0x7b, 0x5c, 0x3c, 0x79, 0x12, 0x6d, 0x0f, 0xfb, 0x35, 0x24, 0x99, 0x49, - 0x6b, 0x2a, 0xdb, 0xd6, 0xbd, 0x65, 0x78, 0xef, 0xcd, 0x7b, 0x6f, 0x66, 0xf2, 0xc3, 0xcd, 0x90, - 0xa7, 0x34, 0x7e, 0xcf, 0x6d, 0x2f, 0xf6, 0xc2, 0x80, 0x0d, 0xc5, 0x20, 0x0c, 0x68, 0x2c, 0xec, - 0xf1, 0x9e, 0x2d, 0x8e, 0xad, 0x24, 0xe5, 0x82, 0x93, 0xba, 0xe2, 0x58, 0x65, 0x8e, 0x35, 0xde, - 0x33, 0xb6, 0x19, 0x67, 0x3c, 0x67, 0xd9, 0xd9, 0x97, 0x14, 0x18, 0xf5, 0x01, 0x87, 0x88, 0x43, - 0x5f, 0x02, 0x72, 0xa1, 0xa0, 0x9a, 0x5c, 0xd9, 0x11, 0xb0, 0xcc, 0x23, 0x02, 0xa6, 0x80, 0x87, - 0x97, 0x07, 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2a, 0x6f, 0x3b, 0xaf, 0xb3, 0xfc, 0x70, - 0xa4, 0x55, 0xef, 0xda, 0xd9, 0xcf, 0xfb, 0x9a, 0xa3, 0x64, 0xdd, 0x3b, 0x59, 0xe8, 0xf9, 0x86, - 0xa5, 0xdc, 0x52, 0x50, 0xe4, 0x6e, 0xff, 0xde, 0xc0, 0x95, 0x03, 0x60, 0x04, 0xf0, 0xed, 0xf2, - 0x6b, 0x7a, 0xb4, 0xc4, 0x74, 0xf1, 0xaa, 0x8d, 0xce, 0x7f, 0x90, 0x67, 0x47, 0xa6, 0x91, 0x18, - 0xdf, 0x2a, 0x1d, 0x58, 0x6b, 0xd5, 0x36, 0x73, 0xae, 0xd1, 0x5e, 0x9f, 0x5b, 0x38, 0xce, 0xfd, - 0xd4, 0x2b, 0x5c, 0xcb, 0x4f, 0x72, 0xd7, 0xf3, 0x2b, 0x3f, 0x0a, 0xe3, 0xfa, 0x87, 0x8b, 0xd3, - 0x16, 0xea, 0xbd, 0x39, 0x9b, 0x98, 0xe8, 0x7c, 0x62, 0xa2, 0x5f, 0x13, 0x13, 0x7d, 0x9e, 0x9a, - 0xda, 0xf9, 0xd4, 0xd4, 0x7e, 0x4c, 0x4d, 0xed, 0xed, 0x73, 0x16, 0x88, 0xe1, 0xc8, 0xb3, 0x06, - 0x3c, 0xb2, 0x5f, 0xc9, 0xed, 0x77, 0x0f, 0xb3, 0x3f, 0x7c, 0xc0, 0x43, 0xbb, 0x98, 0x05, 0xe3, - 0x8e, 0x7d, 0xbc, 0x38, 0x10, 0xc4, 0x49, 0x42, 0xc1, 0xab, 0xe6, 0xd3, 0xa0, 0xf3, 0x27, 0x00, - 0x00, 0xff, 0xff, 0xbe, 0xba, 0x60, 0x78, 0xe8, 0x04, 0x00, 0x00, + // 541 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x31, 0x6f, 0xd3, 0x40, + 0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f, 0xef, 0x23, 0x1f, + 0xd5, 0xbf, 0x76, 0xfe, 0xf3, 0x81, 0x64, 0x89, 0xb2, 0xde, 0x41, 0xa2, 0x2f, 0x6f, 0x58, 0x49, + 0x22, 0x6f, 0x54, 0x90, 0xc8, 0x43, 0x99, 0xc4, 0xce, 0xef, 0x0d, 0x58, 0x3b, 0xa2, 0x58, 0xa6, + 0xf0, 0x4e, 0x71, 0x9f, 0x1f, 0xaf, 0xe1, 0x57, 0x5e, 0x20, 0xb5, 0x7b, 0x05, 0xf0, 0xd2, 0x5d, + 0x49, 0x0e, 0xe1, 0xed, 0x82, 0xb7, 0xed, 0xcb, 0xda, 0xe4, 0x58, 0xb5, 0x53, 0x1d, 0x9b, 0x4d, + 0xcc, 0xe7, 0x89, 0xdd, 0xae, 0x34, 0x8f, 0x63, 0xab, 0xcd, 0x2b, 0xee, 0x8f, 0x7a, 0xfd, 0xc3, + 0x62, 0xda, 0x06, 0xfd, 0x37, 0xe7, 0x33, 0x0d, 0x5c, 0xcc, 0x34, 0xf0, 0x6b, 0xa6, 0x81, 0xcf, + 0x73, 0x4d, 0xba, 0x98, 0x6b, 0xd2, 0x8f, 0xb9, 0x26, 0xbd, 0x7d, 0x8e, 0x3d, 0x36, 0x1a, 0x3b, + 0xc6, 0x90, 0x04, 0xe6, 0x2b, 0xde, 0x7e, 0xf7, 0x38, 0x79, 0x63, 0x86, 0xc4, 0x37, 0xb3, 0xcb, + 0x9d, 0x74, 0xcd, 0xd3, 0xf2, 0x0d, 0xb3, 0xb3, 0x08, 0x51, 0xa7, 0x9e, 0xbe, 0x47, 0xdd, 0xbf, + 0x01, 0x00, 0x00, 0xff, 0xff, 0x6a, 0xf9, 0x7d, 0xdb, 0x7d, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/btclightclient/types/tx.pb.go b/x/btclightclient/types/tx.pb.go index fafe1c8..9c80847 100644 --- a/x/btclightclient/types/tx.pb.go +++ b/x/btclightclient/types/tx.pb.go @@ -9,6 +9,7 @@ import ( github_com_Lorenzo_Protocol_lorenzo_v3_types "github.com/Lorenzo-Protocol/lorenzo/v3/types" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -316,39 +317,41 @@ func init() { } var fileDescriptor_16c2a8a24fcd05e8 = []byte{ - // 503 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x51, 0x6b, 0xd3, 0x50, - 0x14, 0xce, 0xdd, 0x66, 0xe7, 0xee, 0x36, 0x95, 0x30, 0x5c, 0x9a, 0x87, 0xac, 0xe6, 0x41, 0x4a, - 0xc7, 0x12, 0xd6, 0x82, 0x0f, 0x13, 0x19, 0x46, 0x10, 0x05, 0x0b, 0x23, 0x2a, 0xa2, 0x2f, 0x23, - 0x6d, 0xcf, 0x6e, 0x03, 0x4d, 0x6e, 0xbc, 0xe7, 0xae, 0xac, 0x3e, 0x89, 0xbf, 0x40, 0x7c, 0xf4, - 0x57, 0xec, 0xc1, 0x1f, 0xb1, 0xc7, 0xe1, 0x93, 0xf8, 0x30, 0xa4, 0x15, 0xf6, 0x37, 0x24, 0xb9, - 0xe9, 0x66, 0xca, 0x3a, 0xeb, 0x4b, 0xc8, 0xe5, 0x7c, 0xe7, 0xfb, 0xbe, 0xf3, 0x1d, 0x0e, 0xb5, - 0x7b, 0x5c, 0x40, 0xfc, 0x81, 0xbb, 0x2d, 0xd9, 0xee, 0x85, 0xac, 0x9b, 0x7e, 0x21, 0x96, 0x6e, - 0x7f, 0xdb, 0x95, 0x47, 0x4e, 0x22, 0xb8, 0xe4, 0x7a, 0x39, 0xc7, 0x38, 0x45, 0x8c, 0xd3, 0xdf, - 0x36, 0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18, 0x33, 0xff, 0x12, 0xaa, 0xef, 0xd2, 0x92, - 0xca, 0xc9, 0x98, 0xab, 0x90, 0xea, 0x72, 0xfd, 0x9e, 0x33, 0x75, 0x35, 0x8e, 0x92, 0xf2, 0x16, - 0x4e, 0xce, 0x36, 0x34, 0x3f, 0x6f, 0xdb, 0xb9, 0x95, 0xba, 0xbe, 0x24, 0xb4, 0xcb, 0x74, 0x7d, - 0xc2, 0xdb, 0x85, 0x6f, 0x3f, 0xcb, 0x59, 0x95, 0x9e, 0x02, 0xf8, 0x81, 0x84, 0xa9, 0x39, 0x97, - 0xe9, 0xcd, 0x03, 0x80, 0x7d, 0x11, 0x48, 0xc8, 0x9c, 0x2d, 0xf8, 0x8b, 0x07, 0xaa, 0xe5, 0xaa, - 0x9c, 0x0a, 0x9c, 0x63, 0xbd, 0xfa, 0xef, 0x39, 0x3a, 0xdf, 0x44, 0xa6, 0x23, 0x5d, 0x2d, 0x2e, - 0x77, 0xf3, 0x9a, 0x21, 0x27, 0x53, 0x37, 0x1b, 0xff, 0x01, 0xbe, 0x18, 0x55, 0xd3, 0x63, 0xba, - 0x52, 0x58, 0x50, 0xed, 0x7a, 0x9a, 0xbf, 0xb1, 0x66, 0x7d, 0x76, 0xec, 0x58, 0x51, 0x7f, 0x4f, - 0x57, 0x8b, 0xc9, 0x6e, 0xce, 0x42, 0x92, 0x83, 0xff, 0x35, 0xe4, 0x95, 0xf9, 0x9a, 0x37, 0x3e, - 0x9e, 0x1f, 0xd7, 0x88, 0xf7, 0xe6, 0x64, 0x68, 0x91, 0xd3, 0xa1, 0x45, 0x7e, 0x0d, 0x2d, 0xf2, - 0x79, 0x64, 0x69, 0xa7, 0x23, 0x4b, 0xfb, 0x31, 0xb2, 0xb4, 0x77, 0x8f, 0x66, 0xbc, 0x8b, 0xa3, - 0xc9, 0xeb, 0xcd, 0x0e, 0xa5, 0x55, 0xca, 0xee, 0xb3, 0xf1, 0x27, 0x00, 0x00, 0xff, 0xff, 0x33, - 0x63, 0x68, 0x60, 0x52, 0x04, 0x00, 0x00, + // 537 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x41, 0x6b, 0x13, 0x41, + 0x18, 0xcd, 0xa6, 0x35, 0xb5, 0x63, 0x8b, 0xba, 0x14, 0xbb, 0xd9, 0xc3, 0x36, 0xee, 0xa1, 0x86, + 0x94, 0xee, 0xd2, 0x04, 0x14, 0x2b, 0x52, 0x5c, 0x41, 0x14, 0x0c, 0x94, 0x55, 0x11, 0xbd, 0x94, + 0x4d, 0x32, 0x9d, 0x2c, 0x64, 0x77, 0xd6, 0xf9, 0xa6, 0xa1, 0xf1, 0x20, 0xe2, 0xd1, 0x93, 0x3f, + 0x25, 0x07, 0xcf, 0xde, 0x84, 0x1e, 0x8b, 0x27, 0xf1, 0x50, 0x24, 0x11, 0xf2, 0x37, 0x64, 0x77, + 0x26, 0x6d, 0x77, 0x71, 0x6b, 0x7a, 0x19, 0x32, 0xdf, 0xbc, 0xf9, 0xde, 0xf7, 0xde, 0xcb, 0x2c, + 0x32, 0x7b, 0x94, 0xe1, 0xf0, 0x3d, 0xb5, 0x5b, 0xbc, 0xdd, 0xf3, 0x49, 0x37, 0x5e, 0x71, 0xc8, + 0xed, 0xfe, 0x96, 0xcd, 0x0f, 0xad, 0x88, 0x51, 0x4e, 0xd5, 0xb2, 0xc4, 0x58, 0x69, 0x8c, 0xd5, + 0xdf, 0xd2, 0x57, 0x08, 0x25, 0x34, 0x41, 0xd9, 0xf1, 0x2f, 0x71, 0x41, 0x5f, 0x6d, 0x53, 0x08, + 0x28, 0xd8, 0x01, 0x90, 0xb8, 0x51, 0x00, 0x44, 0x1e, 0xac, 0xe7, 0xb3, 0x45, 0x1e, 0xf3, 0x02, + 0x90, 0xb8, 0x9b, 0x5e, 0xe0, 0x87, 0xd4, 0x4e, 0x56, 0x59, 0x2a, 0x8b, 0x9e, 0x7b, 0x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f, 0x4e, 0xd6, 0x0a, 0xae, 0xbc, 0xb6, 0x7d, 0x3f, 0x56, 0x78, 0xd6, + 0x30, 0x16, 0xb9, 0x9e, 0x2f, 0xf2, 0xfc, 0xcc, 0x66, 0x19, 0xad, 0x66, 0x4a, 0xa7, 0x12, 0x3f, + 0x24, 0xf1, 0x89, 0xa3, 0x27, 0x18, 0xbb, 0x1e, 0xc7, 0xb9, 0xf1, 0x95, 0xd1, 0xd5, 0x7d, 0x8c, + 0xf7, 0x98, 0xc7, 0x71, 0x22, 0x62, 0xde, 0x5d, 0xd8, 0x17, 0x57, 0x2e, 0x63, 0x7f, 0x8a, 0x4b, + 0xda, 0x9f, 0xaa, 0x4d, 0x67, 0xab, 0xff, 0x29, 0xa2, 0xb9, 0x26, 0x10, 0x15, 0xd0, 0x72, 0xfa, + 0xff, 0xb5, 0x71, 0x81, 0x77, 0xd9, 0x30, 0xf5, 0xc6, 0x25, 0xc0, 0xa7, 0xb6, 0x14, 0xd4, 0x10, + 0x2d, 0xa5, 0x72, 0xaf, 0x5d, 0xdc, 0xe6, 0x3c, 0x56, 0xaf, 0xcf, 0x8e, 0x9d, 0x32, 0xaa, 0xef, + 0xd0, 0x72, 0x3a, 0x85, 0x8d, 0x59, 0x9a, 0x48, 0xf0, 0xff, 0x44, 0xfe, 0xd3, 0x5f, 0xfd, 0xca, + 0xc7, 0xc9, 0xb0, 0xa6, 0x38, 0xaf, 0x8f, 0x46, 0x86, 0x72, 0x3c, 0x32, 0x94, 0xdf, 0x23, 0x43, + 0xf9, 0x32, 0x36, 0x0a, 0xc7, 0x63, 0xa3, 0xf0, 0x73, 0x6c, 0x14, 0xde, 0x3e, 0x9c, 0xf1, 0x69, + 0x1e, 0x66, 0x63, 0x4e, 0xde, 0x6a, 0xab, 0x94, 0x7c, 0x22, 0x1a, 0x7f, 0x03, 0x00, 0x00, 0xff, + 0xff, 0x60, 0x2f, 0x92, 0x40, 0xe8, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/btcstaking/types/tx.pb.go b/x/btcstaking/types/tx.pb.go index 61d7c88..6b80084 100644 --- a/x/btcstaking/types/tx.pb.go +++ b/x/btcstaking/types/tx.pb.go @@ -732,62 +732,64 @@ func init() { func init() { proto.RegisterFile("lorenzo/btcstaking/v1/tx.proto", fileDescriptor_6be51bab5db52b8e) } var fileDescriptor_6be51bab5db52b8e = []byte{ - // 876 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0xc7, 0xb3, 0xc4, 0x71, 0xeb, 0xe7, 0x92, 0x36, 0x43, 0x48, 0xed, 0x2d, 0x75, 0x22, 0x4b, - 0x8d, 0x42, 0x20, 0xbb, 0x6d, 0x22, 0x81, 0x08, 0x07, 0x94, 0x8d, 0x40, 0x8d, 0x20, 0x52, 0xb5, - 0x71, 0x85, 0xc4, 0xc5, 0x1a, 0xef, 0x4e, 0xd6, 0xab, 0x64, 0x77, 0xcc, 0xcc, 0xd8, 0xd8, 0x5c, - 0x40, 0xbd, 0xc1, 0x89, 0x13, 0x17, 0xc4, 0x77, 0xc8, 0x81, 0x03, 0x1f, 0xa1, 0xdc, 0x2a, 0x4e, - 0xa8, 0x87, 0x08, 0x25, 0x87, 0x7c, 0x0d, 0xb4, 0x33, 0xb3, 0xeb, 0x75, 0x62, 0x27, 0x06, 0x2e, - 0xb6, 0xdf, 0xbc, 0x37, 0xef, 0xfd, 0xfe, 0x6f, 0xdf, 0x8c, 0x17, 0x6a, 0xc7, 0x94, 0x91, 0xf8, - 0x5b, 0x6a, 0xb7, 0x84, 0xc7, 0x05, 0x3e, 0x0a, 0xe3, 0xc0, 0xee, 0x3d, 0xb1, 0x45, 0xdf, 0xea, - 0x30, 0x2a, 0x28, 0x7a, 0x5b, 0xfb, 0xad, 0xa1, 0xdf, 0xea, 0x3d, 0x31, 0xef, 0x7b, 0x94, 0x47, - 0x94, 0xdb, 0x11, 0x97, 0xe1, 0x11, 0x0f, 0x54, 0xbc, 0x59, 0x55, 0x8e, 0xa6, 0xb4, 0x6c, 0x65, - 0x68, 0xd7, 0x62, 0x40, 0x03, 0xaa, 0xd6, 0x93, 0x5f, 0x7a, 0x75, 0x01, 0x47, 0x61, 0x4c, 0x6d, - 0xf9, 0xa9, 0x97, 0xea, 0xe3, 0x99, 0x3a, 0x98, 0xe1, 0x48, 0x27, 0xab, 0x7f, 0x07, 0xf3, 0x0d, - 0x86, 0x63, 0x8e, 0x3d, 0x11, 0xd2, 0xf8, 0x73, 0x32, 0x40, 0x8b, 0x30, 0x17, 0xc6, 0x3e, 0xe9, - 0x57, 0x8c, 0x15, 0x63, 0xed, 0x4d, 0x57, 0x19, 0xe8, 0x4b, 0x28, 0xb4, 0x31, 0x6f, 0x57, 0xde, - 0x58, 0x31, 0xd6, 0xee, 0x38, 0xbb, 0xaf, 0x4f, 0x97, 0x3f, 0x09, 0x42, 0xd1, 0xee, 0xb6, 0x2c, - 0x8f, 0x46, 0xf6, 0x17, 0xaa, 0xd0, 0xc6, 0xb3, 0x24, 0xa7, 0x47, 0x8f, 0xed, 0xb4, 0x72, 0x6f, - 0xcb, 0x16, 0x83, 0x0e, 0xe1, 0x96, 0xd3, 0xd8, 0x7d, 0x4a, 0xb0, 0x4f, 0xd8, 0x53, 0xcc, 0xdb, - 0xce, 0x40, 0x10, 0xee, 0xca, 0x84, 0xf5, 0x17, 0x06, 0xdc, 0xcd, 0x11, 0xec, 0xc5, 0x87, 0x14, - 0x7d, 0x08, 0xb3, 0x47, 0x64, 0x20, 0x01, 0xca, 0x9b, 0x8f, 0xac, 0xb1, 0xad, 0xb3, 0x46, 0xb1, - 0xdd, 0x64, 0x07, 0x5a, 0x81, 0xb2, 0x18, 0x2e, 0x2b, 0x58, 0x37, 0xbf, 0x94, 0xa8, 0xeb, 0x30, - 0x4a, 0x0f, 0x2b, 0xb3, 0xd2, 0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x22, 0x09, 0x00, 0x00, + // 908 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x41, 0x6f, 0x1b, 0x45, + 0x14, 0xce, 0x12, 0xc7, 0xad, 0x9f, 0x4b, 0xda, 0x2c, 0x21, 0x75, 0xb6, 0xd4, 0x09, 0x2b, 0x1a, + 0xa2, 0x40, 0x76, 0x9b, 0x04, 0xa8, 0x30, 0x07, 0x94, 0x8d, 0x40, 0x8d, 0x20, 0x52, 0xb5, 0x71, + 0x85, 0xc4, 0xc5, 0x5a, 0xef, 0x4e, 0xd6, 0xab, 0x64, 0x77, 0xcc, 0xcc, 0xd8, 0xb2, 0xb9, 0x80, + 0x7a, 0x83, 0x13, 0x3f, 0x81, 0x9f, 0x90, 0x03, 0x07, 0x2e, 0x1c, 0xb8, 0x95, 0x5b, 0xe1, 0x84, + 0x7a, 0x88, 0x50, 0x72, 0xc8, 0xdf, 0x40, 0x3b, 0x33, 0x6b, 0x8f, 0x93, 0x75, 0x62, 0xe8, 0x25, + 0xf1, 0x7b, 0xef, 0x9b, 0xf7, 0xbe, 0x6f, 0xe6, 0xbd, 0xa7, 0x85, 0xea, 0x11, 0x26, 0x28, 0xf9, + 0x16, 0xdb, 0x4d, 0xe6, 0x53, 0xe6, 0x1d, 0x46, 0x49, 0x68, 0x77, 0x37, 0x6c, 0xd6, 0xb3, 0xda, + 0x04, 0x33, 0xac, 0xbf, 0x29, 0xe3, 0xd6, 0x30, 0x6e, 0x75, 0x37, 0x8c, 0xbb, 0x3e, 0xa6, 0x31, + 0xa6, 0x76, 0x4c, 0x39, 0x3c, 0xa6, 0xa1, 0xc0, 0x1b, 0x8b, 0x22, 0xd0, 0xe0, 0x96, 0x2d, 0x0c, + 0x19, 0x9a, 0x0f, 0x71, 0x88, 0x85, 0x3f, 0xfd, 0x25, 0xbd, 0x73, 0x5e, 0x1c, 0x25, 0xd8, 0xe6, +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d, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/fee/types/tx.pb.go b/x/fee/types/tx.pb.go index 93c99f4..2c0d6ba 100644 --- a/x/fee/types/tx.pb.go +++ b/x/fee/types/tx.pb.go @@ -8,6 +8,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -135,28 +136,29 @@ func init() { func init() { proto.RegisterFile("lorenzo/fee/v1/tx.proto", fileDescriptor_3cc20224fb1980cd) } var fileDescriptor_3cc20224fb1980cd = []byte{ - // 329 bytes of a gzipped FileDescriptorProto + // 348 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcf, 0xc9, 0x2f, 0x4a, 0xcd, 0xab, 0xca, 0xd7, 0x4f, 0x4b, 0x4d, 0xd5, 0x2f, 0x33, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0x4a, 0xe8, 0xa5, 0xa5, 0xa6, 0xea, 0x95, 0x19, 0x4a, 0x89, 0xa4, 0xe7, 0xa7, 0xe7, 0x83, 0xa5, 0xf4, 0x41, 0x2c, 0x88, 0x2a, 0x29, 0xf1, 0xe4, 0xfc, 0xe2, 0xdc, 0xfc, 0x62, 0xfd, 0xdc, 0xe2, 0x74, 0x90, 0xee, 0xdc, 0xe2, 0x74, 0xa8, 0x84, 0x34, 0x9a, - 0xb9, 0x05, 0x89, 0x45, 0x89, 0xb9, 0xc5, 0x50, 0x49, 0x49, 0x88, 0xae, 0x78, 0x88, 0x71, 0x10, - 0x0e, 0x44, 0x4a, 0xa9, 0x9f, 0x91, 0x8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 0x81, 0x98, 0xa9, - 0x1b, 0x00, 0x0a, 0xc8, 0xe4, 0xfc, 0x1c, 0x7d, 0x58, 0x14, 0x94, 0x19, 0xeb, 0x57, 0x80, 0xe3, - 0xa1, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0xd2, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xb6, 0x00, 0x98, 0xf1, 0xfb, 0x01, 0x00, 0x00, + 0xb9, 0x05, 0x89, 0x45, 0x89, 0xb9, 0xc5, 0x50, 0x49, 0xc1, 0xc4, 0xdc, 0xcc, 0xbc, 0x7c, 0x7d, + 0x30, 0x09, 0x15, 0x92, 0x84, 0x18, 0x14, 0x0f, 0xb1, 0x01, 0xc2, 0x81, 0x48, 0x29, 0xad, 0x67, + 0xe4, 0xe2, 0xf7, 0x2d, 0x4e, 0x0f, 0x2d, 0x48, 0x49, 0x2c, 0x49, 0x0d, 0x00, 0x9b, 0x23, 0x64, + 0xc6, 0xc5, 0x99, 0x58, 0x5a, 0x92, 0x91, 0x5f, 0x94, 0x59, 0x52, 0x29, 0xc1, 0xa8, 0xc0, 0xa8, + 0xc1, 0xe9, 0x24, 0x71, 0x69, 0x8b, 0xae, 0x08, 0x54, 0xa3, 0x63, 0x4a, 0x4a, 0x51, 0x6a, 0x71, + 0x71, 0x70, 0x49, 0x51, 0x66, 0x5e, 0x7a, 0x10, 0x42, 0xa9, 0x90, 0x09, 0x17, 0x1b, 0xc4, 0x25, + 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0x62, 0x7a, 0xa8, 0xde, 0xd4, 0x83, 0x98, 0xef, 0xc4, + 0x72, 0xe2, 0x9e, 0x3c, 0x43, 0x10, 0x54, 0xad, 0x95, 0x5e, 0xd3, 0xf3, 0x0d, 0x5a, 0x08, 0x53, + 0xba, 0x9e, 0x6f, 0xd0, 0x42, 0xf1, 0x1f, 0x9a, 0xeb, 0x94, 0x24, 0xb9, 0xc4, 0xd1, 0x84, 0x82, + 0x52, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x8d, 0xd2, 0xb8, 0x98, 0x7d, 0x8b, 0xd3, 0x85, 0x22, + 0xb8, 0x78, 0x50, 0xfc, 0x23, 0x8f, 0xee, 0x0e, 0x34, 0xfd, 0x52, 0xea, 0x04, 0x14, 0xc0, 0x2c, + 0x90, 0x62, 0x6d, 0x78, 0xbe, 0x41, 0x8b, 0xd1, 0xc9, 0xe7, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, + 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, + 0x8f, 0xe5, 0x18, 0xa2, 0x8c, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, + 0x7d, 0x20, 0x66, 0xea, 0x06, 0x80, 0x02, 0x3a, 0x39, 0x3f, 0x47, 0x1f, 0xe6, 0xab, 0x32, 0x63, + 0xfd, 0x0a, 0xb0, 0xd7, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x31, 0x61, 0x0c, 0x08, + 0x00, 0x00, 0xff, 0xff, 0x43, 0x48, 0x1d, 0x31, 0x2e, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/plan/types/tx.pb.go b/x/plan/types/tx.pb.go index 16eedb6..232d264 100644 --- a/x/plan/types/tx.pb.go +++ b/x/plan/types/tx.pb.go @@ -9,6 +9,7 @@ import ( _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -1026,71 +1027,76 @@ func init() { func init() { proto.RegisterFile("lorenzo/plan/v1/tx.proto", fileDescriptor_f54797b8bf30f2f9) } var fileDescriptor_f54797b8bf30f2f9 = []byte{ - // 1009 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4f, 0x4f, 0x1b, 0x47, - 0x14, 0x67, 0x8d, 0xb3, 0xe0, 0x07, 0x18, 0xba, 0xa1, 0xb0, 0x6c, 0x8a, 0x21, 0x56, 0x4b, 0x48, - 0x54, 0xec, 0x04, 0xd4, 0x1e, 0x72, 0x83, 0x54, 0x55, 0x2d, 0xd5, 0x12, 0x5d, 0x88, 0xaa, 0x44, - 0xaa, 0xac, 0x65, 0x77, 0xb2, 0x59, 0xc5, 0xbb, 0xb3, 0x9a, 0x19, 0x5b, 0x71, 0x4f, 0x51, 0x3f, - 0x41, 0xa4, 0x5e, 0x7b, 0xea, 0xb1, 0xa7, 0x1c, 0xda, 0xef, 0x90, 0x63, 0xd4, 0x43, 0x55, 0xf5, - 0x10, 0x55, 0x70, 0xc8, 0xd7, 0xa8, 0xe6, 0x0f, 0xe3, 0x5d, 0x7b, 0x81, 0x14, 0x2e, 0x39, 0xd9, - 0x33, 0xef, 0xf7, 0xde, 0xfc, 0xde, 0x6f, 0xdf, 0xbc, 0x37, 0x60, 0x77, 0x31, 0x41, 0xc9, 0x8f, - 0xb8, 0x99, 0x76, 0xbd, 0xa4, 0xd9, 0xbf, 0xd7, 0x64, 0xcf, 0x1b, 0x29, 0xc1, 0x0c, 0x5b, 0xf3, - 0xca, 0xd2, 0xe0, 0x96, 0x46, 0xff, 0x9e, 0xb3, 0xe2, 0x63, 0x1a, 0x63, 0xda, 0x11, 0xe6, 0xa6, - 0x5c, 0x48, 0xac, 0xb3, 0x2c, 0x57, 0xcd, 0x98, 0x86, 0x3c, 0x46, 0x4c, 0x43, 0x65, 0x58, 0x0c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d6, 0xb1, 0x7a, 0xb6, 0x8a, 0x8f, - 0x76, 0x0f, 0x9d, 0xcf, 0xce, 0x35, 0x67, 0x43, 0x0e, 0xaf, 0xf3, 0xea, 0x59, 0xe2, 0x09, 0x73, - 0x71, 0xc8, 0xb1, 0xab, 0xc7, 0x2b, 0x38, 0x77, 0xed, 0x0a, 0x2b, 0x38, 0x8b, 0x28, 0xae, 0xe0, - 0xa2, 0x5b, 0xe2, 0x5c, 0x7b, 0xf1, 0xee, 0xd5, 0x1d, 0x63, 0xaf, 0xfd, 0xfa, 0xb8, 0x66, 0xbc, - 0x39, 0xae, 0x19, 0xff, 0x1e, 0xd7, 0x8c, 0x97, 0x27, 0xb5, 0x89, 0x37, 0x27, 0xb5, 0x89, 0xbf, - 0x4f, 0x6a, 0x13, 0x8f, 0x77, 0x32, 0xb3, 0xec, 0x5b, 0x19, 0x74, 0x6b, 0x9f, 0xbf, 0x89, 0x7d, - 0xdc, 0x6d, 0x9e, 0xbe, 0x98, 0xfb, 0x3b, 0xcd, 0xe7, 0xf2, 0xd9, 0x2c, 0x86, 0xdb, 0x91, 0x29, - 0x5e, 0xcd, 0x3b, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x44, 0xae, 0x7c, 0x33, 0xe6, 0x0b, 0x00, - 0x00, + // 1094 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xcd, 0x4f, 0xdc, 0x46, + 0x14, 0xc7, 0xcb, 0xc6, 0x64, 0x1f, 0x9f, 0x71, 0x28, 0x18, 0x53, 0x16, 0x62, 0xb5, 0x04, 0x50, + 0x58, 0x13, 0x50, 0x7b, 0xe0, 0x06, 0xa9, 0xaa, 0x22, 0x75, 0x25, 0x6a, 0x88, 0x2a, 0x22, 0x55, + 0x2b, 0xb3, 0x9e, 0x38, 0x56, 0xd6, 0x9e, 0xd5, 0xcc, 0x2c, 0x0a, 0x3d, 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 0xa1, 0xc6, 0x07, 0xa0, 0x27, 0xef, 0x35, 0x2b, 0x0b, 0xda, 0xd2, 0xf0, 0xfa, 0x74, 0x23, 0x27, + 0x42, 0x23, 0x79, 0xc1, 0x76, 0xf5, 0xcd, 0xdb, 0xf9, 0x01, 0x57, 0x82, 0x37, 0x9d, 0xaf, 0x2f, + 0x4e, 0x56, 0xfa, 0x69, 0xbe, 0xb9, 0x38, 0x59, 0xc9, 0xd6, 0x93, 0xe3, 0x67, 0xcf, 0xc0, 0x74, + 0xce, 0xe5, 0x22, 0xda, 0xc5, 0x31, 0x45, 0xf6, 0xf7, 0x1a, 0x8c, 0x89, 0x58, 0x40, 0x3c, 0x1f, + 0xed, 0x76, 0xbc, 0xd8, 0x58, 0x84, 0xb1, 0x30, 0xea, 0x76, 0x50, 0x84, 0x62, 0xe6, 0xb1, 0x10, + 0xc7, 0x49, 0x49, 0x6e, 0xce, 0x9b, 0xad, 0xba, 0x72, 0xeb, 0xaa, 0x37, 0x1b, 0x45, 0xfa, 0xb3, + 0x45, 0xfa, 0x8a, 0x8f, 0x6d, 0xc2, 0x54, 0xd6, 0xa3, 0xc8, 0xff, 0x5c, 0x81, 0xd1, 0x26, 0x0d, + 0x9e, 0x10, 0xc4, 0x0b, 0xe3, 0xdc, 0x0d, 0xa8, 0xc6, 0x5e, 0x84, 0x24, 0x63, 0xf1, 0x6c, 0xd8, + 0x30, 0xca, 0xd3, 0xb6, 0x7c, 0x44, 0xdb, 0xad, 0x1e, 0x09, 0x13, 0xae, 0xee, 0x30, 0x77, 0x7e, + 0x84, 0x68, 0xfb, 0x29, 0x09, 0x8d, 0x19, 0xb8, 0xeb, 0x05, 0x28, 0x66, 0xad, 0xd0, 0x37, 0x07, + 0x17, 0xb4, 0xa5, 0xaa, 0x3b, 0x24, 0xec, 0x1d, 0xdf, 0x58, 0x84, 0x71, 0xb1, 0x9c, 0x32, 0x8f, + 0xb0, 0x16, 0x0b, 0x23, 0x64, 0x56, 0x05, 0x42, 0x64, 0xdd, 0xe3, 0xde, 0xfd, 0x30, 0x42, 0xc6, + 0x3c, 0x0c, 0x77, 0x11, 0x09, 0xb1, 0x9f, 0x60, 0xee, 0x08, 0x0c, 0x24, 0x2e, 0x01, 0x58, 0x83, + 0xc9, 0x63, 0x8f, 0xb5, 0xda, 0x38, 0x66, 0xc4, 0x6b, 0xb3, 0x96, 0x97, 0x08, 0x64, 0xea, 0x82, + 0x8e, 0x71, 0xec, 0xb1, 0x27, 0x32, 0x24, 0xa5, 0x33, 0xd6, 0x40, 0xa7, 0x28, 0xf6, 0x11, 0x31, + 0x87, 0x6e, 0x90, 0x57, 0xe2, 0x36, 0x57, 0xb8, 0xb6, 0xd2, 0xe0, 0xc2, 0x5a, 0x79, 0x61, 0xfb, + 0x5a, 0xd9, 0x0f, 0xe1, 0x9d, 0x8c, 0xe3, 0x52, 0x56, 0x63, 0x0c, 0x2a, 0xa1, 0x2f, 0x24, 0xac, + 0xba, 0x95, 0xd0, 0xb7, 0xff, 0xd4, 0x60, 0xa2, 0x49, 0x83, 0x3d, 0xc4, 0x9a, 0x88, 0xbc, 0xec, + 0x20, 0x17, 0x63, 0x66, 0x4c, 0xc3, 0x90, 0x90, 0x45, 0x21, 0x75, 0x6e, 0xee, 0xf8, 0xc6, 0x0e, + 0xdc, 0x25, 0xb8, 0x17, 0xfb, 0x3c, 0x92, 0x74, 0x45, 0x83, 0x77, 0xef, 0xef, 0x6f, 0xe7, 0x17, + 0x83, 0x90, 0xbd, 0xe8, 0x1d, 0x36, 0xda, 0x38, 0x92, 0xfb, 0x59, 0xfe, 0x5b, 0xa5, 0xfe, 0x4b, + 0x87, 0x1d, 0x77, 0x11, 0x6d, 0xec, 0xc4, 0xcc, 0x1d, 0x12, 0xeb, 0x77, 0x7c, 0x2e, 0x69, 0x24, + 0xde, 0xd8, 0x22, 0x18, 0x33, 0xf1, 0x61, 0x6a, 0x2e, 0x44, 0x7d, 0x12, 0x7d, 0x81, 0xaa, 0xb7, + 0x14, 0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7f, 0x2e, + 0xcd, 0x5d, 0xad, 0xe2, 0xc1, 0xd6, 0xbe, 0xf5, 0xfe, 0xb5, 0xe1, 0x74, 0xca, 0xfe, 0x34, 0x98, + 0xbb, 0x4a, 0x3c, 0x11, 0x2e, 0x4f, 0x59, 0xd8, 0x9b, 0xbc, 0x83, 0x33, 0xfb, 0xb2, 0xb4, 0x83, + 0xd3, 0x88, 0xf2, 0x0e, 0x2e, 0xdb, 0x25, 0xd6, 0x9d, 0xaf, 0x2e, 0x4e, 0x56, 0xb4, 0xed, 0xe6, + 0x9b, 0xb3, 0xba, 0x76, 0x7a, 0x56, 0xd7, 0xfe, 0x38, 0xab, 0x6b, 0xdf, 0x9e, 0xd7, 0x07, 0x4e, + 0xcf, 0xeb, 0x03, 0xbf, 0x9d, 0xd7, 0x07, 0x9e, 0x6d, 0xa4, 0x4e, 0xda, 0x4f, 0x93, 0xa4, 0xab, + 0xbb, 0xfc, 0x37, 0x43, 0x1b, 0x77, 0x9c, 0xcb, 0xbd, 0x79, 0xb4, 0xe1, 0xbc, 0x4a, 0x36, 0xa8, + 0x38, 0x7a, 0x0f, 0x75, 0xf1, 0xab, 0x62, 0xe3, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x53, 0xec, + 0x4d, 0xed, 0x19, 0x0d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/token/types/tx.pb.go b/x/token/types/tx.pb.go index 6ac5205..4b1944f 100644 --- a/x/token/types/tx.pb.go +++ b/x/token/types/tx.pb.go @@ -10,6 +10,7 @@ import ( _ "github.com/cosmos/cosmos-proto" types1 "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" types "github.com/cosmos/cosmos-sdk/x/bank/types" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" @@ -621,53 +622,57 @@ func init() { func init() { proto.RegisterFile("lorenzo/token/v1/tx.proto", fileDescriptor_a7608a88bc5ac541) } var fileDescriptor_a7608a88bc5ac541 = []byte{ - // 730 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xc1, 0x4e, 0xdb, 0x4a, - 0x14, 0x8d, 0x49, 0x5e, 0x04, 0x13, 0x1e, 0xe4, 0xf9, 0xf1, 0xc0, 0xf1, 0x2b, 0x06, 0x22, 0x55, - 0x02, 0xa4, 0xd8, 0x4d, 0x68, 0x59, 0x74, 0x53, 0x11, 0xd4, 0x45, 0xa5, 0xa6, 0x42, 0x6e, 0xbb, - 0x68, 0x85, 0x84, 0x26, 0xce, 0x68, 0x62, 0x11, 0xcf, 0x44, 0x9e, 0x21, 0x82, 0x2e, 0xbb, 0xeb, - 0xae, 0xdd, 0xf6, 0x07, 0xba, 0xed, 0xa2, 0xbf, 0x50, 0x89, 0x25, 0xea, 0xaa, 0xea, 0x02, 0x55, - 0xb0, 0xe8, 0x6f, 0x54, 0x9e, 0x99, 0x18, 0xdb, 0x09, 0xa4, 0x62, 0xe7, 0xd1, 0x39, 0xf7, 0xde, - 0x73, 0xe7, 0xdc, 0xeb, 0x01, 0x95, 0x1e, 0x0d, 0x11, 0x79, 0x43, 0x1d, 0x4e, 0x0f, 0x11, 0x71, - 0x06, 0x75, 0x87, 0x1f, 0xdb, 0xfd, 0x90, 0x72, 0xaa, 0x97, 0x15, 0x64, 0x0b, 0xc8, 0x1e, 0xd4, - 0xcd, 0x05, 0x4c, 0x31, 0x15, 0xa0, 0x13, 0x7d, 0x49, 0x9e, 0x79, 0x07, 0x53, 0x8a, 0x7b, 0xc8, - 0x81, 0x7d, 0xdf, 0x81, 0x84, 0x50, 0x0e, 0xb9, 0x4f, 0x09, 0x53, 0xa8, 0xe5, 0x51, 0x16, 0x50, - 0xe6, 0xb4, 0x21, 0x43, 0xce, 0xa0, 0xde, 0x46, 0x1c, 0xd6, 0x1d, 0x8f, 0xfa, 0x44, 0xe1, 0x4b, - 0x0a, 0x0f, 0x18, 0x8e, 0xaa, 0x07, 0x0c, 0x2b, 0xa0, 0x22, 0x81, 0x03, 0x59, 0x4f, 0x1e, 0x46, - 0x72, 0x92, 0xc3, 0x38, 0x67, 0x74, 0x18, 0xe2, 0x23, 0x4d, 0x61, 0x44, 0x10, 0xf3, 0x55, 0x7c, - 0xf5, 0xa3, 0x06, 0xe6, 0x5b, 0x0c, 0xbb, 0x08, 0xfb, 0x8c, 0xa3, 0x70, 0x97, 0xfa, 0x44, 0xdf, - 0x06, 0x33, 0xf0, 0x88, 0x77, 0x69, 0xe8, 0xf3, 0x13, 0x43, 0x5b, 0xd5, 0xd6, 0x67, 0x9a, 0xc6, - 0xb7, 0x2f, 0xb5, 0x05, 0x55, 0x78, 0xa7, 0xd3, 0x09, 0x11, 0x63, 0xcf, 0x79, 0xe8, 0x13, 0xec, - 0x5e, 0x51, 0xf5, 0x47, 0x60, 0x3a, 0x40, 0x1c, 0x76, 0x20, 0x87, 0xc6, 0xd4, 0x6a, 0x7e, 0xbd, - 0xd4, 0x58, 0xb6, 0x55, 0x8c, 0x50, 0xa4, 0xe4, 0xd9, 0x2d, 0x45, 0x6a, 0x16, 0x4e, 0xcf, 0x57, - 0x72, 0x6e, 0x1c, 0xf4, 0x70, 0xee, 0xed, 0xaf, 0xcf, 0x9b, 0x57, 0x09, 0xab, 0x15, 0xb0, 0x94, - 0xd1, 0xe6, 0x22, 0xd6, 0xa7, 0x84, 0xa1, 0xea, 0x3b, 0x0d, 0x94, 0x13, 0xd8, 0x63, 0x77, 0xb7, - 0x71, 0xef, 0xd6, 0xc2, 0x6b, 0x40, 0xf7, 0x28, 0xe1, 0x21, 0xf4, 0xf8, 0x01, 0x94, 0x24, 0xc4, - 0x44, 0x0b, 0x33, 0xee, 0x3f, 0x43, 0x64, 0x67, 0x08, 0x8c, 0xc8, 0x34, 0x81, 0x91, 0x95, 0x12, - 0xeb, 0x64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a, 0x1d, 0x00, 0x00, - 0xff, 0xff, 0x19, 0x39, 0x12, 0xdc, 0x92, 0x07, 0x00, 0x00, + // 788 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xcf, 0x4b, 0x33, 0x47, + 0x18, 0xce, 0x9a, 0x34, 0xe8, 0xc4, 0xd6, 0xb8, 0xb5, 0xba, 0xd9, 0x9a, 0xd5, 0x2c, 0x14, 0x54, + 0xc8, 0xae, 0x89, 0xd6, 0x43, 0x2e, 0xc5, 0x48, 0x0f, 0x85, 0xa6, 0xc8, 0xb6, 0x3d, 0xb4, 0x08, + 0x32, 0x49, 0x86, 0xc9, 0x62, 0x76, 0x26, 0xec, 0x8c, 0x41, 0x7b, 0xec, 0xb1, 0xa7, 0x5e, 0x0b, + 0xfd, 0x13, 0x7a, 0x10, 0xda, 0x63, 0xaf, 0x05, 0xa1, 0x17, 0xf9, 0x4e, 0x1f, 0xdf, 0x41, 0x3e, + 0xf4, 0xe0, 0xbf, 0xf1, 0xb1, 0x3b, 0x93, 0x75, 0x7f, 0x44, 0x23, 0x5e, 0x42, 0x66, 0x9e, 0xe7, + 0x7d, 0xe7, 0x79, 0x76, 0x9f, 0x77, 0x16, 0x54, 0x86, 0xd4, 0x47, 0xe4, 0x17, 0x6a, 0x73, 0x7a, + 0x86, 0x88, 0x3d, 0x6e, 0xd8, 0xfc, 0xc2, 0x1a, 0xf9, 0x94, 0x53, 0xb5, 0x2c, 0x21, 0x2b, 0x84, + 0xac, 0x71, 0x43, 0x5f, 0xc1, 0x14, 0xd3, 0x10, 0xb4, 0x83, 0x7f, 0x82, 0xa7, 0xaf, 0x63, 0x4a, + 0xf1, 0x10, 0xd9, 0x70, 0xe4, 0xda, 0x90, 0x10, 0xca, 0x21, 0x77, 0x29, 0x61, 0x12, 0x35, 0x7a, + 0x94, 0x79, 0x94, 0xd9, 0x5d, 0xc8, 0x90, 0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61, 0x8f, + 0x9f, 0x42, 0x41, 0x42, 0x2c, 0x34, 0xb9, 0xe0, 0x2c, 0x4f, 0x90, 0xc3, 0x09, 0xd0, 0x6a, 0x64, + 0x8d, 0x18, 0x4f, 0x1a, 0x09, 0x95, 0x99, 0x3a, 0xd0, 0xd2, 0x7b, 0x91, 0x95, 0x3f, 0x14, 0xf0, + 0x69, 0x87, 0xe1, 0x1f, 0x28, 0xc6, 0x43, 0x74, 0x44, 0xc9, 0x18, 0xf9, 0xcc, 0xa5, 0xaf, 0x7f, + 0x51, 0x2b, 0xe0, 0xa3, 0x50, 0x85, 0x36, 0x17, 0xd4, 0x38, 0x62, 0xd1, 0xda, 0xcf, 0x8a, 0xae, + 0x65, 0x44, 0xa7, 0x35, 0x98, 0x55, 0xf0, 0xf9, 0x94, 0xed, 0x48, 0xfa, 0x9f, 0x0a, 0xf8, 0xa4, + 0xc3, 0xb0, 0x40, 0x78, 0x18, 0xaf, 0x3d, 0x50, 0x08, 0xe6, 0x20, 0x14, 0x5c, 0x6a, 0x56, 0x1e, + 0x23, 0xc2, 0x50, 0x14, 0x91, 0x80, 0x28, 0xe3, 0x11, 0x92, 0x55, 0x1d, 0xcc, 0xfb, 0xa8, 0x87, + 0xdc, 0x31, 0xf2, 0xa5, 0xea, 0x68, 0xad, 0xae, 0x82, 0x22, 0x43, 0xa4, 0x8f, 0x7c, 0x2d, 0x1f, + 0x22, 0x72, 0xd5, 0xaa, 0x05, 0x16, 0xd6, 0x33, 0x16, 0x62, 0x5a, 0x4c, 0x0d, 0xac, 0x26, 0x77, + 0x22, 0xe1, 0xff, 0x8b, 0xc1, 0x90, 0x90, 0x48, 0xcf, 0x36, 0x28, 0xa7, 0x53, 0x20, 0x1e, 0xbb, + 0xb3, 0x94, 0xca, 0x80, 0xfa, 0x25, 0x28, 0x42, 0x8f, 0x9e, 0x13, 0x2e, 0xd4, 0xb6, 0xab, 0x81, + 0x97, 0x77, 0xb7, 0x1b, 0x9f, 0x09, 0xb7, 0xac, 0x7f, 0x66, 0xb9, 0xd4, 0xf6, 0x20, 0x1f, 0x58, + 0xdf, 0x10, 0xee, 0x48, 0x72, 0xc2, 0x66, 0xfe, 0x49, 0x9b, 0x85, 0x84, 0x4d, 0x73, 0xfa, 0x9c, + 0xc4, 0x95, 0xcb, 0x39, 0x89, 0x6f, 0x45, 0x46, 0xff, 0x16, 0x46, 0x7f, 0x1c, 0xf5, 0x21, 0x47, + 0xc7, 0xd0, 0x87, 0x1e, 0x7b, 0x75, 0xb0, 0x0e, 0x40, 0x71, 0x14, 0x76, 0x08, 0x5d, 0x97, 0x9a, + 0x9a, 0x95, 0xbe, 0x4b, 0x2d, 0x71, 0x82, 0x7c, 0xb7, 0x92, 0xfd, 0xb2, 0xc1, 0x8f, 0x2b, 0x94, + 0x86, 0xe2, 0x5b, 0x13, 0x43, 0xcd, 0xff, 0x0a, 0x20, 0xdf, 0x61, 0x58, 0x3d, 0x01, 0x8b, 0x89, + 0x6b, 0xad, 0x96, 0x15, 0x93, 0xba, 0x3b, 0xf4, 0xed, 0x99, 0x94, 0xc9, 0x29, 0xea, 0x29, 0xf8, + 0x38, 0x79, 0xb5, 0x98, 0xcf, 0xd6, 0x86, 0x1c, 0x7d, 0x67, 0x36, 0x27, 0x3a, 0x60, 0x00, 0xca, + 0x99, 0x81, 0xff, 0x62, 0x6a, 0x7d, 0x9a, 0xa6, 0xd7, 0x5f, 0x44, 0x8b, 0x4e, 0xfa, 0x09, 0x94, + 0xe2, 0xf3, 0xb9, 0x39, 0xb5, 0x3a, 0xc6, 0xd0, 0xb7, 0x66, 0x31, 0xa2, 0xd6, 0x27, 0x60, 0x31, + 0x31, 0x41, 0xb5, 0xe7, 0x2a, 0xc5, 0x33, 0xda, 0x9e, 0x49, 0x89, 0x77, 0x4f, 0xc4, 0x76, 0x7a, + 0xf7, 0x38, 0xe5, 0x89, 0xee, 0xd3, 0x72, 0xd4, 0xfe, 0xee, 0xfa, 0xce, 0x50, 0x6e, 0xee, 0x0c, + 0xe5, 0xfd, 0x9d, 0xa1, 0xfc, 0x7e, 0x6f, 0xe4, 0x6e, 0xee, 0x8d, 0xdc, 0xdb, 0x7b, 0x23, 0xf7, + 0xf3, 0x3e, 0x76, 0xf9, 0xe0, 0xbc, 0x6b, 0xf5, 0xa8, 0x67, 0x7f, 0x2b, 0xda, 0xd5, 0x8f, 0x83, + 0xcf, 0x69, 0x8f, 0x0e, 0xed, 0x49, 0x6e, 0xc7, 0x7b, 0xf6, 0x85, 0x0c, 0x2f, 0xbf, 0x1c, 0x21, + 0xd6, 0x2d, 0x86, 0x5f, 0xdc, 0xbd, 0x0f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x44, 0x66, 0xa2, 0xd8, + 0x7b, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. From 78a42494ba8ce431e64fe5d00c0f03a0154594f2 Mon Sep 17 00:00:00 2001 From: orisalden Date: Tue, 20 Aug 2024 16:30:40 +0800 Subject: [PATCH 03/12] amino: agent msg --- x/agent/module.go | 4 +++- x/agent/types/codec.go | 18 ++++++++++++++++++ x/agent/types/msg.go | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 1 deletion(-) diff --git a/x/agent/module.go b/x/agent/module.go index f22bb78..5778b55 100644 --- a/x/agent/module.go +++ b/x/agent/module.go @@ -52,7 +52,9 @@ func (AppModuleBasic) Name() string { } // RegisterLegacyAminoCodec registers the module's types for the given codec. -func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {} +func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + types.RegisterLegacyAminoCodec(cdc) +} // RegisterInterfaces registers the module's interface types func (a AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry) { diff --git a/x/agent/types/codec.go b/x/agent/types/codec.go index 0ff5e41..6d9737f 100644 --- a/x/agent/types/codec.go +++ b/x/agent/types/codec.go @@ -1,11 +1,28 @@ package types import ( + "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/msgservice" ) +var ( + amino = codec.NewLegacyAmino() + AminoCdc = codec.NewAminoCodec(amino) +) + +func init() { + RegisterLegacyAminoCodec(amino) +} + +func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + cdc.RegisterConcrete(&MsgUpdateParams{}, "lorenzo/agent/MsgUpdateParams", nil) + cdc.RegisterConcrete(&MsgAddAgent{}, "lorenzo/agent/MsgAddAgent", nil) + cdc.RegisterConcrete(&MsgEditAgent{}, "lorenzo/agent/MsgEditAgent", nil) + cdc.RegisterConcrete(&MsgRemoveAgent{}, "lorenzo/agent/MsgRemoveAgent", nil) +} + // RegisterInterfaces registers implementations for sdk.Msg and MsgUpdateParams in the given InterfaceRegistry. // // Parameter: @@ -15,6 +32,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) { &MsgAddAgent{}, &MsgEditAgent{}, &MsgRemoveAgent{}, + &MsgUpdateParams{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) } diff --git a/x/agent/types/msg.go b/x/agent/types/msg.go index ee666a2..472f91a 100644 --- a/x/agent/types/msg.go +++ b/x/agent/types/msg.go @@ -7,6 +7,8 @@ import ( errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" ) var ( @@ -16,6 +18,13 @@ var ( _ sdk.Msg = (*MsgEditAgent)(nil) ) +var ( + _ legacytx.LegacyMsg = &MsgUpdateParams{} + _ legacytx.LegacyMsg = &MsgAddAgent{} + _ legacytx.LegacyMsg = &MsgEditAgent{} + _ legacytx.LegacyMsg = &MsgRemoveAgent{} +) + // ValidateBasic executes sanity validation on the provided data func (m *MsgUpdateParams) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Authority); err != nil { @@ -30,6 +39,14 @@ func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgUpdateParams) Route() string { return "" } + +func (m *MsgUpdateParams) Type() string { return "lorenzo/agent/MsgUpdateParams" } + // ValidateBasic executes sanity validation on the provided data func (m *MsgAddAgent) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(m.Sender) @@ -57,6 +74,14 @@ func (m *MsgAddAgent) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgAddAgent) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgAddAgent) Route() string { return "" } + +func (m *MsgAddAgent) Type() string { return "lorenzo/agent/MsgAddAgent" } + // ValidateBasic executes sanity validation on the provided data func (m *MsgEditAgent) ValidateBasic() error { if m.Id <= 0 { @@ -76,6 +101,14 @@ func (m *MsgEditAgent) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgEditAgent) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgEditAgent) Route() string { return "" } + +func (m *MsgEditAgent) Type() string { return "lorenzo/agent/MsgEditAgent" } + // ValidateBasic executes sanity validation on the provided data func (m *MsgRemoveAgent) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(m.Sender) @@ -93,3 +126,11 @@ func (m *MsgRemoveAgent) GetSigners() []sdk.AccAddress { addr, _ := sdk.AccAddressFromBech32(m.Sender) return []sdk.AccAddress{addr} } + +func (m *MsgRemoveAgent) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgRemoveAgent) Route() string { return "" } + +func (m *MsgRemoveAgent) Type() string { return "lorenzo/agent/MsgRemoveAgent" } From 652a1d507bf52d8f3348f5f51d8842f27b86a616 Mon Sep 17 00:00:00 2001 From: orisalden Date: Tue, 20 Aug 2024 16:45:13 +0800 Subject: [PATCH 04/12] animo: bnb light client msg --- x/bnblightclient/module.go | 4 ++- x/bnblightclient/types/codec.go | 16 ++++++++++++ x/bnblightclient/types/msg.go | 43 +++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 1 deletion(-) diff --git a/x/bnblightclient/module.go b/x/bnblightclient/module.go index 5b0ebfb..a2eef8f 100644 --- a/x/bnblightclient/module.go +++ b/x/bnblightclient/module.go @@ -52,7 +52,9 @@ func (AppModuleBasic) Name() string { } // RegisterLegacyAminoCodec registers the module's types for the given codec. -func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {} +func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + types.RegisterLegacyAminoCodec(cdc) +} // RegisterInterfaces registers the module's interface types func (a AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry) { diff --git a/x/bnblightclient/types/codec.go b/x/bnblightclient/types/codec.go index 5cfc1ef..011ebae 100644 --- a/x/bnblightclient/types/codec.go +++ b/x/bnblightclient/types/codec.go @@ -2,6 +2,7 @@ package types import ( errorsmod "cosmossdk.io/errors" + "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/msgservice" @@ -9,6 +10,21 @@ import ( "github.com/ethereum/go-ethereum/rlp" ) +var ( + amino = codec.NewLegacyAmino() + AminoCdc = codec.NewAminoCodec(amino) +) + +func init() { + RegisterLegacyAminoCodec(amino) +} + +func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + cdc.RegisterConcrete(&MsgUpdateHeader{}, "lorenzo/bnblightclient/MsgUploadHeaders", nil) + cdc.RegisterConcrete(&MsgUploadHeaders{}, "lorenzo/bnblightclient/MsgUpdateHeader", nil) + cdc.RegisterConcrete(&MsgUpdateParams{}, "lorenzo/bnblightclient/MsgUpdateParams", nil) +} + // RegisterInterfaces registers implementations for sdk.Msg and MsgUpdateParams in the given InterfaceRegistry. // // Parameter: diff --git a/x/bnblightclient/types/msg.go b/x/bnblightclient/types/msg.go index e18a4b4..06f2b16 100644 --- a/x/bnblightclient/types/msg.go +++ b/x/bnblightclient/types/msg.go @@ -2,6 +2,7 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" ) var ( @@ -10,6 +11,12 @@ var ( _ sdk.Msg = (*MsgUpdateParams)(nil) ) +var ( + _ legacytx.LegacyMsg = (*MsgUpdateHeader)(nil) + _ legacytx.LegacyMsg = (*MsgUploadHeaders)(nil) + _ legacytx.LegacyMsg = (*MsgUpdateParams)(nil) +) + // ValidateBasic implements sdk.Msg interface func (m *MsgUpdateHeader) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Signer); err != nil { @@ -23,6 +30,18 @@ func (m *MsgUpdateHeader) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{sdk.MustAccAddressFromBech32(m.Signer)} } +func (m *MsgUpdateHeader) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgUpdateHeader) Route() string { + return "" +} + +func (m *MsgUpdateHeader) Type() string { + return "lorenzo/bnblightclient/MsgUploadHeaders" +} + // ValidateBasic implements sdk.Msg interface func (m *MsgUploadHeaders) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Signer); err != nil { @@ -36,6 +55,18 @@ func (m *MsgUploadHeaders) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{sdk.MustAccAddressFromBech32(m.Signer)} } +func (m *MsgUploadHeaders) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgUploadHeaders) Route() string { + return "" +} + +func (m *MsgUploadHeaders) Type() string { + return "lorenzo/bnblightclient/MsgUpdateHeader" +} + // ValidateBasic implements sdk.Msg interface func (m *MsgUpdateParams) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Authority); err != nil { @@ -48,3 +79,15 @@ func (m *MsgUpdateParams) ValidateBasic() error { func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{sdk.MustAccAddressFromBech32(m.Authority)} } + +func (m *MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgUpdateParams) Route() string { + return "" +} + +func (m *MsgUpdateParams) Type() string { + return "lorenzo/bnblightclient/MsgUpdateParams" +} From 278821fd3514aeb9fc2181f63c83578a0fbb8b3f Mon Sep 17 00:00:00 2001 From: orisalden Date: Tue, 20 Aug 2024 16:55:44 +0800 Subject: [PATCH 05/12] amino: btc light client --- x/btclightclient/module.go | 6 +----- x/btclightclient/types/codec.go | 19 +++++++++++++------ x/btclightclient/types/msgs.go | 31 +++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 11 deletions(-) diff --git a/x/btclightclient/module.go b/x/btclightclient/module.go index 9d8edb3..8af3daf 100644 --- a/x/btclightclient/module.go +++ b/x/btclightclient/module.go @@ -44,12 +44,8 @@ func (AppModuleBasic) Name() string { return types.ModuleName } -func (AppModuleBasic) RegisterCodec(cdc *codec.LegacyAmino) { - types.RegisterCodec(cdc) -} - func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - types.RegisterCodec(cdc) + types.RegisterLegacyAminoCodec(cdc) } // RegisterInterfaces registers the module's interface types diff --git a/x/btclightclient/types/codec.go b/x/btclightclient/types/codec.go index 4ac4ea8..da7351b 100644 --- a/x/btclightclient/types/codec.go +++ b/x/btclightclient/types/codec.go @@ -7,7 +7,19 @@ import ( "github.com/cosmos/cosmos-sdk/types/msgservice" ) -func RegisterCodec(_ *codec.LegacyAmino) { +var ( + amino = codec.NewLegacyAmino() + AminoCdc = codec.NewAminoCodec(amino) +) + +func init() { + RegisterLegacyAminoCodec(amino) +} + +func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + cdc.RegisterConcrete(&MsgInsertHeaders{}, "lorenzo/btclightclient/MsgInsertHeaders", nil) + cdc.RegisterConcrete(&MsgUpdateParams{}, "lorenzo/btclightclient/MsgUpdateParams", nil) + cdc.RegisterConcrete(&MsgUpdateFeeRate{}, "lorenzo/btclightclient/MsgUpdateFeeRate", nil) } func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { @@ -17,8 +29,3 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) } - -var ( - Amino = codec.NewLegacyAmino() - ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) -) diff --git a/x/btclightclient/types/msgs.go b/x/btclightclient/types/msgs.go index c90a9d2..807c3ee 100644 --- a/x/btclightclient/types/msgs.go +++ b/x/btclightclient/types/msgs.go @@ -7,6 +7,7 @@ import ( bbn "github.com/Lorenzo-Protocol/lorenzo/v3/types" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" ) var ( @@ -15,6 +16,12 @@ var ( _ sdk.Msg = (*MsgUpdateFeeRate)(nil) ) +var ( + _ legacytx.LegacyMsg = (*MsgInsertHeaders)(nil) + _ legacytx.LegacyMsg = (*MsgUpdateParams)(nil) + _ legacytx.LegacyMsg = (*MsgUpdateFeeRate)(nil) +) + func NewMsgInsertHeaders(signer sdk.AccAddress, headersHex string) (*MsgInsertHeaders, error) { if len(headersHex) == 0 { return nil, fmt.Errorf("empty headers list") @@ -96,6 +103,14 @@ func (msg *MsgInsertHeaders) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{signer} } +func (msg *MsgInsertHeaders) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg)) +} + +func (msg *MsgInsertHeaders) Route() string { return "" } + +func (msg *MsgInsertHeaders) Type() string { return "lorenzo/btclightclient/MsgInsertHeaders" } + func (msg *MsgUpdateFeeRate) ValidateBasic() error { // This function validates stateless message elements // msg.Header is validated in ante-handler @@ -117,6 +132,14 @@ func (msg *MsgUpdateFeeRate) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{signer} } +func (msg *MsgUpdateFeeRate) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg)) +} + +func (msg *MsgUpdateFeeRate) Route() string { return "" } + +func (msg *MsgUpdateFeeRate) Type() string { return "lorenzo/btclightclient/MsgUpdateFeeRate" } + func (msg *MsgUpdateParams) ValidateBasic() error { return nil } @@ -132,6 +155,14 @@ func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{signer} } +func (msg *MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg)) +} + +func (msg *MsgUpdateParams) Route() string { return "" } + +func (msg *MsgUpdateParams) Type() string { return "lorenzo/btclightclient/MsgUpdateParams" } + func (msg *MsgUpdateFeeRate) ReporterAddress() sdk.AccAddress { sender, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { From c1ae89525ab3d4f42fb289e5d091eee0017767b7 Mon Sep 17 00:00:00 2001 From: orisalden Date: Tue, 20 Aug 2024 17:03:46 +0800 Subject: [PATCH 06/12] amino: btc staking msg --- proto/lorenzo/btcstaking/v1/tx.proto | 2 + x/btcstaking/types/codec.go | 8 ++- x/btcstaking/types/msg.go | 75 ++++++++++++++++++++++++++-- 3 files changed, 79 insertions(+), 6 deletions(-) diff --git a/proto/lorenzo/btcstaking/v1/tx.proto b/proto/lorenzo/btcstaking/v1/tx.proto index fef1286..cd31bdb 100644 --- a/proto/lorenzo/btcstaking/v1/tx.proto +++ b/proto/lorenzo/btcstaking/v1/tx.proto @@ -55,6 +55,8 @@ message TransactionInfo { message MsgCreateBTCStaking { option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "lorenzo/btcstaking/MsgCreateBTCStaking"; + string signer = 1; TransactionInfo staking_tx = 2; // deprecated diff --git a/x/btcstaking/types/codec.go b/x/btcstaking/types/codec.go index 71bb9b8..f62aa70 100644 --- a/x/btcstaking/types/codec.go +++ b/x/btcstaking/types/codec.go @@ -17,8 +17,12 @@ func init() { } func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - cdc.RegisterConcrete(&MsgCreateBTCStaking{}, "btcstaking/MsgCreateBTCStaking", nil) - cdc.RegisterConcrete(&MsgBurnRequest{}, "btcstaking/MsgBurnRequest", nil) + cdc.RegisterConcrete(&MsgCreateBTCStaking{}, "lorenzo/btcstaking/MsgCreateBTCStaking", nil) + cdc.RegisterConcrete(&MsgCreateBTCBStaking{}, "lorenzo/btcstaking/MsgCreateBTCBStaking", nil) + cdc.RegisterConcrete(&MsgBurnRequest{}, "lorenzo/btcstaking/MsgBurnRequest", nil) + cdc.RegisterConcrete(&MsgRemoveReceiver{}, "lorenzo/btcstaking/MsgAddReceiver", nil) + cdc.RegisterConcrete(&MsgAddReceiver{}, "lorenzo/btcstaking/MsgRemoveReceiver", nil) + cdc.RegisterConcrete(&MsgUpdateParams{}, "lorenzo/btcstaking/MsgUpdateParams", nil) } func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { diff --git a/x/btcstaking/types/msg.go b/x/btcstaking/types/msg.go index 767ed4b..17309e0 100644 --- a/x/btcstaking/types/msg.go +++ b/x/btcstaking/types/msg.go @@ -24,7 +24,12 @@ var ( ) var ( + _ legacytx.LegacyMsg = &MsgCreateBTCStaking{} + _ legacytx.LegacyMsg = &MsgCreateBTCBStaking{} _ legacytx.LegacyMsg = &MsgBurnRequest{} + _ legacytx.LegacyMsg = &MsgRemoveReceiver{} + _ legacytx.LegacyMsg = &MsgAddReceiver{} + _ legacytx.LegacyMsg = &MsgUpdateParams{} ) func (m *MsgCreateBTCStaking) ValidateBasic() error { @@ -55,6 +60,18 @@ func (m *MsgCreateBTCStaking) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{signer} } +func (m *MsgCreateBTCStaking) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgCreateBTCStaking) Route() string { + return "" +} + +func (m *MsgCreateBTCStaking) Type() string { + return "lorenzo/btcstaking/MsgCreateBTCStaking" +} + func (m *MsgBurnRequest) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Signer); err != nil { return errorsmod.Wrap(err, "invalid signer address") @@ -88,15 +105,17 @@ func (m *MsgBurnRequest) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{signer} } -// GetSignBytes implements LegacyMsg. -// Should be deprecated but to be in favour of EIP712 we need to keep it for now. func (m *MsgBurnRequest) GetSignBytes() []byte { return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) } -func (m *MsgBurnRequest) Route() string { return "" } +func (m *MsgBurnRequest) Route() string { + return "" +} -func (m *MsgBurnRequest) Type() string { return "btcstaking/MsgBurnRequest" } +func (m *MsgBurnRequest) Type() string { + return "lorenzo/btcstaking/MsgBurnRequest" +} func NewMsgBurnRequest(signer, btcTargetAddress string, amount math.Int) MsgBurnRequest { return MsgBurnRequest{ @@ -121,6 +140,18 @@ func (m *MsgUpdateParams) ValidateBasic() error { return nil } +func (m *MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgUpdateParams) Route() string { + return "" +} + +func (m *MsgUpdateParams) Type() string { + return "lorenzo/btcstaking/MsgUpdateParams" +} + // ValidateBasic implements sdk.Msg func (m *MsgCreateBTCBStaking) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Signer); err != nil { @@ -143,6 +174,18 @@ func (m *MsgCreateBTCBStaking) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgCreateBTCBStaking) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgCreateBTCBStaking) Route() string { + return "" +} + +func (m *MsgCreateBTCBStaking) Type() string { + return "lorenzo/btcstaking/MsgCreateBTCBStaking" +} + func (m *MsgAddReceiver) GetSigners() []sdk.AccAddress { addr, _ := sdk.AccAddressFromBech32(m.Authority) return []sdk.AccAddress{addr} @@ -158,6 +201,18 @@ func (m *MsgAddReceiver) ValidateBasic() error { return nil } +func (m *MsgAddReceiver) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgAddReceiver) Route() string { + return "" +} + +func (m *MsgAddReceiver) Type() string { + return "lorenzo/btcstaking/MsgAddReceiver" +} + func (m *MsgRemoveReceiver) GetSigners() []sdk.AccAddress { addr, _ := sdk.AccAddressFromBech32(m.Authority) return []sdk.AccAddress{addr} @@ -172,3 +227,15 @@ func (m *MsgRemoveReceiver) ValidateBasic() error { } return nil } + +func (m *MsgRemoveReceiver) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgRemoveReceiver) Route() string { + return "" +} + +func (m *MsgRemoveReceiver) Type() string { + return "lorenzo/btcstaking/MsgRemoveReceiver" +} From 84dfbb7da9c5c84a492db2851174927bfe56d584 Mon Sep 17 00:00:00 2001 From: orisalden Date: Tue, 20 Aug 2024 17:07:25 +0800 Subject: [PATCH 07/12] amino: fee types --- x/fee/types/codec.go | 14 ++++++++++++++ x/fee/types/msgs.go | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/x/fee/types/codec.go b/x/fee/types/codec.go index c322a8c..191d5e9 100644 --- a/x/fee/types/codec.go +++ b/x/fee/types/codec.go @@ -1,11 +1,25 @@ package types import ( + "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/msgservice" ) +var ( + amino = codec.NewLegacyAmino() + AminoCdc = codec.NewAminoCodec(amino) +) + +func init() { + RegisterLegacyAminoCodec(amino) +} + +func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + cdc.RegisterConcrete(&MsgUpdateParams{}, "lorenzo/fee/MsgUpdateParams", nil) +} + // RegisterInterfaces registers implementations for sdk.Msg and MsgUpdateParams in the given InterfaceRegistry. // // Parameter: diff --git a/x/fee/types/msgs.go b/x/fee/types/msgs.go index a11c3ec..fb22351 100644 --- a/x/fee/types/msgs.go +++ b/x/fee/types/msgs.go @@ -4,9 +4,11 @@ import ( errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" ) var _ sdk.Msg = (*MsgUpdateParams)(nil) +var _ legacytx.LegacyMsg = (*MsgUpdateParams)(nil) // ValidateBasic executes sanity validation on the provided data func (m *MsgUpdateParams) ValidateBasic() error { @@ -22,6 +24,18 @@ func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgUpdateParams) Route() string { + return "" +} + +func (m *MsgUpdateParams) Type() string { + return "lorenzo/fee/MsgUpdateParams" +} + // Validate validates the Params struct. // // It does not take any parameters. From 1fcacb596497728b596bf99e22b9e750b1688c88 Mon Sep 17 00:00:00 2001 From: orisalden Date: Tue, 20 Aug 2024 17:14:25 +0800 Subject: [PATCH 08/12] amino: plan types --- x/fee/module.go | 4 +- x/plan/module.go | 4 +- x/plan/types/codec.go | 22 ++++++++ x/plan/types/msg.go | 121 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 149 insertions(+), 2 deletions(-) diff --git a/x/fee/module.go b/x/fee/module.go index 902a6de..d487d11 100644 --- a/x/fee/module.go +++ b/x/fee/module.go @@ -52,7 +52,9 @@ func (AppModuleBasic) Name() string { } // RegisterLegacyAminoCodec registers the module's types for the given codec. -func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {} +func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + types.RegisterLegacyAminoCodec(cdc) +} // RegisterInterfaces registers the module's interface types func (a AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry) { diff --git a/x/plan/module.go b/x/plan/module.go index 51145af..d66be67 100644 --- a/x/plan/module.go +++ b/x/plan/module.go @@ -52,7 +52,9 @@ func (AppModuleBasic) Name() string { } // RegisterLegacyAminoCodec registers the module's types for the given codec. -func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {} +func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + types.RegisterLegacyAminoCodec(cdc) +} // RegisterInterfaces registers the module's interface types func (a AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry) { diff --git a/x/plan/types/codec.go b/x/plan/types/codec.go index 8abfd97..551ce79 100644 --- a/x/plan/types/codec.go +++ b/x/plan/types/codec.go @@ -1,11 +1,33 @@ package types import ( + "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/msgservice" ) +var ( + amino = codec.NewLegacyAmino() + AminoCdc = codec.NewAminoCodec(amino) +) + +func init() { + RegisterLegacyAminoCodec(amino) +} + +func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + cdc.RegisterConcrete(&MsgUpdateParams{}, "lorenzo/plan/MsgUpdateParams", nil) + cdc.RegisterConcrete(&MsgUpgradePlan{}, "lorenzo/plan/MsgUpgradePlan", nil) + cdc.RegisterConcrete(&MsgCreatePlan{}, "lorenzo/plan/MsgCreatePlan", nil) + cdc.RegisterConcrete(&MsgSetMerkleRoot{}, "lorenzo/plan/MsgSetMerkleRoot", nil) + cdc.RegisterConcrete(&MsgClaims{}, "lorenzo/plan/MsgClaims", nil) + cdc.RegisterConcrete(&MsgUpdatePlanStatus{}, "lorenzo/plan/MsgUpdatePlanStatus", nil) + cdc.RegisterConcrete(&MsgCreateYAT{}, "lorenzo/plan/MsgCreateYAT", nil) + cdc.RegisterConcrete(&MsgSetMinter{}, "lorenzo/plan/MsgSetMinter", nil) + cdc.RegisterConcrete(&MsgRemoveMinter{}, "lorenzo/plan/MsgRemoveMinter", nil) +} + // RegisterInterfaces registers implementations for sdk.Msg and MsgUpdateParams in the given InterfaceRegistry. // // Parameter: diff --git a/x/plan/types/msg.go b/x/plan/types/msg.go index 95c3d47..3c624a6 100644 --- a/x/plan/types/msg.go +++ b/x/plan/types/msg.go @@ -7,6 +7,7 @@ import ( errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" "github.com/ethereum/go-ethereum/common" ) @@ -22,6 +23,18 @@ var ( _ sdk.Msg = (*MsgSetMerkleRoot)(nil) ) +var ( + _ legacytx.LegacyMsg = (*MsgUpdateParams)(nil) + _ legacytx.LegacyMsg = (*MsgUpgradePlan)(nil) + _ legacytx.LegacyMsg = (*MsgCreatePlan)(nil) + _ legacytx.LegacyMsg = (*MsgClaims)(nil) + _ legacytx.LegacyMsg = (*MsgCreateYAT)(nil) + _ legacytx.LegacyMsg = (*MsgUpdatePlanStatus)(nil) + _ legacytx.LegacyMsg = (*MsgSetMinter)(nil) + _ legacytx.LegacyMsg = (*MsgRemoveMinter)(nil) + _ legacytx.LegacyMsg = (*MsgSetMerkleRoot)(nil) +) + // ValidateBasic executes sanity validation on the provided data func (m *MsgUpdateParams) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Authority); err != nil { @@ -36,6 +49,18 @@ func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgUpdateParams) Route() string { + return "" +} + +func (m *MsgUpdateParams) Type() string { + return "lorenzo/plan/MsgUpdateParams" +} + // ValidateBasic executes sanity validation on the provided data func (m *MsgUpgradePlan) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Authority); err != nil { @@ -53,6 +78,18 @@ func (m *MsgUpgradePlan) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgUpgradePlan) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgUpgradePlan) Route() string { + return "" +} + +func (m *MsgUpgradePlan) Type() string { + return "lorenzo/plan/MsgUpgradePlan" +} + // ValidateBasic executes sanity validation on the provided data func (m *MsgCreatePlan) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Sender); err != nil { @@ -82,6 +119,18 @@ func (m *MsgCreatePlan) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgCreatePlan) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgCreatePlan) Route() string { + return "" +} + +func (m *MsgCreatePlan) Type() string { + return "lorenzo/plan/MsgCreatePlan" +} + // ValidateBasic executes sanity validation on the provided data func (m *MsgClaims) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Sender); err != nil { @@ -117,6 +166,18 @@ func (m *MsgClaims) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgClaims) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgClaims) Route() string { + return "" +} + +func (m *MsgClaims) Type() string { + return "lorenzo/plan/MsgClaims" +} + // ValidateBasic executes sanity validation on the provided data func (m *MsgCreateYAT) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Sender); err != nil { @@ -137,6 +198,18 @@ func (m *MsgCreateYAT) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgCreateYAT) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgCreateYAT) Route() string { + return "" +} + +func (m *MsgCreateYAT) Type() string { + return "lorenzo/plan/MsgCreateYAT" +} + // ValidateBasic executes sanity validation on the provided data func (m *MsgUpdatePlanStatus) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Sender); err != nil { @@ -157,6 +230,18 @@ func (m *MsgUpdatePlanStatus) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgUpdatePlanStatus) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgUpdatePlanStatus) Route() string { + return "" +} + +func (m *MsgUpdatePlanStatus) Type() string { + return "lorenzo/plan/MsgUpdatePlanStatus" +} + // ValidateBasic executes sanity validation on the provided data func (m *MsgSetMinter) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Sender); err != nil { @@ -177,6 +262,18 @@ func (m *MsgSetMinter) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgSetMinter) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgSetMinter) Route() string { + return "" +} + +func (m *MsgSetMinter) Type() string { + return "lorenzo/plan/MsgSetMinter" +} + // ValidateBasic executes sanity validation on the provided data func (m *MsgRemoveMinter) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Sender); err != nil { @@ -197,6 +294,18 @@ func (m *MsgRemoveMinter) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgRemoveMinter) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgRemoveMinter) Route() string { + return "" +} + +func (m *MsgRemoveMinter) Type() string { + return "lorenzo/plan/MsgRemoveMinter" +} + // ValidateBasic executes sanity validation on the provided data func (m *MsgSetMerkleRoot) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Sender); err != nil { @@ -219,3 +328,15 @@ func (m *MsgSetMerkleRoot) GetSigners() []sdk.AccAddress { addr, _ := sdk.AccAddressFromBech32(m.Sender) return []sdk.AccAddress{addr} } + +func (m *MsgSetMerkleRoot) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgSetMerkleRoot) Route() string { + return "" +} + +func (m *MsgSetMerkleRoot) Type() string { + return "lorenzo/plan/MsgSetMerkleRoot" +} From 5a2db6eee9b80b142f6ac4624f2edb7c4b580647 Mon Sep 17 00:00:00 2001 From: orisalden Date: Tue, 20 Aug 2024 17:17:58 +0800 Subject: [PATCH 09/12] amino: token types --- x/token/module.go | 4 ++- x/token/types/codec.go | 19 +++++++++++ x/token/types/msg.go | 72 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 94 insertions(+), 1 deletion(-) diff --git a/x/token/module.go b/x/token/module.go index 9362b88..9ab976b 100644 --- a/x/token/module.go +++ b/x/token/module.go @@ -39,7 +39,9 @@ type AppModuleBasic struct { func (am AppModuleBasic) Name() string { return types.ModuleName } // RegisterLegacyAminoCodec registers the module's legacy amino codec -func (am AppModuleBasic) RegisterLegacyAminoCodec(_ *codec.LegacyAmino) {} +func (am AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + types.RegisterLegacyAminoCodec(cdc) +} // RegisterInterfaces registers the module's interface types. func (am AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry) { diff --git a/x/token/types/codec.go b/x/token/types/codec.go index 17b27d6..54fde86 100644 --- a/x/token/types/codec.go +++ b/x/token/types/codec.go @@ -1,11 +1,30 @@ package types import ( + "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/msgservice" ) +var ( + amino = codec.NewLegacyAmino() + AminoCdc = codec.NewAminoCodec(amino) +) + +func init() { + RegisterLegacyAminoCodec(amino) +} + +func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { + cdc.RegisterConcrete(&MsgRegisterCoin{}, "lorenzo/token/MsgRegisterCoin", nil) + cdc.RegisterConcrete(&MsgRegisterERC20{}, "lorenzo/token/MsgRegisterERC20", nil) + cdc.RegisterConcrete(&MsgToggleConversion{}, "lorenzo/token/MsgToggleConversion", nil) + cdc.RegisterConcrete(&MsgConvertCoin{}, "lorenzo/token/MsgConvertCoin", nil) + cdc.RegisterConcrete(&MsgConvertERC20{}, "lorenzo/token/MsgConvertERC20", nil) + cdc.RegisterConcrete(&MsgUpdateParams{}, "lorenzo/token/MsgUpdateParams", nil) +} + // RegisterInterfaces register implementations func RegisterInterfaces(registry codectypes.InterfaceRegistry) { registry.RegisterImplementations( diff --git a/x/token/types/msg.go b/x/token/types/msg.go index 8c87232..c97b35d 100644 --- a/x/token/types/msg.go +++ b/x/token/types/msg.go @@ -64,6 +64,18 @@ func (m *MsgRegisterCoin) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgRegisterCoin) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgRegisterCoin) Route() string { + return "" +} + +func (m *MsgRegisterCoin) Type() string { + return "lorenzo/token/MsgRegisterCoin" +} + // ValidateBasic implements sdk.Msg func (m *MsgRegisterERC20) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Authority); err != nil { @@ -98,6 +110,18 @@ func (m *MsgRegisterERC20) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgRegisterERC20) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgRegisterERC20) Route() string { + return "" +} + +func (m *MsgRegisterERC20) Type() string { + return "lorenzo/token/MsgRegisterERC20" +} + // ValidateBasic implements sdk.Msg func (m *MsgToggleConversion) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Authority); err != nil { @@ -119,6 +143,18 @@ func (m *MsgToggleConversion) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgToggleConversion) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgToggleConversion) Route() string { + return "" +} + +func (m *MsgToggleConversion) Type() string { + return "lorenzo/token/MsgToggleConversion" +} + // ValidateBasic implements sdk.Msg func (m *MsgConvertCoin) ValidateBasic() error { if err := ValidateERC20Denom(m.Coin.Denom); err != nil { @@ -150,6 +186,18 @@ func (m *MsgConvertCoin) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr} } +func (m *MsgConvertCoin) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgConvertCoin) Route() string { + return "" +} + +func (m *MsgConvertCoin) Type() string { + return "lorenzo/token/MsgConvertCoin" +} + // ValidateBasic implements sdk.Msg func (m *MsgConvertERC20) ValidateBasic() error { if !common.IsHexAddress(m.ContractAddress) { @@ -178,6 +226,18 @@ func (m *MsgConvertERC20) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{addr.Bytes()} } +func (m *MsgConvertERC20) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgConvertERC20) Route() string { + return "" +} + +func (m *MsgConvertERC20) Type() string { + return "lorenzo/token/MsgConvertERC20" +} + // ValidateBasic implements sdk.Msg func (m *MsgUpdateParams) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Authority); err != nil { @@ -191,3 +251,15 @@ func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress { addr, _ := sdk.AccAddressFromBech32(m.Authority) return []sdk.AccAddress{addr} } + +func (m *MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(m)) +} + +func (m *MsgUpdateParams) Route() string { + return "" +} + +func (m *MsgUpdateParams) Type() string { + return "lorenzo/token/MsgUpdateParams" +} From dcfdeb89fc327be79bfd55f342fae01c4d1270ce Mon Sep 17 00:00:00 2001 From: orisalden Date: Tue, 20 Aug 2024 17:38:19 +0800 Subject: [PATCH 10/12] chore: lint --- x/fee/types/msgs.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/x/fee/types/msgs.go b/x/fee/types/msgs.go index fb22351..681880b 100644 --- a/x/fee/types/msgs.go +++ b/x/fee/types/msgs.go @@ -2,13 +2,15 @@ package types import ( errorsmod "cosmossdk.io/errors" + "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" ) -var _ sdk.Msg = (*MsgUpdateParams)(nil) -var _ legacytx.LegacyMsg = (*MsgUpdateParams)(nil) +var ( + _ sdk.Msg = (*MsgUpdateParams)(nil) + _ legacytx.LegacyMsg = (*MsgUpdateParams)(nil) +) // ValidateBasic executes sanity validation on the provided data func (m *MsgUpdateParams) ValidateBasic() error { From 1fca2108971349a2681d5b30dd9e68f7d015e27f Mon Sep 17 00:00:00 2001 From: orisalden Date: Tue, 20 Aug 2024 17:44:47 +0800 Subject: [PATCH 11/12] proto: regen --- x/btcstaking/types/tx.pb.go | 116 ++++++++++++++++++------------------ 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/x/btcstaking/types/tx.pb.go b/x/btcstaking/types/tx.pb.go index 6b80084..9880ee2 100644 --- a/x/btcstaking/types/tx.pb.go +++ b/x/btcstaking/types/tx.pb.go @@ -732,64 +732,64 @@ func init() { func init() { proto.RegisterFile("lorenzo/btcstaking/v1/tx.proto", fileDescriptor_6be51bab5db52b8e) } var fileDescriptor_6be51bab5db52b8e = []byte{ - // 908 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0xce, 0x12, 0xc7, 0xad, 0x9f, 0x4b, 0xda, 0x2c, 0x21, 0x75, 0xb6, 0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 0x96, 0xb3, 0x9b, 0x8c, 0xcd, 0xc9, 0xb1, 0x59, 0x6d, 0xbd, 0x03, - 0x73, 0x97, 0x77, 0xd8, 0x7b, 0x13, 0x24, 0xca, 0xc0, 0xc6, 0xd6, 0x7f, 0x00, 0x0f, 0xca, 0x3e, - 0x85, 0x42, 0x3a, 0x7b, 0xfa, 0x83, 0xf1, 0x87, 0x95, 0x69, 0x35, 0x56, 0xae, 0x83, 0xc9, 0xb4, - 0x3e, 0x94, 0xd5, 0xf1, 0xbd, 0x22, 0xbb, 0x02, 0x33, 0xd6, 0x27, 0x82, 0x0d, 0x8a, 0x1c, 0xc1, - 0xec, 0x85, 0x29, 0x5a, 0x1d, 0x9f, 0x60, 0x14, 0x69, 0x3c, 0x9c, 0x14, 0x39, 0xa8, 0x76, 0x00, - 0xb7, 0x46, 0x7a, 0xfe, 0x8a, 0xab, 0x50, 0x71, 0x86, 0x35, 0x19, 0x2e, 0xab, 0x63, 0xcc, 0x7c, - 0x7f, 0x7e, 0xbc, 0xa6, 0x39, 0xfb, 0xcf, 0x4f, 0xab, 0xda, 0x8b, 0xd3, 0xaa, 0xf6, 0xcf, 0x69, - 0x55, 0xfb, 0xe9, 0xac, 0x3a, 0xf5, 0xe2, 0xac, 0x3a, 0xf5, 0xf7, 0x59, 0x75, 0xea, 0xeb, 0x8f, - 0x27, 0xfc, 0x2e, 0xe9, 0xa9, 0x53, 0xc0, 0x77, 0x75, 0xb3, 0xc8, 0xbf, 0x89, 0xb6, 0xfe, 0x0d, - 0x00, 0x00, 0xff, 0xff, 0xf5, 0xc0, 0x81, 0xd7, 0xcd, 0x09, 0x00, 0x00, + // 911 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0xcf, 0x12, 0xc7, 0xad, 0x5f, 0x4a, 0xda, 0x2c, 0x21, 0x75, 0xb6, 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0x68, 0x39, 0xb7, 0xc9, 0xd8, 0x9a, 0xdc, 0x37, 0xcd, 0xad, + 0xb7, 0x61, 0xfe, 0xf2, 0x0d, 0xfb, 0x60, 0x82, 0x40, 0xa9, 0xb3, 0xb1, 0xfd, 0x1f, 0x9c, 0xfb, + 0x69, 0x9f, 0x41, 0x21, 0xd9, 0x3d, 0xfd, 0xc1, 0xf8, 0xc7, 0x99, 0x6d, 0x35, 0x56, 0xaf, 0x73, + 0x53, 0x61, 0x3d, 0x98, 0xcd, 0xae, 0xef, 0x15, 0xd1, 0x33, 0x6e, 0xc6, 0xc6, 0x44, 0x6e, 0xfd, + 0x24, 0xc7, 0x30, 0x37, 0xb2, 0x45, 0x6b, 0xe3, 0x03, 0x0c, 0x7b, 0x1a, 0x0f, 0x27, 0xf5, 0xec, + 0x67, 0x3b, 0x84, 0x5b, 0x43, 0x33, 0x7f, 0x45, 0x29, 0xb2, 0x7e, 0x86, 0x35, 0x99, 0x5f, 0x9a, + 0xc7, 0x98, 0xf9, 0xe1, 0xe2, 0x64, 0x5d, 0x73, 0x0e, 0x5e, 0x9c, 0x55, 0xb4, 0x97, 0x67, 0x15, + 0xed, 0x9f, 0xb3, 0x8a, 0xf6, 0xf3, 0x79, 0x65, 0xea, 0xe5, 0x79, 0x65, 0xea, 0xef, 0xf3, 0xca, + 0xd4, 0x37, 0x9f, 0x4c, 0xf8, 0x09, 0xd3, 0xcd, 0x6e, 0x81, 0xb8, 0xd5, 0x8d, 0xa2, 0xf8, 0x7c, + 0xda, 0xfe, 0x37, 0x00, 0x00, 0xff, 0xff, 0x04, 0xd0, 0x1d, 0xf0, 0xf8, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. From 0a05991b2e58f03e40e322ed124e7733394e10b8 Mon Sep 17 00:00:00 2001 From: orisalden Date: Wed, 21 Aug 2024 10:24:30 +0800 Subject: [PATCH 12/12] fix: register type swapped --- x/btcstaking/types/codec.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/btcstaking/types/codec.go b/x/btcstaking/types/codec.go index f62aa70..580cc65 100644 --- a/x/btcstaking/types/codec.go +++ b/x/btcstaking/types/codec.go @@ -20,8 +20,8 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgCreateBTCStaking{}, "lorenzo/btcstaking/MsgCreateBTCStaking", nil) cdc.RegisterConcrete(&MsgCreateBTCBStaking{}, "lorenzo/btcstaking/MsgCreateBTCBStaking", nil) cdc.RegisterConcrete(&MsgBurnRequest{}, "lorenzo/btcstaking/MsgBurnRequest", nil) - cdc.RegisterConcrete(&MsgRemoveReceiver{}, "lorenzo/btcstaking/MsgAddReceiver", nil) - cdc.RegisterConcrete(&MsgAddReceiver{}, "lorenzo/btcstaking/MsgRemoveReceiver", nil) + cdc.RegisterConcrete(&MsgRemoveReceiver{}, "lorenzo/btcstaking/MsgRemoveReceiver", nil) + cdc.RegisterConcrete(&MsgAddReceiver{}, "lorenzo/btcstaking/MsgAddReceiver", nil) cdc.RegisterConcrete(&MsgUpdateParams{}, "lorenzo/btcstaking/MsgUpdateParams", nil) }