From 06340a7bdc383b87397fdfefb17612fa0045d6bd Mon Sep 17 00:00:00 2001 From: Mantas Vidutis Date: Tue, 27 Jun 2023 11:40:28 -0700 Subject: [PATCH] something is funky with codec registrations --- proto/axelar-cork/v1/proposal.proto | 16 +- x/axelarcork/client/cli/tx.go | 6 +- x/axelarcork/client/cli/tx_test.go | 6 +- x/axelarcork/client/cli/util.go | 4 +- x/axelarcork/client/rest/rest.go | 4 + x/axelarcork/client/rest/utils.go | 2 + x/axelarcork/handler.go | 8 +- x/axelarcork/keeper/proposal_handler.go | 8 +- x/axelarcork/types/codec.go | 6 +- x/axelarcork/types/proposal.go | 54 +-- x/axelarcork/types/proposal.pb.go | 561 ++++++++++++------------ x/axelarcork/types/proposal_test.go | 10 +- 12 files changed, 349 insertions(+), 336 deletions(-) diff --git a/proto/axelar-cork/v1/proposal.proto b/proto/axelar-cork/v1/proposal.proto index 148aea6a..4828991d 100644 --- a/proto/axelar-cork/v1/proposal.proto +++ b/proto/axelar-cork/v1/proposal.proto @@ -9,7 +9,7 @@ option go_package = "github.com/peggyjv/sommelier/x/axelarcork/types"; // note: current plan is to accept either chain name or chain ID. if both and they dont match, error. -message AddManagedCellarIDsProposal { +message AddAxelarManagedCellarIDsProposal { string title = 1; string description = 2; string chain_name = 3; @@ -18,7 +18,7 @@ message AddManagedCellarIDsProposal { } // AddManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands -message AddManagedCellarIDsProposalWithDeposit { +message AddAxelarManagedCellarIDsProposalWithDeposit { string title = 1; string description = 2; string chain_name = 3; @@ -27,7 +27,7 @@ message AddManagedCellarIDsProposalWithDeposit { string deposit = 6; } -message RemoveManagedCellarIDsProposal { +message RemoveAxelarManagedCellarIDsProposal { string title = 1; string description = 2; string chain_name = 3; @@ -36,7 +36,7 @@ message RemoveManagedCellarIDsProposal { } // RemoveManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands -message RemoveManagedCellarIDsProposalWithDeposit { +message RemoveAxelarManagedCellarIDsProposalWithDeposit { string title = 1; string description = 2; string chain_name = 3; @@ -45,7 +45,7 @@ message RemoveManagedCellarIDsProposalWithDeposit { string deposit = 6; } -message ScheduledCorkProposal { +message AxelarScheduledCorkProposal { string title = 1; string description = 2; uint64 block_height = 3; @@ -75,7 +75,7 @@ message ScheduledCorkProposal { } // ScheduledCorkProposalWithDeposit is a specific definition for CLI commands -message ScheduledCorkProposalWithDeposit { +message AxelarScheduledCorkProposalWithDeposit { string title = 1; string description = 2; uint64 block_height = 3; @@ -86,7 +86,7 @@ message ScheduledCorkProposalWithDeposit { string deposit = 8; } -message CommunityPoolSpendProposal { +message AxelarCommunityPoolSpendProposal { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = true; option (gogoproto.goproto_stringer) = true; @@ -101,7 +101,7 @@ message CommunityPoolSpendProposal { // This format of the community spend Ethereum proposal is specifically for // the CLI to allow simple text serialization. -message CommunityPoolSpendProposalForCLI { +message AxelarCommunityPoolSpendProposalForCLI { option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = true; diff --git a/x/axelarcork/client/cli/tx.go b/x/axelarcork/client/cli/tx.go index f3b48994..3b43d5d3 100644 --- a/x/axelarcork/client/cli/tx.go +++ b/x/axelarcork/client/cli/tx.go @@ -60,7 +60,7 @@ Where proposal.json contains: return err } - proposal := types.AddManagedCellarIDsProposalWithDeposit{} + proposal := types.AddAxelarManagedCellarIDsProposalWithDeposit{} contents, err := os.ReadFile(args[0]) if err != nil { return err @@ -141,7 +141,7 @@ Where proposal.json contains: return err } - proposal := types.RemoveManagedCellarIDsProposalWithDeposit{} + proposal := types.RemoveAxelarManagedCellarIDsProposalWithDeposit{} contents, err := os.ReadFile(args[0]) if err != nil { return err @@ -226,7 +226,7 @@ The contract_call_proto_json field must be the JSON representation of a Schedule return err } - proposal := types.ScheduledCorkProposalWithDeposit{} + proposal := types.AxelarScheduledCorkProposalWithDeposit{} contents, err := os.ReadFile(args[0]) if err != nil { return err diff --git a/x/axelarcork/client/cli/tx_test.go b/x/axelarcork/client/cli/tx_test.go index 16348d50..7c6fb755 100644 --- a/x/axelarcork/client/cli/tx_test.go +++ b/x/axelarcork/client/cli/tx_test.go @@ -23,7 +23,7 @@ func TestParseAddManagedCellarsProposal(t *testing.T) { } `) - proposal := types.AddManagedCellarIDsProposalWithDeposit{} + proposal := types.AddAxelarManagedCellarIDsProposalWithDeposit{} contents, err := ioutil.ReadFile(okJSON.Name()) require.NoError(t, err) @@ -49,7 +49,7 @@ func TestParseRemoveManagedCellarsProposal(t *testing.T) { } `) - proposal := types.RemoveManagedCellarIDsProposalWithDeposit{} + proposal := types.RemoveAxelarManagedCellarIDsProposalWithDeposit{} contents, err := ioutil.ReadFile(okJSON.Name()) require.NoError(t, err) @@ -75,7 +75,7 @@ func TestParseSubmitScheduledCorkProposal(t *testing.T) { } `) - proposal := types.ScheduledCorkProposalWithDeposit{} + proposal := types.AxelarScheduledCorkProposalWithDeposit{} contents, err := ioutil.ReadFile(okJSON.Name()) require.NoError(t, err) diff --git a/x/axelarcork/client/cli/util.go b/x/axelarcork/client/cli/util.go index 8c0c0f79..bd784b84 100644 --- a/x/axelarcork/client/cli/util.go +++ b/x/axelarcork/client/cli/util.go @@ -33,8 +33,8 @@ func GetChainInfoFromFlags(cmd *cobra.Command) (string, uint64, error) { } // ParseCommunityPoolSpendProposal reads and parses a CommunityPoolEthereumSpendProposalForCLI from a file. -func ParseCommunityPoolSpendProposal(cdc codec.JSONCodec, proposalFile string) (types.CommunityPoolSpendProposalForCLI, error) { - proposal := types.CommunityPoolSpendProposalForCLI{} +func ParseCommunityPoolSpendProposal(cdc codec.JSONCodec, proposalFile string) (types.AxelarCommunityPoolSpendProposalForCLI, error) { + proposal := types.AxelarCommunityPoolSpendProposalForCLI{} contents, err := os.ReadFile(proposalFile) if err != nil { diff --git a/x/axelarcork/client/rest/rest.go b/x/axelarcork/client/rest/rest.go index 2d438277..1be9977c 100644 --- a/x/axelarcork/client/rest/rest.go +++ b/x/axelarcork/client/rest/rest.go @@ -50,6 +50,8 @@ func postAddProposalHandlerFn(clientCtx client.Context) http.HandlerFunc { content := types.NewAddManagedCellarIDsProposal( req.Title, req.Description, + "", + req.ChainID, &types.CellarIDSet{ Ids: req.CellarIDs, }) @@ -81,6 +83,8 @@ func postRemoveProposalHandlerFn(clientCtx client.Context) http.HandlerFunc { content := types.NewRemoveManagedCellarIDsProposal( req.Title, req.Description, + "", + req.ChainID, &types.CellarIDSet{ Ids: req.CellarIDs, }) diff --git a/x/axelarcork/client/rest/utils.go b/x/axelarcork/client/rest/utils.go index 8b679342..6560b4ed 100644 --- a/x/axelarcork/client/rest/utils.go +++ b/x/axelarcork/client/rest/utils.go @@ -13,6 +13,7 @@ type ( Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` + ChainID uint64 `json:"chain_id" yaml:"chain_id"` CellarIDs []string `json:"cellar_ids" yaml:"cellar_ids"` Proposer sdk.AccAddress `json:"proposer" yaml:"proposer"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` @@ -23,6 +24,7 @@ type ( Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` + ChainID uint64 `json:"chain_id" yaml:"chain_id"` CellarIDs []string `json:"cellar_ids" yaml:"cellar_ids"` Proposer sdk.AccAddress `json:"proposer" yaml:"proposer"` Deposit sdk.Coins `json:"deposit" yaml:"deposit"` diff --git a/x/axelarcork/handler.go b/x/axelarcork/handler.go index 75014be4..cef77307 100644 --- a/x/axelarcork/handler.go +++ b/x/axelarcork/handler.go @@ -33,13 +33,13 @@ func NewHandler(k keeper.Keeper) sdk.Handler { func NewProposalHandler(k keeper.Keeper) govtypes.Handler { return func(ctx sdk.Context, content govtypes.Content) error { switch c := content.(type) { - case *types.AddManagedCellarIDsProposal: + case *types.AddAxelarManagedCellarIDsProposal: return keeper.HandleAddManagedCellarsProposal(ctx, k, *c) - case *types.RemoveManagedCellarIDsProposal: + case *types.RemoveAxelarManagedCellarIDsProposal: return keeper.HandleRemoveManagedCellarsProposal(ctx, k, *c) - case *types.ScheduledCorkProposal: + case *types.AxelarScheduledCorkProposal: return keeper.HandleScheduledCorkProposal(ctx, k, *c) - case *types.CommunityPoolSpendProposal: + case *types.AxelarCommunityPoolSpendProposal: return keeper.HandleCommunityPoolSpendProposal(ctx, k, *c) case *types.AddChainConfigurationProposal: return keeper.HandleAddChainConfigurationProposal(ctx, k, *c) diff --git a/x/axelarcork/keeper/proposal_handler.go b/x/axelarcork/keeper/proposal_handler.go index 27c305a1..d4bbc8c6 100644 --- a/x/axelarcork/keeper/proposal_handler.go +++ b/x/axelarcork/keeper/proposal_handler.go @@ -16,7 +16,7 @@ import ( ) // HandleAddManagedCellarsProposal is a handler for executing a passed community cellar addition proposal -func HandleAddManagedCellarsProposal(ctx sdk.Context, k Keeper, p types.AddManagedCellarIDsProposal) error { +func HandleAddManagedCellarsProposal(ctx sdk.Context, k Keeper, p types.AddAxelarManagedCellarIDsProposal) error { config, err := k.GetChainConfigurationByNameAndID(ctx, p.ChainName, p.ChainId) if err != nil { return err @@ -48,7 +48,7 @@ func HandleAddManagedCellarsProposal(ctx sdk.Context, k Keeper, p types.AddManag } // HandleRemoveManagedCellarsProposal is a handler for executing a passed community cellar removal proposal -func HandleRemoveManagedCellarsProposal(ctx sdk.Context, k Keeper, p types.RemoveManagedCellarIDsProposal) error { +func HandleRemoveManagedCellarsProposal(ctx sdk.Context, k Keeper, p types.RemoveAxelarManagedCellarIDsProposal) error { config, err := k.GetChainConfigurationByNameAndID(ctx, p.ChainName, p.ChainId) if err != nil { return err @@ -74,7 +74,7 @@ func HandleRemoveManagedCellarsProposal(ctx sdk.Context, k Keeper, p types.Remov } // HandleScheduledCorkProposal is a handler for executing a passed scheduled cork proposal -func HandleScheduledCorkProposal(ctx sdk.Context, k Keeper, p types.ScheduledCorkProposal) error { +func HandleScheduledCorkProposal(ctx sdk.Context, k Keeper, p types.AxelarScheduledCorkProposal) error { config, err := k.GetChainConfigurationByNameAndID(ctx, p.ChainName, p.ChainId) if err != nil { return err @@ -87,7 +87,7 @@ func HandleScheduledCorkProposal(ctx sdk.Context, k Keeper, p types.ScheduledCor return nil } -func HandleCommunityPoolSpendProposal(ctx sdk.Context, k Keeper, p types.CommunityPoolSpendProposal) error { +func HandleCommunityPoolSpendProposal(ctx sdk.Context, k Keeper, p types.AxelarCommunityPoolSpendProposal) error { feePool := k.distributionKeeper.GetFeePool(ctx) // NOTE the community pool isn't a module account, however its coins diff --git a/x/axelarcork/types/codec.go b/x/axelarcork/types/codec.go index 8e267c4e..80c3c60b 100644 --- a/x/axelarcork/types/codec.go +++ b/x/axelarcork/types/codec.go @@ -15,9 +15,9 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { ) registry.RegisterImplementations((*govtypes.Content)(nil), - &AddManagedCellarIDsProposal{}, - &RemoveManagedCellarIDsProposal{}, - &ScheduledCorkProposal{}, + &AddAxelarManagedCellarIDsProposal{}, + &RemoveAxelarManagedCellarIDsProposal{}, + &AxelarScheduledCorkProposal{}, ) msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) diff --git a/x/axelarcork/types/proposal.go b/x/axelarcork/types/proposal.go index 9aa6ff41..39d3c186 100644 --- a/x/axelarcork/types/proposal.go +++ b/x/axelarcork/types/proposal.go @@ -20,22 +20,22 @@ const ( ProposalTypeRemoveChainConfiguration = "RemoveAxelarChainConfiguration" ) -var _ govtypes.Content = &AddManagedCellarIDsProposal{} -var _ govtypes.Content = &RemoveManagedCellarIDsProposal{} -var _ govtypes.Content = &ScheduledCorkProposal{} -var _ govtypes.Content = &CommunityPoolSpendProposal{} +var _ govtypes.Content = &AddAxelarManagedCellarIDsProposal{} +var _ govtypes.Content = &RemoveAxelarManagedCellarIDsProposal{} +var _ govtypes.Content = &AxelarScheduledCorkProposal{} +var _ govtypes.Content = &AxelarCommunityPoolSpendProposal{} var _ govtypes.Content = &AddChainConfigurationProposal{} var _ govtypes.Content = &RemoveChainConfigurationProposal{} func init() { govtypes.RegisterProposalType(ProposalTypeAddManagedCellarIDs) - govtypes.RegisterProposalTypeCodec(&AddManagedCellarIDsProposal{}, "sommelier/AddAxelarManagedCellarIDsProposal") + govtypes.RegisterProposalTypeCodec(&AddAxelarManagedCellarIDsProposal{}, "sommelier/AddAxelarManagedCellarIDsProposal") govtypes.RegisterProposalType(ProposalTypeRemoveManagedCellarIDs) - govtypes.RegisterProposalTypeCodec(&RemoveManagedCellarIDsProposal{}, "sommelier/RemoveAxelarManagedCellarIDsProposal") + govtypes.RegisterProposalTypeCodec(&RemoveAxelarManagedCellarIDsProposal{}, "sommelier/RemoveAxelarManagedCellarIDsProposal") govtypes.RegisterProposalType(ProposalTypeScheduledCork) - govtypes.RegisterProposalTypeCodec(&ScheduledCorkProposal{}, "sommelier/AxelarScheduledCorkProposal") + govtypes.RegisterProposalTypeCodec(&AxelarScheduledCorkProposal{}, "sommelier/AxelarScheduledCorkProposal") govtypes.RegisterProposalType(ProposalTypeAddChainConfiguration) govtypes.RegisterProposalTypeCodec(&AddChainConfigurationProposal{}, "sommelier/AddAxelarChainConfigurationProposal") @@ -45,8 +45,8 @@ func init() { } -func NewAddManagedCellarIDsProposal(title string, description string, chainName string, chainID uint64, cellarIds *CellarIDSet) *AddManagedCellarIDsProposal { - return &AddManagedCellarIDsProposal{ +func NewAddManagedCellarIDsProposal(title string, description string, chainName string, chainID uint64, cellarIds *CellarIDSet) *AddAxelarManagedCellarIDsProposal { + return &AddAxelarManagedCellarIDsProposal{ Title: title, Description: description, CellarIds: cellarIds, @@ -55,15 +55,15 @@ func NewAddManagedCellarIDsProposal(title string, description string, chainName } } -func (m *AddManagedCellarIDsProposal) ProposalRoute() string { +func (m *AddAxelarManagedCellarIDsProposal) ProposalRoute() string { return RouterKey } -func (m *AddManagedCellarIDsProposal) ProposalType() string { +func (m *AddAxelarManagedCellarIDsProposal) ProposalType() string { return ProposalTypeAddManagedCellarIDs } -func (m *AddManagedCellarIDsProposal) ValidateBasic() error { +func (m *AddAxelarManagedCellarIDsProposal) ValidateBasic() error { if err := govtypes.ValidateAbstract(m); err != nil { return err } @@ -75,8 +75,8 @@ func (m *AddManagedCellarIDsProposal) ValidateBasic() error { return nil } -func NewRemoveManagedCellarIDsProposal(title string, description string, chainName string, chainID uint64, cellarIds *CellarIDSet) *RemoveManagedCellarIDsProposal { - return &RemoveManagedCellarIDsProposal{ +func NewRemoveManagedCellarIDsProposal(title string, description string, chainName string, chainID uint64, cellarIds *CellarIDSet) *RemoveAxelarManagedCellarIDsProposal { + return &RemoveAxelarManagedCellarIDsProposal{ Title: title, Description: description, CellarIds: cellarIds, @@ -85,15 +85,15 @@ func NewRemoveManagedCellarIDsProposal(title string, description string, chainNa } } -func (m *RemoveManagedCellarIDsProposal) ProposalRoute() string { +func (m *RemoveAxelarManagedCellarIDsProposal) ProposalRoute() string { return RouterKey } -func (m *RemoveManagedCellarIDsProposal) ProposalType() string { +func (m *RemoveAxelarManagedCellarIDsProposal) ProposalType() string { return ProposalTypeRemoveManagedCellarIDs } -func (m *RemoveManagedCellarIDsProposal) ValidateBasic() error { +func (m *RemoveAxelarManagedCellarIDsProposal) ValidateBasic() error { if err := govtypes.ValidateAbstract(m); err != nil { return err } @@ -105,8 +105,8 @@ func (m *RemoveManagedCellarIDsProposal) ValidateBasic() error { return nil } -func NewScheduledCorkProposal(title string, description string, blockHeight uint64, chainName string, chainID uint64, targetContractAddress string, contractCallProtoJSON string) *ScheduledCorkProposal { - return &ScheduledCorkProposal{ +func NewScheduledCorkProposal(title string, description string, blockHeight uint64, chainName string, chainID uint64, targetContractAddress string, contractCallProtoJSON string) *AxelarScheduledCorkProposal { + return &AxelarScheduledCorkProposal{ Title: title, Description: description, BlockHeight: blockHeight, @@ -117,15 +117,15 @@ func NewScheduledCorkProposal(title string, description string, blockHeight uint } } -func (m *ScheduledCorkProposal) ProposalRoute() string { +func (m *AxelarScheduledCorkProposal) ProposalRoute() string { return RouterKey } -func (m *ScheduledCorkProposal) ProposalType() string { +func (m *AxelarScheduledCorkProposal) ProposalType() string { return ProposalTypeScheduledCork } -func (m *ScheduledCorkProposal) ValidateBasic() error { +func (m *AxelarScheduledCorkProposal) ValidateBasic() error { if err := govtypes.ValidateAbstract(m); err != nil { return err } @@ -145,8 +145,8 @@ func (m *ScheduledCorkProposal) ValidateBasic() error { return nil } -func NewCommunitySpendProposal(title string, description string, recipient string, chainID uint64, chainName string, amount sdk.Coin) *CommunityPoolSpendProposal { - return &CommunityPoolSpendProposal{ +func NewCommunitySpendProposal(title string, description string, recipient string, chainID uint64, chainName string, amount sdk.Coin) *AxelarCommunityPoolSpendProposal { + return &AxelarCommunityPoolSpendProposal{ Title: title, Description: description, Recipient: recipient, @@ -156,15 +156,15 @@ func NewCommunitySpendProposal(title string, description string, recipient strin } } -func (m *CommunityPoolSpendProposal) ProposalRoute() string { +func (m *AxelarCommunityPoolSpendProposal) ProposalRoute() string { return RouterKey } -func (m *CommunityPoolSpendProposal) ProposalType() string { +func (m *AxelarCommunityPoolSpendProposal) ProposalType() string { return ProposalTypeCommunitySpend } -func (m *CommunityPoolSpendProposal) ValidateBasic() error { +func (m *AxelarCommunityPoolSpendProposal) ValidateBasic() error { if err := govtypes.ValidateAbstract(m); err != nil { return err } diff --git a/x/axelarcork/types/proposal.pb.go b/x/axelarcork/types/proposal.pb.go index 515fc11b..87d7c059 100644 --- a/x/axelarcork/types/proposal.pb.go +++ b/x/axelarcork/types/proposal.pb.go @@ -24,7 +24,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -type AddManagedCellarIDsProposal struct { +type AddAxelarManagedCellarIDsProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ChainName string `protobuf:"bytes,3,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` @@ -32,18 +32,18 @@ type AddManagedCellarIDsProposal struct { CellarIds *CellarIDSet `protobuf:"bytes,5,opt,name=cellar_ids,json=cellarIds,proto3" json:"cellar_ids,omitempty"` } -func (m *AddManagedCellarIDsProposal) Reset() { *m = AddManagedCellarIDsProposal{} } -func (m *AddManagedCellarIDsProposal) String() string { return proto.CompactTextString(m) } -func (*AddManagedCellarIDsProposal) ProtoMessage() {} -func (*AddManagedCellarIDsProposal) Descriptor() ([]byte, []int) { +func (m *AddAxelarManagedCellarIDsProposal) Reset() { *m = AddAxelarManagedCellarIDsProposal{} } +func (m *AddAxelarManagedCellarIDsProposal) String() string { return proto.CompactTextString(m) } +func (*AddAxelarManagedCellarIDsProposal) ProtoMessage() {} +func (*AddAxelarManagedCellarIDsProposal) Descriptor() ([]byte, []int) { return fileDescriptor_38ae8c693397bc99, []int{0} } -func (m *AddManagedCellarIDsProposal) XXX_Unmarshal(b []byte) error { +func (m *AddAxelarManagedCellarIDsProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *AddManagedCellarIDsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *AddAxelarManagedCellarIDsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_AddManagedCellarIDsProposal.Marshal(b, m, deterministic) + return xxx_messageInfo_AddAxelarManagedCellarIDsProposal.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -53,47 +53,47 @@ func (m *AddManagedCellarIDsProposal) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *AddManagedCellarIDsProposal) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddManagedCellarIDsProposal.Merge(m, src) +func (m *AddAxelarManagedCellarIDsProposal) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddAxelarManagedCellarIDsProposal.Merge(m, src) } -func (m *AddManagedCellarIDsProposal) XXX_Size() int { +func (m *AddAxelarManagedCellarIDsProposal) XXX_Size() int { return m.Size() } -func (m *AddManagedCellarIDsProposal) XXX_DiscardUnknown() { - xxx_messageInfo_AddManagedCellarIDsProposal.DiscardUnknown(m) +func (m *AddAxelarManagedCellarIDsProposal) XXX_DiscardUnknown() { + xxx_messageInfo_AddAxelarManagedCellarIDsProposal.DiscardUnknown(m) } -var xxx_messageInfo_AddManagedCellarIDsProposal proto.InternalMessageInfo +var xxx_messageInfo_AddAxelarManagedCellarIDsProposal proto.InternalMessageInfo -func (m *AddManagedCellarIDsProposal) GetTitle() string { +func (m *AddAxelarManagedCellarIDsProposal) GetTitle() string { if m != nil { return m.Title } return "" } -func (m *AddManagedCellarIDsProposal) GetDescription() string { +func (m *AddAxelarManagedCellarIDsProposal) GetDescription() string { if m != nil { return m.Description } return "" } -func (m *AddManagedCellarIDsProposal) GetChainName() string { +func (m *AddAxelarManagedCellarIDsProposal) GetChainName() string { if m != nil { return m.ChainName } return "" } -func (m *AddManagedCellarIDsProposal) GetChainId() uint64 { +func (m *AddAxelarManagedCellarIDsProposal) GetChainId() uint64 { if m != nil { return m.ChainId } return 0 } -func (m *AddManagedCellarIDsProposal) GetCellarIds() *CellarIDSet { +func (m *AddAxelarManagedCellarIDsProposal) GetCellarIds() *CellarIDSet { if m != nil { return m.CellarIds } @@ -101,7 +101,7 @@ func (m *AddManagedCellarIDsProposal) GetCellarIds() *CellarIDSet { } // AddManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands -type AddManagedCellarIDsProposalWithDeposit struct { +type AddAxelarManagedCellarIDsProposalWithDeposit struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ChainName string `protobuf:"bytes,3,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` @@ -110,20 +110,22 @@ type AddManagedCellarIDsProposalWithDeposit struct { Deposit string `protobuf:"bytes,6,opt,name=deposit,proto3" json:"deposit,omitempty"` } -func (m *AddManagedCellarIDsProposalWithDeposit) Reset() { - *m = AddManagedCellarIDsProposalWithDeposit{} +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) Reset() { + *m = AddAxelarManagedCellarIDsProposalWithDeposit{} } -func (m *AddManagedCellarIDsProposalWithDeposit) String() string { return proto.CompactTextString(m) } -func (*AddManagedCellarIDsProposalWithDeposit) ProtoMessage() {} -func (*AddManagedCellarIDsProposalWithDeposit) Descriptor() ([]byte, []int) { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) String() string { + return proto.CompactTextString(m) +} +func (*AddAxelarManagedCellarIDsProposalWithDeposit) ProtoMessage() {} +func (*AddAxelarManagedCellarIDsProposalWithDeposit) Descriptor() ([]byte, []int) { return fileDescriptor_38ae8c693397bc99, []int{1} } -func (m *AddManagedCellarIDsProposalWithDeposit) XXX_Unmarshal(b []byte) error { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *AddManagedCellarIDsProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_AddManagedCellarIDsProposalWithDeposit.Marshal(b, m, deterministic) + return xxx_messageInfo_AddAxelarManagedCellarIDsProposalWithDeposit.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -133,61 +135,61 @@ func (m *AddManagedCellarIDsProposalWithDeposit) XXX_Marshal(b []byte, determini return b[:n], nil } } -func (m *AddManagedCellarIDsProposalWithDeposit) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddManagedCellarIDsProposalWithDeposit.Merge(m, src) +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddAxelarManagedCellarIDsProposalWithDeposit.Merge(m, src) } -func (m *AddManagedCellarIDsProposalWithDeposit) XXX_Size() int { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) XXX_Size() int { return m.Size() } -func (m *AddManagedCellarIDsProposalWithDeposit) XXX_DiscardUnknown() { - xxx_messageInfo_AddManagedCellarIDsProposalWithDeposit.DiscardUnknown(m) +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) XXX_DiscardUnknown() { + xxx_messageInfo_AddAxelarManagedCellarIDsProposalWithDeposit.DiscardUnknown(m) } -var xxx_messageInfo_AddManagedCellarIDsProposalWithDeposit proto.InternalMessageInfo +var xxx_messageInfo_AddAxelarManagedCellarIDsProposalWithDeposit proto.InternalMessageInfo -func (m *AddManagedCellarIDsProposalWithDeposit) GetTitle() string { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) GetTitle() string { if m != nil { return m.Title } return "" } -func (m *AddManagedCellarIDsProposalWithDeposit) GetDescription() string { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) GetDescription() string { if m != nil { return m.Description } return "" } -func (m *AddManagedCellarIDsProposalWithDeposit) GetChainName() string { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) GetChainName() string { if m != nil { return m.ChainName } return "" } -func (m *AddManagedCellarIDsProposalWithDeposit) GetChainId() uint64 { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) GetChainId() uint64 { if m != nil { return m.ChainId } return 0 } -func (m *AddManagedCellarIDsProposalWithDeposit) GetCellarIds() *CellarIDSet { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) GetCellarIds() *CellarIDSet { if m != nil { return m.CellarIds } return nil } -func (m *AddManagedCellarIDsProposalWithDeposit) GetDeposit() string { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) GetDeposit() string { if m != nil { return m.Deposit } return "" } -type RemoveManagedCellarIDsProposal struct { +type RemoveAxelarManagedCellarIDsProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ChainName string `protobuf:"bytes,3,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` @@ -195,18 +197,18 @@ type RemoveManagedCellarIDsProposal struct { CellarIds *CellarIDSet `protobuf:"bytes,5,opt,name=cellar_ids,json=cellarIds,proto3" json:"cellar_ids,omitempty"` } -func (m *RemoveManagedCellarIDsProposal) Reset() { *m = RemoveManagedCellarIDsProposal{} } -func (m *RemoveManagedCellarIDsProposal) String() string { return proto.CompactTextString(m) } -func (*RemoveManagedCellarIDsProposal) ProtoMessage() {} -func (*RemoveManagedCellarIDsProposal) Descriptor() ([]byte, []int) { +func (m *RemoveAxelarManagedCellarIDsProposal) Reset() { *m = RemoveAxelarManagedCellarIDsProposal{} } +func (m *RemoveAxelarManagedCellarIDsProposal) String() string { return proto.CompactTextString(m) } +func (*RemoveAxelarManagedCellarIDsProposal) ProtoMessage() {} +func (*RemoveAxelarManagedCellarIDsProposal) Descriptor() ([]byte, []int) { return fileDescriptor_38ae8c693397bc99, []int{2} } -func (m *RemoveManagedCellarIDsProposal) XXX_Unmarshal(b []byte) error { +func (m *RemoveAxelarManagedCellarIDsProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *RemoveManagedCellarIDsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *RemoveAxelarManagedCellarIDsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_RemoveManagedCellarIDsProposal.Marshal(b, m, deterministic) + return xxx_messageInfo_RemoveAxelarManagedCellarIDsProposal.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -216,47 +218,47 @@ func (m *RemoveManagedCellarIDsProposal) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *RemoveManagedCellarIDsProposal) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveManagedCellarIDsProposal.Merge(m, src) +func (m *RemoveAxelarManagedCellarIDsProposal) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveAxelarManagedCellarIDsProposal.Merge(m, src) } -func (m *RemoveManagedCellarIDsProposal) XXX_Size() int { +func (m *RemoveAxelarManagedCellarIDsProposal) XXX_Size() int { return m.Size() } -func (m *RemoveManagedCellarIDsProposal) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveManagedCellarIDsProposal.DiscardUnknown(m) +func (m *RemoveAxelarManagedCellarIDsProposal) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveAxelarManagedCellarIDsProposal.DiscardUnknown(m) } -var xxx_messageInfo_RemoveManagedCellarIDsProposal proto.InternalMessageInfo +var xxx_messageInfo_RemoveAxelarManagedCellarIDsProposal proto.InternalMessageInfo -func (m *RemoveManagedCellarIDsProposal) GetTitle() string { +func (m *RemoveAxelarManagedCellarIDsProposal) GetTitle() string { if m != nil { return m.Title } return "" } -func (m *RemoveManagedCellarIDsProposal) GetDescription() string { +func (m *RemoveAxelarManagedCellarIDsProposal) GetDescription() string { if m != nil { return m.Description } return "" } -func (m *RemoveManagedCellarIDsProposal) GetChainName() string { +func (m *RemoveAxelarManagedCellarIDsProposal) GetChainName() string { if m != nil { return m.ChainName } return "" } -func (m *RemoveManagedCellarIDsProposal) GetChainId() uint64 { +func (m *RemoveAxelarManagedCellarIDsProposal) GetChainId() uint64 { if m != nil { return m.ChainId } return 0 } -func (m *RemoveManagedCellarIDsProposal) GetCellarIds() *CellarIDSet { +func (m *RemoveAxelarManagedCellarIDsProposal) GetCellarIds() *CellarIDSet { if m != nil { return m.CellarIds } @@ -264,7 +266,7 @@ func (m *RemoveManagedCellarIDsProposal) GetCellarIds() *CellarIDSet { } // RemoveManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands -type RemoveManagedCellarIDsProposalWithDeposit struct { +type RemoveAxelarManagedCellarIDsProposalWithDeposit struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ChainName string `protobuf:"bytes,3,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` @@ -273,22 +275,22 @@ type RemoveManagedCellarIDsProposalWithDeposit struct { Deposit string `protobuf:"bytes,6,opt,name=deposit,proto3" json:"deposit,omitempty"` } -func (m *RemoveManagedCellarIDsProposalWithDeposit) Reset() { - *m = RemoveManagedCellarIDsProposalWithDeposit{} +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) Reset() { + *m = RemoveAxelarManagedCellarIDsProposalWithDeposit{} } -func (m *RemoveManagedCellarIDsProposalWithDeposit) String() string { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) String() string { return proto.CompactTextString(m) } -func (*RemoveManagedCellarIDsProposalWithDeposit) ProtoMessage() {} -func (*RemoveManagedCellarIDsProposalWithDeposit) Descriptor() ([]byte, []int) { +func (*RemoveAxelarManagedCellarIDsProposalWithDeposit) ProtoMessage() {} +func (*RemoveAxelarManagedCellarIDsProposalWithDeposit) Descriptor() ([]byte, []int) { return fileDescriptor_38ae8c693397bc99, []int{3} } -func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_Unmarshal(b []byte) error { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_RemoveManagedCellarIDsProposalWithDeposit.Marshal(b, m, deterministic) + return xxx_messageInfo_RemoveAxelarManagedCellarIDsProposalWithDeposit.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -298,61 +300,61 @@ func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_Marshal(b []byte, determ return b[:n], nil } } -func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveManagedCellarIDsProposalWithDeposit.Merge(m, src) +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveAxelarManagedCellarIDsProposalWithDeposit.Merge(m, src) } -func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_Size() int { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) XXX_Size() int { return m.Size() } -func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveManagedCellarIDsProposalWithDeposit.DiscardUnknown(m) +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveAxelarManagedCellarIDsProposalWithDeposit.DiscardUnknown(m) } -var xxx_messageInfo_RemoveManagedCellarIDsProposalWithDeposit proto.InternalMessageInfo +var xxx_messageInfo_RemoveAxelarManagedCellarIDsProposalWithDeposit proto.InternalMessageInfo -func (m *RemoveManagedCellarIDsProposalWithDeposit) GetTitle() string { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) GetTitle() string { if m != nil { return m.Title } return "" } -func (m *RemoveManagedCellarIDsProposalWithDeposit) GetDescription() string { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) GetDescription() string { if m != nil { return m.Description } return "" } -func (m *RemoveManagedCellarIDsProposalWithDeposit) GetChainName() string { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) GetChainName() string { if m != nil { return m.ChainName } return "" } -func (m *RemoveManagedCellarIDsProposalWithDeposit) GetChainId() uint64 { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) GetChainId() uint64 { if m != nil { return m.ChainId } return 0 } -func (m *RemoveManagedCellarIDsProposalWithDeposit) GetCellarIds() *CellarIDSet { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) GetCellarIds() *CellarIDSet { if m != nil { return m.CellarIds } return nil } -func (m *RemoveManagedCellarIDsProposalWithDeposit) GetDeposit() string { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) GetDeposit() string { if m != nil { return m.Deposit } return "" } -type ScheduledCorkProposal struct { +type AxelarScheduledCorkProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` BlockHeight uint64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` @@ -379,18 +381,18 @@ type ScheduledCorkProposal struct { ContractCallProtoJson string `protobuf:"bytes,7,opt,name=contract_call_proto_json,json=contractCallProtoJson,proto3" json:"contract_call_proto_json,omitempty"` } -func (m *ScheduledCorkProposal) Reset() { *m = ScheduledCorkProposal{} } -func (m *ScheduledCorkProposal) String() string { return proto.CompactTextString(m) } -func (*ScheduledCorkProposal) ProtoMessage() {} -func (*ScheduledCorkProposal) Descriptor() ([]byte, []int) { +func (m *AxelarScheduledCorkProposal) Reset() { *m = AxelarScheduledCorkProposal{} } +func (m *AxelarScheduledCorkProposal) String() string { return proto.CompactTextString(m) } +func (*AxelarScheduledCorkProposal) ProtoMessage() {} +func (*AxelarScheduledCorkProposal) Descriptor() ([]byte, []int) { return fileDescriptor_38ae8c693397bc99, []int{4} } -func (m *ScheduledCorkProposal) XXX_Unmarshal(b []byte) error { +func (m *AxelarScheduledCorkProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ScheduledCorkProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *AxelarScheduledCorkProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ScheduledCorkProposal.Marshal(b, m, deterministic) + return xxx_messageInfo_AxelarScheduledCorkProposal.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -400,61 +402,61 @@ func (m *ScheduledCorkProposal) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *ScheduledCorkProposal) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScheduledCorkProposal.Merge(m, src) +func (m *AxelarScheduledCorkProposal) XXX_Merge(src proto.Message) { + xxx_messageInfo_AxelarScheduledCorkProposal.Merge(m, src) } -func (m *ScheduledCorkProposal) XXX_Size() int { +func (m *AxelarScheduledCorkProposal) XXX_Size() int { return m.Size() } -func (m *ScheduledCorkProposal) XXX_DiscardUnknown() { - xxx_messageInfo_ScheduledCorkProposal.DiscardUnknown(m) +func (m *AxelarScheduledCorkProposal) XXX_DiscardUnknown() { + xxx_messageInfo_AxelarScheduledCorkProposal.DiscardUnknown(m) } -var xxx_messageInfo_ScheduledCorkProposal proto.InternalMessageInfo +var xxx_messageInfo_AxelarScheduledCorkProposal proto.InternalMessageInfo -func (m *ScheduledCorkProposal) GetTitle() string { +func (m *AxelarScheduledCorkProposal) GetTitle() string { if m != nil { return m.Title } return "" } -func (m *ScheduledCorkProposal) GetDescription() string { +func (m *AxelarScheduledCorkProposal) GetDescription() string { if m != nil { return m.Description } return "" } -func (m *ScheduledCorkProposal) GetBlockHeight() uint64 { +func (m *AxelarScheduledCorkProposal) GetBlockHeight() uint64 { if m != nil { return m.BlockHeight } return 0 } -func (m *ScheduledCorkProposal) GetChainName() string { +func (m *AxelarScheduledCorkProposal) GetChainName() string { if m != nil { return m.ChainName } return "" } -func (m *ScheduledCorkProposal) GetChainId() uint64 { +func (m *AxelarScheduledCorkProposal) GetChainId() uint64 { if m != nil { return m.ChainId } return 0 } -func (m *ScheduledCorkProposal) GetTargetContractAddress() string { +func (m *AxelarScheduledCorkProposal) GetTargetContractAddress() string { if m != nil { return m.TargetContractAddress } return "" } -func (m *ScheduledCorkProposal) GetContractCallProtoJson() string { +func (m *AxelarScheduledCorkProposal) GetContractCallProtoJson() string { if m != nil { return m.ContractCallProtoJson } @@ -462,7 +464,7 @@ func (m *ScheduledCorkProposal) GetContractCallProtoJson() string { } // ScheduledCorkProposalWithDeposit is a specific definition for CLI commands -type ScheduledCorkProposalWithDeposit struct { +type AxelarScheduledCorkProposalWithDeposit struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` BlockHeight uint64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` @@ -473,18 +475,20 @@ type ScheduledCorkProposalWithDeposit struct { Deposit string `protobuf:"bytes,8,opt,name=deposit,proto3" json:"deposit,omitempty"` } -func (m *ScheduledCorkProposalWithDeposit) Reset() { *m = ScheduledCorkProposalWithDeposit{} } -func (m *ScheduledCorkProposalWithDeposit) String() string { return proto.CompactTextString(m) } -func (*ScheduledCorkProposalWithDeposit) ProtoMessage() {} -func (*ScheduledCorkProposalWithDeposit) Descriptor() ([]byte, []int) { +func (m *AxelarScheduledCorkProposalWithDeposit) Reset() { + *m = AxelarScheduledCorkProposalWithDeposit{} +} +func (m *AxelarScheduledCorkProposalWithDeposit) String() string { return proto.CompactTextString(m) } +func (*AxelarScheduledCorkProposalWithDeposit) ProtoMessage() {} +func (*AxelarScheduledCorkProposalWithDeposit) Descriptor() ([]byte, []int) { return fileDescriptor_38ae8c693397bc99, []int{5} } -func (m *ScheduledCorkProposalWithDeposit) XXX_Unmarshal(b []byte) error { +func (m *AxelarScheduledCorkProposalWithDeposit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ScheduledCorkProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *AxelarScheduledCorkProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ScheduledCorkProposalWithDeposit.Marshal(b, m, deterministic) + return xxx_messageInfo_AxelarScheduledCorkProposalWithDeposit.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -494,75 +498,75 @@ func (m *ScheduledCorkProposalWithDeposit) XXX_Marshal(b []byte, deterministic b return b[:n], nil } } -func (m *ScheduledCorkProposalWithDeposit) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScheduledCorkProposalWithDeposit.Merge(m, src) +func (m *AxelarScheduledCorkProposalWithDeposit) XXX_Merge(src proto.Message) { + xxx_messageInfo_AxelarScheduledCorkProposalWithDeposit.Merge(m, src) } -func (m *ScheduledCorkProposalWithDeposit) XXX_Size() int { +func (m *AxelarScheduledCorkProposalWithDeposit) XXX_Size() int { return m.Size() } -func (m *ScheduledCorkProposalWithDeposit) XXX_DiscardUnknown() { - xxx_messageInfo_ScheduledCorkProposalWithDeposit.DiscardUnknown(m) +func (m *AxelarScheduledCorkProposalWithDeposit) XXX_DiscardUnknown() { + xxx_messageInfo_AxelarScheduledCorkProposalWithDeposit.DiscardUnknown(m) } -var xxx_messageInfo_ScheduledCorkProposalWithDeposit proto.InternalMessageInfo +var xxx_messageInfo_AxelarScheduledCorkProposalWithDeposit proto.InternalMessageInfo -func (m *ScheduledCorkProposalWithDeposit) GetTitle() string { +func (m *AxelarScheduledCorkProposalWithDeposit) GetTitle() string { if m != nil { return m.Title } return "" } -func (m *ScheduledCorkProposalWithDeposit) GetDescription() string { +func (m *AxelarScheduledCorkProposalWithDeposit) GetDescription() string { if m != nil { return m.Description } return "" } -func (m *ScheduledCorkProposalWithDeposit) GetBlockHeight() uint64 { +func (m *AxelarScheduledCorkProposalWithDeposit) GetBlockHeight() uint64 { if m != nil { return m.BlockHeight } return 0 } -func (m *ScheduledCorkProposalWithDeposit) GetChainName() string { +func (m *AxelarScheduledCorkProposalWithDeposit) GetChainName() string { if m != nil { return m.ChainName } return "" } -func (m *ScheduledCorkProposalWithDeposit) GetChainId() uint64 { +func (m *AxelarScheduledCorkProposalWithDeposit) GetChainId() uint64 { if m != nil { return m.ChainId } return 0 } -func (m *ScheduledCorkProposalWithDeposit) GetTargetContractAddress() string { +func (m *AxelarScheduledCorkProposalWithDeposit) GetTargetContractAddress() string { if m != nil { return m.TargetContractAddress } return "" } -func (m *ScheduledCorkProposalWithDeposit) GetContractCallProtoJson() string { +func (m *AxelarScheduledCorkProposalWithDeposit) GetContractCallProtoJson() string { if m != nil { return m.ContractCallProtoJson } return "" } -func (m *ScheduledCorkProposalWithDeposit) GetDeposit() string { +func (m *AxelarScheduledCorkProposalWithDeposit) GetDeposit() string { if m != nil { return m.Deposit } return "" } -type CommunityPoolSpendProposal struct { +type AxelarCommunityPoolSpendProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` @@ -571,18 +575,18 @@ type CommunityPoolSpendProposal struct { Amount types.Coin `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount"` } -func (m *CommunityPoolSpendProposal) Reset() { *m = CommunityPoolSpendProposal{} } -func (m *CommunityPoolSpendProposal) String() string { return proto.CompactTextString(m) } -func (*CommunityPoolSpendProposal) ProtoMessage() {} -func (*CommunityPoolSpendProposal) Descriptor() ([]byte, []int) { +func (m *AxelarCommunityPoolSpendProposal) Reset() { *m = AxelarCommunityPoolSpendProposal{} } +func (m *AxelarCommunityPoolSpendProposal) String() string { return proto.CompactTextString(m) } +func (*AxelarCommunityPoolSpendProposal) ProtoMessage() {} +func (*AxelarCommunityPoolSpendProposal) Descriptor() ([]byte, []int) { return fileDescriptor_38ae8c693397bc99, []int{6} } -func (m *CommunityPoolSpendProposal) XXX_Unmarshal(b []byte) error { +func (m *AxelarCommunityPoolSpendProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CommunityPoolSpendProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *AxelarCommunityPoolSpendProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CommunityPoolSpendProposal.Marshal(b, m, deterministic) + return xxx_messageInfo_AxelarCommunityPoolSpendProposal.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -592,54 +596,54 @@ func (m *CommunityPoolSpendProposal) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *CommunityPoolSpendProposal) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommunityPoolSpendProposal.Merge(m, src) +func (m *AxelarCommunityPoolSpendProposal) XXX_Merge(src proto.Message) { + xxx_messageInfo_AxelarCommunityPoolSpendProposal.Merge(m, src) } -func (m *CommunityPoolSpendProposal) XXX_Size() int { +func (m *AxelarCommunityPoolSpendProposal) XXX_Size() int { return m.Size() } -func (m *CommunityPoolSpendProposal) XXX_DiscardUnknown() { - xxx_messageInfo_CommunityPoolSpendProposal.DiscardUnknown(m) +func (m *AxelarCommunityPoolSpendProposal) XXX_DiscardUnknown() { + xxx_messageInfo_AxelarCommunityPoolSpendProposal.DiscardUnknown(m) } -var xxx_messageInfo_CommunityPoolSpendProposal proto.InternalMessageInfo +var xxx_messageInfo_AxelarCommunityPoolSpendProposal proto.InternalMessageInfo -func (m *CommunityPoolSpendProposal) GetTitle() string { +func (m *AxelarCommunityPoolSpendProposal) GetTitle() string { if m != nil { return m.Title } return "" } -func (m *CommunityPoolSpendProposal) GetDescription() string { +func (m *AxelarCommunityPoolSpendProposal) GetDescription() string { if m != nil { return m.Description } return "" } -func (m *CommunityPoolSpendProposal) GetRecipient() string { +func (m *AxelarCommunityPoolSpendProposal) GetRecipient() string { if m != nil { return m.Recipient } return "" } -func (m *CommunityPoolSpendProposal) GetChainId() uint64 { +func (m *AxelarCommunityPoolSpendProposal) GetChainId() uint64 { if m != nil { return m.ChainId } return 0 } -func (m *CommunityPoolSpendProposal) GetChainName() string { +func (m *AxelarCommunityPoolSpendProposal) GetChainName() string { if m != nil { return m.ChainName } return "" } -func (m *CommunityPoolSpendProposal) GetAmount() types.Coin { +func (m *AxelarCommunityPoolSpendProposal) GetAmount() types.Coin { if m != nil { return m.Amount } @@ -648,7 +652,7 @@ func (m *CommunityPoolSpendProposal) GetAmount() types.Coin { // This format of the community spend Ethereum proposal is specifically for // the CLI to allow simple text serialization. -type CommunityPoolSpendProposalForCLI struct { +type AxelarCommunityPoolSpendProposalForCLI struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty" yaml:"recipient"` @@ -658,18 +662,20 @@ type CommunityPoolSpendProposalForCLI struct { Deposit string `protobuf:"bytes,7,opt,name=deposit,proto3" json:"deposit,omitempty" yaml:"deposit"` } -func (m *CommunityPoolSpendProposalForCLI) Reset() { *m = CommunityPoolSpendProposalForCLI{} } -func (m *CommunityPoolSpendProposalForCLI) String() string { return proto.CompactTextString(m) } -func (*CommunityPoolSpendProposalForCLI) ProtoMessage() {} -func (*CommunityPoolSpendProposalForCLI) Descriptor() ([]byte, []int) { +func (m *AxelarCommunityPoolSpendProposalForCLI) Reset() { + *m = AxelarCommunityPoolSpendProposalForCLI{} +} +func (m *AxelarCommunityPoolSpendProposalForCLI) String() string { return proto.CompactTextString(m) } +func (*AxelarCommunityPoolSpendProposalForCLI) ProtoMessage() {} +func (*AxelarCommunityPoolSpendProposalForCLI) Descriptor() ([]byte, []int) { return fileDescriptor_38ae8c693397bc99, []int{7} } -func (m *CommunityPoolSpendProposalForCLI) XXX_Unmarshal(b []byte) error { +func (m *AxelarCommunityPoolSpendProposalForCLI) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CommunityPoolSpendProposalForCLI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *AxelarCommunityPoolSpendProposalForCLI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CommunityPoolSpendProposalForCLI.Marshal(b, m, deterministic) + return xxx_messageInfo_AxelarCommunityPoolSpendProposalForCLI.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -679,17 +685,17 @@ func (m *CommunityPoolSpendProposalForCLI) XXX_Marshal(b []byte, deterministic b return b[:n], nil } } -func (m *CommunityPoolSpendProposalForCLI) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommunityPoolSpendProposalForCLI.Merge(m, src) +func (m *AxelarCommunityPoolSpendProposalForCLI) XXX_Merge(src proto.Message) { + xxx_messageInfo_AxelarCommunityPoolSpendProposalForCLI.Merge(m, src) } -func (m *CommunityPoolSpendProposalForCLI) XXX_Size() int { +func (m *AxelarCommunityPoolSpendProposalForCLI) XXX_Size() int { return m.Size() } -func (m *CommunityPoolSpendProposalForCLI) XXX_DiscardUnknown() { - xxx_messageInfo_CommunityPoolSpendProposalForCLI.DiscardUnknown(m) +func (m *AxelarCommunityPoolSpendProposalForCLI) XXX_DiscardUnknown() { + xxx_messageInfo_AxelarCommunityPoolSpendProposalForCLI.DiscardUnknown(m) } -var xxx_messageInfo_CommunityPoolSpendProposalForCLI proto.InternalMessageInfo +var xxx_messageInfo_AxelarCommunityPoolSpendProposalForCLI proto.InternalMessageInfo type AddChainConfigurationProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` @@ -954,14 +960,14 @@ func (m *RemoveChainConfigurationProposalWithDeposit) GetDeposit() string { } func init() { - proto.RegisterType((*AddManagedCellarIDsProposal)(nil), "axelar_cork.v1.AddManagedCellarIDsProposal") - proto.RegisterType((*AddManagedCellarIDsProposalWithDeposit)(nil), "axelar_cork.v1.AddManagedCellarIDsProposalWithDeposit") - proto.RegisterType((*RemoveManagedCellarIDsProposal)(nil), "axelar_cork.v1.RemoveManagedCellarIDsProposal") - proto.RegisterType((*RemoveManagedCellarIDsProposalWithDeposit)(nil), "axelar_cork.v1.RemoveManagedCellarIDsProposalWithDeposit") - proto.RegisterType((*ScheduledCorkProposal)(nil), "axelar_cork.v1.ScheduledCorkProposal") - proto.RegisterType((*ScheduledCorkProposalWithDeposit)(nil), "axelar_cork.v1.ScheduledCorkProposalWithDeposit") - proto.RegisterType((*CommunityPoolSpendProposal)(nil), "axelar_cork.v1.CommunityPoolSpendProposal") - proto.RegisterType((*CommunityPoolSpendProposalForCLI)(nil), "axelar_cork.v1.CommunityPoolSpendProposalForCLI") + proto.RegisterType((*AddAxelarManagedCellarIDsProposal)(nil), "axelar_cork.v1.AddAxelarManagedCellarIDsProposal") + proto.RegisterType((*AddAxelarManagedCellarIDsProposalWithDeposit)(nil), "axelar_cork.v1.AddAxelarManagedCellarIDsProposalWithDeposit") + proto.RegisterType((*RemoveAxelarManagedCellarIDsProposal)(nil), "axelar_cork.v1.RemoveAxelarManagedCellarIDsProposal") + proto.RegisterType((*RemoveAxelarManagedCellarIDsProposalWithDeposit)(nil), "axelar_cork.v1.RemoveAxelarManagedCellarIDsProposalWithDeposit") + proto.RegisterType((*AxelarScheduledCorkProposal)(nil), "axelar_cork.v1.AxelarScheduledCorkProposal") + proto.RegisterType((*AxelarScheduledCorkProposalWithDeposit)(nil), "axelar_cork.v1.AxelarScheduledCorkProposalWithDeposit") + proto.RegisterType((*AxelarCommunityPoolSpendProposal)(nil), "axelar_cork.v1.AxelarCommunityPoolSpendProposal") + proto.RegisterType((*AxelarCommunityPoolSpendProposalForCLI)(nil), "axelar_cork.v1.AxelarCommunityPoolSpendProposalForCLI") proto.RegisterType((*AddChainConfigurationProposal)(nil), "axelar_cork.v1.AddChainConfigurationProposal") proto.RegisterType((*AddChainConfigurationProposalWithDeposit)(nil), "axelar_cork.v1.AddChainConfigurationProposalWithDeposit") proto.RegisterType((*RemoveChainConfigurationProposal)(nil), "axelar_cork.v1.RemoveChainConfigurationProposal") @@ -971,63 +977,64 @@ func init() { func init() { proto.RegisterFile("axelar-cork/v1/proposal.proto", fileDescriptor_38ae8c693397bc99) } var fileDescriptor_38ae8c693397bc99 = []byte{ - // 843 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x96, 0xcf, 0x6f, 0xdc, 0x44, - 0x14, 0xc7, 0x77, 0x92, 0xcd, 0x8f, 0x9d, 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0x33, 0x80, 0x1f, 0xfc, 0xdf, 0x77, 0xaf, 0x83, 0xe6, 0xe5, 0x29, 0x5c, 0xce, 0xc4, 0xe9, 0x3e, - 0x3b, 0x33, 0xc0, 0xf3, 0x33, 0x03, 0xfc, 0x7d, 0x66, 0x80, 0x1f, 0xcf, 0x8d, 0xc6, 0xf3, 0x73, - 0xa3, 0xf1, 0xd7, 0xb9, 0xd1, 0xf8, 0xce, 0x0e, 0x98, 0x18, 0x0c, 0xfb, 0x96, 0xcf, 0x23, 0x3b, - 0xa1, 0x41, 0x70, 0xf2, 0x78, 0x64, 0x67, 0x3c, 0x8a, 0x68, 0xc8, 0x68, 0x6a, 0x3f, 0xb1, 0x55, - 0x77, 0xe4, 0xdf, 0x70, 0x71, 0x92, 0xd0, 0xac, 0xbf, 0x2c, 0x8f, 0xe7, 0x8f, 0xff, 0x0b, 0x00, - 0x00, 0xff, 0xff, 0xc6, 0xac, 0xa6, 0x10, 0xd1, 0x0b, 0x00, 0x00, -} - -func (m *AddManagedCellarIDsProposal) Marshal() (dAtA []byte, err error) { + // 849 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x96, 0xcf, 0x6f, 0xe3, 0x44, + 0x14, 0xc7, 0x33, 0x6d, 0xfa, 0x23, 0x93, 0xb2, 0xec, 0x7a, 0xbb, 0xe0, 0xee, 0xd2, 0x38, 0x6b, + 0xa1, 0x55, 0x11, 0x8b, 0xad, 0x16, 0xc4, 0xa2, 0xdc, 0x62, 0xaf, 0x10, 0x41, 0x80, 0xaa, 0xe4, + 0x80, 0xc4, 0xc5, 0x9a, 0x78, 0x06, 0x67, 0xb6, 0xb6, 0xc7, 0xb2, 0x27, 0xd1, 0xe6, 0x2f, 0x60, + 0x8f, 0x1c, 0x11, 0xa7, 0x48, 0x5c, 0xf9, 0x43, 0x7a, 0x5c, 0x24, 0x0e, 0x9c, 0x2c, 0xd4, 0x5e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 0xe3, 0x67, 0x23, 0x33, 0x61, 0x41, 0x40, + 0x7c, 0x4a, 0x62, 0xf3, 0xb9, 0x29, 0xab, 0x23, 0x7e, 0xdb, 0xf9, 0x38, 0x22, 0x49, 0x7f, 0x53, + 0x8c, 0xea, 0x8f, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x7f, 0x9c, 0xc2, 0xe0, 0x01, 0x0c, 0x00, + 0x00, +} + +func (m *AddAxelarManagedCellarIDsProposal) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1037,12 +1044,12 @@ func (m *AddManagedCellarIDsProposal) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AddManagedCellarIDsProposal) MarshalTo(dAtA []byte) (int, error) { +func (m *AddAxelarManagedCellarIDsProposal) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AddManagedCellarIDsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AddAxelarManagedCellarIDsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1088,7 +1095,7 @@ func (m *AddManagedCellarIDsProposal) MarshalToSizedBuffer(dAtA []byte) (int, er return len(dAtA) - i, nil } -func (m *AddManagedCellarIDsProposalWithDeposit) Marshal() (dAtA []byte, err error) { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1098,12 +1105,12 @@ func (m *AddManagedCellarIDsProposalWithDeposit) Marshal() (dAtA []byte, err err return dAtA[:n], nil } -func (m *AddManagedCellarIDsProposalWithDeposit) MarshalTo(dAtA []byte) (int, error) { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AddManagedCellarIDsProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1156,7 +1163,7 @@ func (m *AddManagedCellarIDsProposalWithDeposit) MarshalToSizedBuffer(dAtA []byt return len(dAtA) - i, nil } -func (m *RemoveManagedCellarIDsProposal) Marshal() (dAtA []byte, err error) { +func (m *RemoveAxelarManagedCellarIDsProposal) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1166,12 +1173,12 @@ func (m *RemoveManagedCellarIDsProposal) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RemoveManagedCellarIDsProposal) MarshalTo(dAtA []byte) (int, error) { +func (m *RemoveAxelarManagedCellarIDsProposal) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *RemoveManagedCellarIDsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *RemoveAxelarManagedCellarIDsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1217,7 +1224,7 @@ func (m *RemoveManagedCellarIDsProposal) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *RemoveManagedCellarIDsProposalWithDeposit) Marshal() (dAtA []byte, err error) { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1227,12 +1234,12 @@ func (m *RemoveManagedCellarIDsProposalWithDeposit) Marshal() (dAtA []byte, err return dAtA[:n], nil } -func (m *RemoveManagedCellarIDsProposalWithDeposit) MarshalTo(dAtA []byte) (int, error) { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *RemoveManagedCellarIDsProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1285,7 +1292,7 @@ func (m *RemoveManagedCellarIDsProposalWithDeposit) MarshalToSizedBuffer(dAtA [] return len(dAtA) - i, nil } -func (m *ScheduledCorkProposal) Marshal() (dAtA []byte, err error) { +func (m *AxelarScheduledCorkProposal) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1295,12 +1302,12 @@ func (m *ScheduledCorkProposal) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ScheduledCorkProposal) MarshalTo(dAtA []byte) (int, error) { +func (m *AxelarScheduledCorkProposal) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ScheduledCorkProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AxelarScheduledCorkProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1353,7 +1360,7 @@ func (m *ScheduledCorkProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ScheduledCorkProposalWithDeposit) Marshal() (dAtA []byte, err error) { +func (m *AxelarScheduledCorkProposalWithDeposit) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1363,12 +1370,12 @@ func (m *ScheduledCorkProposalWithDeposit) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ScheduledCorkProposalWithDeposit) MarshalTo(dAtA []byte) (int, error) { +func (m *AxelarScheduledCorkProposalWithDeposit) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ScheduledCorkProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AxelarScheduledCorkProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1428,7 +1435,7 @@ func (m *ScheduledCorkProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (in return len(dAtA) - i, nil } -func (m *CommunityPoolSpendProposal) Marshal() (dAtA []byte, err error) { +func (m *AxelarCommunityPoolSpendProposal) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1438,12 +1445,12 @@ func (m *CommunityPoolSpendProposal) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CommunityPoolSpendProposal) MarshalTo(dAtA []byte) (int, error) { +func (m *AxelarCommunityPoolSpendProposal) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CommunityPoolSpendProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AxelarCommunityPoolSpendProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1494,7 +1501,7 @@ func (m *CommunityPoolSpendProposal) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *CommunityPoolSpendProposalForCLI) Marshal() (dAtA []byte, err error) { +func (m *AxelarCommunityPoolSpendProposalForCLI) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1504,12 +1511,12 @@ func (m *CommunityPoolSpendProposalForCLI) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CommunityPoolSpendProposalForCLI) MarshalTo(dAtA []byte) (int, error) { +func (m *AxelarCommunityPoolSpendProposalForCLI) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CommunityPoolSpendProposalForCLI) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AxelarCommunityPoolSpendProposalForCLI) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1771,7 +1778,7 @@ func encodeVarintProposal(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } -func (m *AddManagedCellarIDsProposal) Size() (n int) { +func (m *AddAxelarManagedCellarIDsProposal) Size() (n int) { if m == nil { return 0 } @@ -1799,7 +1806,7 @@ func (m *AddManagedCellarIDsProposal) Size() (n int) { return n } -func (m *AddManagedCellarIDsProposalWithDeposit) Size() (n int) { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) Size() (n int) { if m == nil { return 0 } @@ -1831,7 +1838,7 @@ func (m *AddManagedCellarIDsProposalWithDeposit) Size() (n int) { return n } -func (m *RemoveManagedCellarIDsProposal) Size() (n int) { +func (m *RemoveAxelarManagedCellarIDsProposal) Size() (n int) { if m == nil { return 0 } @@ -1859,7 +1866,7 @@ func (m *RemoveManagedCellarIDsProposal) Size() (n int) { return n } -func (m *RemoveManagedCellarIDsProposalWithDeposit) Size() (n int) { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) Size() (n int) { if m == nil { return 0 } @@ -1891,7 +1898,7 @@ func (m *RemoveManagedCellarIDsProposalWithDeposit) Size() (n int) { return n } -func (m *ScheduledCorkProposal) Size() (n int) { +func (m *AxelarScheduledCorkProposal) Size() (n int) { if m == nil { return 0 } @@ -1926,7 +1933,7 @@ func (m *ScheduledCorkProposal) Size() (n int) { return n } -func (m *ScheduledCorkProposalWithDeposit) Size() (n int) { +func (m *AxelarScheduledCorkProposalWithDeposit) Size() (n int) { if m == nil { return 0 } @@ -1965,7 +1972,7 @@ func (m *ScheduledCorkProposalWithDeposit) Size() (n int) { return n } -func (m *CommunityPoolSpendProposal) Size() (n int) { +func (m *AxelarCommunityPoolSpendProposal) Size() (n int) { if m == nil { return 0 } @@ -1995,7 +2002,7 @@ func (m *CommunityPoolSpendProposal) Size() (n int) { return n } -func (m *CommunityPoolSpendProposalForCLI) Size() (n int) { +func (m *AxelarCommunityPoolSpendProposalForCLI) Size() (n int) { if m == nil { return 0 } @@ -2127,7 +2134,7 @@ func sovProposal(x uint64) (n int) { func sozProposal(x uint64) (n int) { return sovProposal(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *AddManagedCellarIDsProposal) Unmarshal(dAtA []byte) error { +func (m *AddAxelarManagedCellarIDsProposal) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2150,10 +2157,10 @@ func (m *AddManagedCellarIDsProposal) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AddManagedCellarIDsProposal: wiretype end group for non-group") + return fmt.Errorf("proto: AddAxelarManagedCellarIDsProposal: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AddManagedCellarIDsProposal: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AddAxelarManagedCellarIDsProposal: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2328,7 +2335,7 @@ func (m *AddManagedCellarIDsProposal) Unmarshal(dAtA []byte) error { } return nil } -func (m *AddManagedCellarIDsProposalWithDeposit) Unmarshal(dAtA []byte) error { +func (m *AddAxelarManagedCellarIDsProposalWithDeposit) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2351,10 +2358,10 @@ func (m *AddManagedCellarIDsProposalWithDeposit) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AddManagedCellarIDsProposalWithDeposit: wiretype end group for non-group") + return fmt.Errorf("proto: AddAxelarManagedCellarIDsProposalWithDeposit: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AddManagedCellarIDsProposalWithDeposit: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AddAxelarManagedCellarIDsProposalWithDeposit: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2561,7 +2568,7 @@ func (m *AddManagedCellarIDsProposalWithDeposit) Unmarshal(dAtA []byte) error { } return nil } -func (m *RemoveManagedCellarIDsProposal) Unmarshal(dAtA []byte) error { +func (m *RemoveAxelarManagedCellarIDsProposal) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2584,10 +2591,10 @@ func (m *RemoveManagedCellarIDsProposal) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RemoveManagedCellarIDsProposal: wiretype end group for non-group") + return fmt.Errorf("proto: RemoveAxelarManagedCellarIDsProposal: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RemoveManagedCellarIDsProposal: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RemoveAxelarManagedCellarIDsProposal: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2762,7 +2769,7 @@ func (m *RemoveManagedCellarIDsProposal) Unmarshal(dAtA []byte) error { } return nil } -func (m *RemoveManagedCellarIDsProposalWithDeposit) Unmarshal(dAtA []byte) error { +func (m *RemoveAxelarManagedCellarIDsProposalWithDeposit) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2785,10 +2792,10 @@ func (m *RemoveManagedCellarIDsProposalWithDeposit) Unmarshal(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RemoveManagedCellarIDsProposalWithDeposit: wiretype end group for non-group") + return fmt.Errorf("proto: RemoveAxelarManagedCellarIDsProposalWithDeposit: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RemoveManagedCellarIDsProposalWithDeposit: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RemoveAxelarManagedCellarIDsProposalWithDeposit: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2995,7 +3002,7 @@ func (m *RemoveManagedCellarIDsProposalWithDeposit) Unmarshal(dAtA []byte) error } return nil } -func (m *ScheduledCorkProposal) Unmarshal(dAtA []byte) error { +func (m *AxelarScheduledCorkProposal) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3018,10 +3025,10 @@ func (m *ScheduledCorkProposal) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ScheduledCorkProposal: wiretype end group for non-group") + return fmt.Errorf("proto: AxelarScheduledCorkProposal: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ScheduledCorkProposal: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AxelarScheduledCorkProposal: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3243,7 +3250,7 @@ func (m *ScheduledCorkProposal) Unmarshal(dAtA []byte) error { } return nil } -func (m *ScheduledCorkProposalWithDeposit) Unmarshal(dAtA []byte) error { +func (m *AxelarScheduledCorkProposalWithDeposit) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3266,10 +3273,10 @@ func (m *ScheduledCorkProposalWithDeposit) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ScheduledCorkProposalWithDeposit: wiretype end group for non-group") + return fmt.Errorf("proto: AxelarScheduledCorkProposalWithDeposit: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ScheduledCorkProposalWithDeposit: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AxelarScheduledCorkProposalWithDeposit: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3523,7 +3530,7 @@ func (m *ScheduledCorkProposalWithDeposit) Unmarshal(dAtA []byte) error { } return nil } -func (m *CommunityPoolSpendProposal) Unmarshal(dAtA []byte) error { +func (m *AxelarCommunityPoolSpendProposal) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3546,10 +3553,10 @@ func (m *CommunityPoolSpendProposal) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CommunityPoolSpendProposal: wiretype end group for non-group") + return fmt.Errorf("proto: AxelarCommunityPoolSpendProposal: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CommunityPoolSpendProposal: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AxelarCommunityPoolSpendProposal: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3753,7 +3760,7 @@ func (m *CommunityPoolSpendProposal) Unmarshal(dAtA []byte) error { } return nil } -func (m *CommunityPoolSpendProposalForCLI) Unmarshal(dAtA []byte) error { +func (m *AxelarCommunityPoolSpendProposalForCLI) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3776,10 +3783,10 @@ func (m *CommunityPoolSpendProposalForCLI) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CommunityPoolSpendProposalForCLI: wiretype end group for non-group") + return fmt.Errorf("proto: AxelarCommunityPoolSpendProposalForCLI: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CommunityPoolSpendProposalForCLI: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AxelarCommunityPoolSpendProposalForCLI: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: diff --git a/x/axelarcork/types/proposal_test.go b/x/axelarcork/types/proposal_test.go index e867f015..2aac3a54 100644 --- a/x/axelarcork/types/proposal_test.go +++ b/x/axelarcork/types/proposal_test.go @@ -10,13 +10,13 @@ import ( func TestScheduledCorkProposalValidation(t *testing.T) { testCases := []struct { name string - scheduledCorkProposal ScheduledCorkProposal + scheduledCorkProposal AxelarScheduledCorkProposal expPass bool err error }{ { name: "Happy path", - scheduledCorkProposal: ScheduledCorkProposal{ + scheduledCorkProposal: AxelarScheduledCorkProposal{ Title: "Scheduled Cork", Description: "Schedules a cork via governance", BlockHeight: 1, @@ -28,7 +28,7 @@ func TestScheduledCorkProposalValidation(t *testing.T) { }, { name: "Contract address invalid", - scheduledCorkProposal: ScheduledCorkProposal{ + scheduledCorkProposal: AxelarScheduledCorkProposal{ Title: "Scheduled Cork", Description: "Schedules a cork via governance", BlockHeight: 1, @@ -40,7 +40,7 @@ func TestScheduledCorkProposalValidation(t *testing.T) { }, { name: "Empty proto JSON", - scheduledCorkProposal: ScheduledCorkProposal{ + scheduledCorkProposal: AxelarScheduledCorkProposal{ Title: "Scheduled Cork", Description: "Schedules a cork via governance", BlockHeight: 1, @@ -52,7 +52,7 @@ func TestScheduledCorkProposalValidation(t *testing.T) { }, { name: "Invalid JSON", - scheduledCorkProposal: ScheduledCorkProposal{ + scheduledCorkProposal: AxelarScheduledCorkProposal{ Title: "Scheduled Cork", Description: "Schedules a cork via governance", BlockHeight: 1,