diff --git a/proto/interchain_security/ccv/provider/v1/provider.proto b/proto/interchain_security/ccv/provider/v1/provider.proto index 8c7fa8fe5f..6ba5c33c5e 100644 --- a/proto/interchain_security/ccv/provider/v1/provider.proto +++ b/proto/interchain_security/ccv/provider/v1/provider.proto @@ -113,8 +113,9 @@ message ConsumerRemovalProposal { // ChangeRewardDenomsProposal is a governance proposal on the provider chain to // mutate the set of denoms accepted by the provider as rewards. - +// Deprecated: Use MsgChangeRewardDenoms instead message ChangeRewardDenomsProposal { + option deprecated = true; option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; // the title of the proposal diff --git a/proto/interchain_security/ccv/provider/v1/tx.proto b/proto/interchain_security/ccv/provider/v1/tx.proto index eb009144d6..2d76790804 100644 --- a/proto/interchain_security/ccv/provider/v1/tx.proto +++ b/proto/interchain_security/ccv/provider/v1/tx.proto @@ -17,13 +17,16 @@ service Msg { option (cosmos.msg.v1.service) = true; rpc AssignConsumerKey(MsgAssignConsumerKey) - returns (MsgAssignConsumerKeyResponse); + returns (MsgAssignConsumerKeyResponse); rpc ConsumerAddition(MsgConsumerAddition) - returns (MsgConsumerAdditionResponse); + returns (MsgConsumerAdditionResponse); - rpc ConsumerRemoval(MsgConsumerRemoval) - returns (MsgConsumerRemovalResponse); + rpc ConsumerRemoval(MsgConsumerRemoval) + returns (MsgConsumerRemovalResponse); + + rpc ChangeRewardDenoms(MsgChangeRewardDenoms) + returns (MsgChangeRewardDenomsResponse); } message MsgAssignConsumerKey { @@ -107,21 +110,48 @@ message MsgConsumerAddition { string signer = 13 [(cosmos_proto.scalar) = "cosmos.AddressString"]; } -// MsgConsumerAdditionResponse defines the Msg/MsgIBCSoftwareUpgrade response type +// MsgConsumerAdditionResponse defines response type for MsgConsumerAddition messages message MsgConsumerAdditionResponse {} + +// MsgConsumerRemoval message contains a governance proposal on the provider chain to +// remove (and stop) a consumer chain. If it passes, all the consumer chain's +// state is removed from the provider chain. The outstanding unbonding operation +// funds are released. +// +// Note: this replaces ConsumerRemovalProposal which is deprecated and will be removed soon message MsgConsumerRemoval { option (cosmos.msg.v1.signer) = "signer"; // the chain-id of the consumer chain to be stopped - string chain_id = 3; + string chain_id = 1; // the time on the provider chain at which all validators are responsible to // stop their consumer chain validator node - google.protobuf.Timestamp stop_time = 4 + google.protobuf.Timestamp stop_time = 2 [ (gogoproto.stdtime) = true, (gogoproto.nullable) = false ]; // signer address - string signer = 13 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string signer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgConsumerRemovalResponse defines response type for MsgConsumerRemoval messages +message MsgConsumerRemovalResponse {} + +// ChangeRewardDenomsProposal is a governance proposal on the provider chain to +// mutate the set of denoms accepted by the provider as rewards. +// +// Note: this replaces ChangeRewardDenomsProposal which is deprecated and will be removed soon +message MsgChangeRewardDenoms { + option (cosmos.msg.v1.signer) = "signer"; + + // the list of consumer reward denoms to add + repeated string denoms_to_add = 1; + // the list of consumer reward denoms to remove + repeated string denoms_to_remove = 2; + // signer address + string signer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + } -message MsgConsumerRemovalResponse {} \ No newline at end of file +// MsgChangeRewardDenomsResponse defines response type for MsgChangeRewardDenoms messages +message MsgChangeRewardDenomsResponse {} \ No newline at end of file diff --git a/x/ccv/provider/keeper/msg_server.go b/x/ccv/provider/keeper/msg_server.go index 87447ae243..134a4d621b 100644 --- a/x/ccv/provider/keeper/msg_server.go +++ b/x/ccv/provider/keeper/msg_server.go @@ -134,3 +134,16 @@ func (k msgServer) ConsumerRemoval( return &types.MsgConsumerRemovalResponse{}, nil } + +// ConsumerRemoval defines a rpc handler method for MsgConsumerRemoval +func (k msgServer) ChangeRewardDenoms( + goCtx context.Context, + msg *types.MsgChangeRewardDenoms) (*types.MsgChangeRewardDenomsResponse, error) { + if k.GetAuthority() != msg.Signer { + return nil, errorsmod.Wrapf(types.ErrUnauthorized, "expected %s, got %s", k.GetAuthority(), msg.Signer) + } + + // TODO: Call keeper implementation ! + + return &types.MsgChangeRewardDenomsResponse{}, nil +} diff --git a/x/ccv/provider/types/codec.go b/x/ccv/provider/types/codec.go index 21892abad4..7f8078c556 100644 --- a/x/ccv/provider/types/codec.go +++ b/x/ccv/provider/types/codec.go @@ -28,6 +28,7 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { &MsgAssignConsumerKey{}, &MsgConsumerAddition{}, &MsgConsumerRemoval{}, + &MsgChangeRewardDenoms{}, ) registry.RegisterImplementations( (*govv1beta1.Content)(nil), diff --git a/x/ccv/provider/types/msg.go b/x/ccv/provider/types/msg.go index 2d2993eaad..b983c9ae1c 100644 --- a/x/ccv/provider/types/msg.go +++ b/x/ccv/provider/types/msg.go @@ -2,10 +2,12 @@ package types import ( "encoding/json" + "fmt" "strings" "time" errorsmod "cosmossdk.io/errors" + "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" ccvtypes "github.com/cosmos/interchain-security/v3/x/ccv/types" @@ -20,10 +22,12 @@ var ( _ sdk.Msg = (*MsgAssignConsumerKey)(nil) _ sdk.Msg = (*MsgConsumerAddition)(nil) _ sdk.Msg = (*MsgConsumerRemoval)(nil) + _ sdk.Msg = (*MsgChangeRewardDenoms)(nil) _ sdk.HasValidateBasic = (*MsgAssignConsumerKey)(nil) _ sdk.HasValidateBasic = (*MsgConsumerAddition)(nil) _ sdk.HasValidateBasic = (*MsgConsumerRemoval)(nil) + _ sdk.HasValidateBasic = (*MsgChangeRewardDenoms)(nil) ) // NewMsgAssignConsumerKey creates a new MsgAssignConsumerKey instance. @@ -220,3 +224,43 @@ func (msg *MsgConsumerRemoval) ValidateBasic() error { } return nil } + +// MsgChangeRewardDenoms creates a new MsgChangeRewardDenoms instance +func NewMsgChangeRewardDenoms(signer string) *MsgChangeRewardDenoms { + //@bermuell: TODO finsh implementation! + return &MsgChangeRewardDenoms{} +} + +func (msg *MsgChangeRewardDenoms) ValidateBasic() error { + emptyDenomsToAdd := len(msg.DenomsToAdd) == 0 + emptyDenomsToRemove := len(msg.DenomsToRemove) == 0 + // Return error if both sets are empty or nil + if emptyDenomsToAdd && emptyDenomsToRemove { + return fmt.Errorf( + "invalid change reward denoms proposal: both denoms to add and denoms to remove are empty") + } + + // Return error if a denom is in both sets + for _, denomToAdd := range msg.DenomsToAdd { + for _, denomToRemove := range msg.DenomsToRemove { + if denomToAdd == denomToRemove { + return fmt.Errorf( + "invalid change reward denoms proposal: %s cannot be both added and removed", denomToAdd) + } + } + } + + // Return error if any denom is "invalid" + for _, denom := range msg.DenomsToAdd { + if !sdk.NewCoin(denom, math.NewInt(1)).IsValid() { + return fmt.Errorf("invalid change reward denoms proposal: %s is not a valid denom", denom) + } + } + for _, denom := range msg.DenomsToRemove { + if !sdk.NewCoin(denom, math.NewInt(1)).IsValid() { + return fmt.Errorf("invalid change reward denoms proposal: %s is not a valid denom", denom) + } + } + + return nil +} diff --git a/x/ccv/provider/types/provider.pb.go b/x/ccv/provider/types/provider.pb.go index 95d02de611..b75f676fe8 100644 --- a/x/ccv/provider/types/provider.pb.go +++ b/x/ccv/provider/types/provider.pb.go @@ -208,6 +208,11 @@ func (m *ConsumerRemovalProposal) GetStopTime() time.Time { return time.Time{} } +// ChangeRewardDenomsProposal is a governance proposal on the provider chain to +// mutate the set of denoms accepted by the provider as rewards. +// Deprecated: Use MsgChangeRewardDenoms instead +// +// Deprecated: Do not use. type ChangeRewardDenomsProposal struct { // the title of the proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` @@ -1357,115 +1362,115 @@ func init() { } var fileDescriptor_f22ec409a72b7b72 = []byte{ - // 1719 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xd7, 0x8a, 0x94, 0x2c, 0x3e, 0xea, 0xcb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, 0xa1, - 0x3d, 0xc9, 0x10, 0x0c, 0x39, 0x92, 0x94, 0xc5, 0x39, 0x00, 0xed, 0xe1, 0x0e, 0x66, 0x9c, 0x74, - 0x70, 0x48, 0x49, 0x2c, 0x95, 0x56, 0xf3, 0x95, 0x31, 0x74, 0x14, 0x43, 0x48, 0xfb, 0x03, 0x69, - 0xc8, 0xa2, 0x23, 0x49, 0x1c, 0x10, 0x1e, 0x51, 0xc3, 0x5c, 0x9e, 0x32, 0x81, 0xcd, 0xca, 0x3d, - 0xe6, 0xa3, 0x44, 0xb2, 0xce, 0x05, 0x19, 0x89, 0xec, 0xf6, 0x2d, 0xcc, 0x44, 0xc4, 0x44, 0x87, - 0xa8, 0x88, 0xc5, 0x98, 0x74, 0xd2, 0xdd, 0x1e, 0x91, 0x68, 0xb7, 0x20, 0xe4, 0x76, 0x67, 0x7c, - 0x3d, 0x24, 0x4a, 0x1e, 0xcc, 0x68, 0x6e, 0xf7, 0xba, 0xb9, 0xf7, 0x4d, 0x44, 0xcc, 0xc1, 0x5c, - 0x39, 0xff, 0x9b, 0x87, 0x56, 0x37, 0x8b, 0xf1, 0x41, 0x10, 0x50, 0xe5, 0xed, 0x09, 0x67, 0x09, - 0x13, 0x28, 0xb4, 0xef, 0xc0, 0x9c, 0xa4, 0x32, 0x24, 0x2d, 0x6b, 0xdb, 0xda, 0x69, 0x78, 0xe6, - 0x60, 0x6f, 0x43, 0x33, 0x20, 0x02, 0x73, 0x9a, 0x28, 0xe6, 0xd6, 0xac, 0xbe, 0xab, 0x92, 0xec, - 0x75, 0x58, 0x30, 0x29, 0xa2, 0x41, 0xab, 0xa6, 0xaf, 0x6f, 0xe9, 0xf3, 0x71, 0x60, 0x7f, 0x04, - 0xcb, 0x34, 0xa6, 0x92, 0xa2, 0xd0, 0x1f, 0x10, 0x15, 0xa8, 0x56, 0x7d, 0xdb, 0xda, 0x69, 0xee, - 0x6d, 0xb8, 0xb4, 0x87, 0x5d, 0x15, 0x5b, 0x37, 0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71, - 0x84, 0x75, 0x8d, 0x34, 0x75, 0x11, 0xb4, 0x73, 0x3e, 0x6f, 0x8c, 0xed, 0xc3, 0x8c, 0xcb, 0x7e, - 0x02, 0x3f, 0xe9, 0x85, 0x0c, 0x5f, 0x08, 0x65, 0x9c, 0x3f, 0x86, 0xa4, 0x55, 0x47, 0x54, 0x08, - 0x85, 0xb6, 0xb8, 0x6d, 0xed, 0xd4, 0xbc, 0xfb, 0x86, 0xf7, 0x84, 0xf0, 0xa3, 0x0a, 0xe7, 0x59, - 0x85, 0xd1, 0x7e, 0x00, 0xf6, 0x80, 0x0a, 0xc9, 0x38, 0xc5, 0x28, 0xf4, 0x49, 0x2c, 0x39, 0x25, - 0xa2, 0xb5, 0xa4, 0xc5, 0x6f, 0x97, 0x37, 0x1f, 0x98, 0x0b, 0xfb, 0x63, 0xb8, 0x7f, 0xad, 0x52, - 0x1f, 0x0f, 0x50, 0x1c, 0x93, 0xb0, 0xb5, 0xac, 0x5d, 0xd9, 0x0a, 0xae, 0xd1, 0xd9, 0x35, 0x6c, - 0xfb, 0x3b, 0x7f, 0xf8, 0x6a, 0x6b, 0xe6, 0xcb, 0xaf, 0xb6, 0x66, 0xfe, 0xfe, 0xd7, 0x07, 0x1b, + // 1716 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x4f, 0x6f, 0x1b, 0xc7, + 0x15, 0xd7, 0x8a, 0x94, 0x2c, 0x3e, 0xea, 0x9f, 0x57, 0x76, 0x4c, 0xa9, 0x2a, 0x25, 0x6f, 0xda, + 0x54, 0x45, 0xe0, 0x65, 0x24, 0xa3, 0x40, 0x60, 0x34, 0x08, 0x24, 0x2a, 0x89, 0x15, 0x37, 0xb1, + 0xb2, 0x52, 0x65, 0xb4, 0x3d, 0x2c, 0x86, 0xb3, 0x63, 0x72, 0xa0, 0xdd, 0x9d, 0xcd, 0xcc, 0x70, + 0x6d,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 0xb9, 0x3c, 0x65, 0x02, 0xdb, 0x95, 0x7b, + 0xcc, 0x47, 0x89, 0x64, 0x9d, 0x4b, 0x32, 0x12, 0xd9, 0xed, 0x5b, 0x98, 0x89, 0x88, 0x89, 0x0e, + 0x51, 0x11, 0x8b, 0x31, 0xe9, 0xa4, 0xfb, 0x3d, 0x22, 0xd1, 0x7e, 0x41, 0xc8, 0xed, 0xce, 0xf8, + 0x7a, 0x48, 0x94, 0x3c, 0x98, 0xd1, 0xdc, 0xee, 0x4d, 0x73, 0xef, 0x9b, 0x88, 0x98, 0x83, 0xb9, + 0x72, 0xfe, 0xb7, 0x08, 0xad, 0x6e, 0x16, 0xe3, 0xc3, 0x20, 0xa0, 0xca, 0xdb, 0x53, 0xce, 0x12, + 0x26, 0x50, 0x68, 0xdf, 0x82, 0x05, 0x49, 0x65, 0x48, 0x5a, 0xd6, 0xae, 0xb5, 0xd7, 0xf0, 0xcc, + 0xc1, 0xde, 0x85, 0x66, 0x40, 0x04, 0xe6, 0x34, 0x51, 0xcc, 0xad, 0x79, 0x7d, 0x57, 0x25, 0xd9, + 0x9b, 0xb0, 0x64, 0x52, 0x44, 0x83, 0x56, 0x4d, 0x5f, 0xdf, 0xd0, 0xe7, 0x93, 0xc0, 0xfe, 0x08, + 0x56, 0x69, 0x4c, 0x25, 0x45, 0xa1, 0x3f, 0x20, 0x2a, 0x50, 0xad, 0xfa, 0xae, 0xb5, 0xd7, 0x3c, + 0xd8, 0x72, 0x69, 0x0f, 0xbb, 0x2a, 0xb6, 0x6e, 0x16, 0xd1, 0x74, 0xdf, 0x7d, 0xa8, 0x39, 0x8e, + 0xea, 0x5f, 0x7f, 0xbb, 0x33, 0xe7, 0xad, 0x64, 0x72, 0x86, 0x68, 0xdf, 0x85, 0xe5, 0x3e, 0x89, + 0x89, 0xa0, 0xc2, 0x1f, 0x20, 0x31, 0x68, 0x2d, 0xec, 0x5a, 0x7b, 0xcb, 0x5e, 0x33, 0xa3, 0x3d, + 0x44, 0x62, 0x60, 0xef, 0x40, 0xb3, 0x47, 0x63, 0xc4, 0x47, 0x86, 0x63, 0x51, 0x73, 0x80, 0x21, + 0x69, 0x86, 0x2e, 0x80, 0x48, 0xd0, 0xb3, 0xd8, 0x57, 0x85, 0xd0, 0xba, 0x91, 0x19, 0x62, 0x8a, + 0xc0, 0xcd, 0x8b, 0xc0, 0x3d, 0xcf, 0xab, 0xe4, 0x68, 0x49, 0x19, 0xf2, 0xc5, 0xbf, 0x76, 0x2c, + 0xaf, 0xa1, 0xe5, 0xd4, 0x8d, 0xfd, 0x29, 0xac, 0x0f, 0xe3, 0x1e, 0x8b, 0x03, 0x1a, 0xf7, 0xfd, + 0x84, 0x70, 0xca, 0x82, 0xd6, 0x92, 0x86, 0xda, 0xbc, 0x02, 0x75, 0x9c, 0xd5, 0x93, 0x41, 0xfa, + 0x52, 0x21, 0xad, 0x15, 0xc2, 0xa7, 0x5a, 0xd6, 0xfe, 0x0c, 0x6c, 0x8c, 0x53, 0x6d, 0x12, 0x1b, + 0xca, 0x1c, 0xb1, 0x31, 0x3b, 0xe2, 0x3a, 0xc6, 0xe9, 0xb9, 0x91, 0xce, 0x20, 0x7f, 0x07, 0x77, + 0x24, 0x47, 0xb1, 0x78, 0x4a, 0xf8, 0x24, 0x2e, 0xcc, 0x8e, 0x7b, 0x3b, 0xc7, 0x18, 0x07, 0x7f, + 0x08, 0xbb, 0x79, 0x93, 0xfa, 0x9c, 0x04, 0x54, 0x48, 0x4e, 0x7b, 0x43, 0x25, 0xeb, 0x3f, 0xe5, + 0x08, 0xeb, 0x1a, 0x69, 0xea, 0x22, 0x68, 0xe7, 0x7c, 0xde, 0x18, 0xdb, 0x87, 0x19, 0x97, 0xfd, + 0x18, 0x7e, 0xd2, 0x0b, 0x19, 0xbe, 0x14, 0xca, 0x38, 0x7f, 0x0c, 0x49, 0xab, 0x8e, 0xa8, 0x10, + 0x0a, 0x6d, 0x79, 0xd7, 0xda, 0xab, 0x79, 0x77, 0x0d, 0x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, 0x15, 0xe7, 0xec, 0x94, 0x0f, 0x63, 0xf2, 0x2a, 0xed, 0x65, + 0xfb, 0xcd, 0x57, 0xdb, 0xef, 0x09, 0xac, 0x8e, 0x19, 0x25, 0xb2, 0x68, 0xbc, 0x33, 0x53, 0x8d, + 0x55, 0xa6, 0xab, 0xb7, 0x52, 0xf5, 0x43, 0x1c, 0x3d, 0xf9, 0xfa, 0x45, 0xdb, 0xfa, 0xe6, 0x45, + 0xdb, 0xfa, 0xf7, 0x8b, 0xb6, 0xf5, 0xc5, 0xcb, 0xf6, 0xdc, 0x37, 0x2f, 0xdb, 0x73, 0xff, 0x7c, + 0xd9, 0x9e, 0xfb, 0xed, 0x7b, 0x7d, 0x2a, 0x07, 0xc3, 0x9e, 0x8b, 0x59, 0x94, 0xfd, 0x70, 0xef, + 0x94, 0xba, 0xee, 0x15, 0x7f, 0x81, 0xa4, 0xf7, 0x3b, 0xcf, 0xc7, 0xff, 0x92, 0x91, 0xa3, 0x84, + 0x88, 0xde, 0xa2, 0x9e, 0x0a, 0xf7, 0xff, 0x1f, 0x00, 0x00, 0xff, 0xff, 0xa2, 0xb0, 0x54, 0x77, + 0xc3, 0x11, 0x00, 0x00, } func (m *ConsumerAdditionProposal) Marshal() (dAtA []byte, err error) { diff --git a/x/ccv/provider/types/tx.pb.go b/x/ccv/provider/types/tx.pb.go index ccb97f9f0e..7edf87ceae 100644 --- a/x/ccv/provider/types/tx.pb.go +++ b/x/ccv/provider/types/tx.pb.go @@ -299,7 +299,7 @@ func (m *MsgConsumerAddition) GetSigner() string { return "" } -// MsgConsumerAdditionResponse defines the Msg/MsgIBCSoftwareUpgrade response type +// MsgConsumerAdditionResponse defines response type for MsgConsumerAddition messages type MsgConsumerAdditionResponse struct { } @@ -336,14 +336,20 @@ func (m *MsgConsumerAdditionResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgConsumerAdditionResponse proto.InternalMessageInfo +// MsgConsumerRemoval message contains a governance proposal on the provider chain to +// remove (and stop) a consumer chain. If it passes, all the consumer chain's +// state is removed from the provider chain. The outstanding unbonding operation +// funds are released. +// +// Note: this replaces ConsumerRemovalProposal which is deprecated and will be removed soon type MsgConsumerRemoval struct { // the chain-id of the consumer chain to be stopped - ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // the time on the provider chain at which all validators are responsible to // stop their consumer chain validator node - StopTime time.Time `protobuf:"bytes,4,opt,name=stop_time,json=stopTime,proto3,stdtime" json:"stop_time"` + StopTime time.Time `protobuf:"bytes,2,opt,name=stop_time,json=stopTime,proto3,stdtime" json:"stop_time"` // signer address - Signer string `protobuf:"bytes,13,opt,name=signer,proto3" json:"signer,omitempty"` + Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"` } func (m *MsgConsumerRemoval) Reset() { *m = MsgConsumerRemoval{} } @@ -400,6 +406,7 @@ func (m *MsgConsumerRemoval) GetSigner() string { return "" } +// MsgConsumerRemovalResponse defines response type for MsgConsumerRemoval messages type MsgConsumerRemovalResponse struct { } @@ -436,6 +443,110 @@ func (m *MsgConsumerRemovalResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgConsumerRemovalResponse proto.InternalMessageInfo +// ChangeRewardDenomsProposal is a governance proposal on the provider chain to +// mutate the set of denoms accepted by the provider as rewards. +// +// Note: this replaces ChangeRewardDenomsProposal which is deprecated and will be removed soon +type MsgChangeRewardDenoms struct { + // the list of consumer reward denoms to add + DenomsToAdd []string `protobuf:"bytes,1,rep,name=denoms_to_add,json=denomsToAdd,proto3" json:"denoms_to_add,omitempty"` + // the list of consumer reward denoms to remove + DenomsToRemove []string `protobuf:"bytes,2,rep,name=denoms_to_remove,json=denomsToRemove,proto3" json:"denoms_to_remove,omitempty"` + // signer address + Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"` +} + +func (m *MsgChangeRewardDenoms) Reset() { *m = MsgChangeRewardDenoms{} } +func (m *MsgChangeRewardDenoms) String() string { return proto.CompactTextString(m) } +func (*MsgChangeRewardDenoms) ProtoMessage() {} +func (*MsgChangeRewardDenoms) Descriptor() ([]byte, []int) { + return fileDescriptor_43221a4391e9fbf4, []int{6} +} +func (m *MsgChangeRewardDenoms) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgChangeRewardDenoms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgChangeRewardDenoms.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgChangeRewardDenoms) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgChangeRewardDenoms.Merge(m, src) +} +func (m *MsgChangeRewardDenoms) XXX_Size() int { + return m.Size() +} +func (m *MsgChangeRewardDenoms) XXX_DiscardUnknown() { + xxx_messageInfo_MsgChangeRewardDenoms.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgChangeRewardDenoms proto.InternalMessageInfo + +func (m *MsgChangeRewardDenoms) GetDenomsToAdd() []string { + if m != nil { + return m.DenomsToAdd + } + return nil +} + +func (m *MsgChangeRewardDenoms) GetDenomsToRemove() []string { + if m != nil { + return m.DenomsToRemove + } + return nil +} + +func (m *MsgChangeRewardDenoms) GetSigner() string { + if m != nil { + return m.Signer + } + return "" +} + +// MsgChangeRewardDenomsResponse defines response type for MsgChangeRewardDenoms messages +type MsgChangeRewardDenomsResponse struct { +} + +func (m *MsgChangeRewardDenomsResponse) Reset() { *m = MsgChangeRewardDenomsResponse{} } +func (m *MsgChangeRewardDenomsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgChangeRewardDenomsResponse) ProtoMessage() {} +func (*MsgChangeRewardDenomsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_43221a4391e9fbf4, []int{7} +} +func (m *MsgChangeRewardDenomsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgChangeRewardDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgChangeRewardDenomsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgChangeRewardDenomsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgChangeRewardDenomsResponse.Merge(m, src) +} +func (m *MsgChangeRewardDenomsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgChangeRewardDenomsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgChangeRewardDenomsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgChangeRewardDenomsResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgAssignConsumerKey)(nil), "interchain_security.ccv.provider.v1.MsgAssignConsumerKey") proto.RegisterType((*MsgAssignConsumerKeyResponse)(nil), "interchain_security.ccv.provider.v1.MsgAssignConsumerKeyResponse") @@ -443,6 +554,8 @@ func init() { proto.RegisterType((*MsgConsumerAdditionResponse)(nil), "interchain_security.ccv.provider.v1.MsgConsumerAdditionResponse") proto.RegisterType((*MsgConsumerRemoval)(nil), "interchain_security.ccv.provider.v1.MsgConsumerRemoval") proto.RegisterType((*MsgConsumerRemovalResponse)(nil), "interchain_security.ccv.provider.v1.MsgConsumerRemovalResponse") + proto.RegisterType((*MsgChangeRewardDenoms)(nil), "interchain_security.ccv.provider.v1.MsgChangeRewardDenoms") + proto.RegisterType((*MsgChangeRewardDenomsResponse)(nil), "interchain_security.ccv.provider.v1.MsgChangeRewardDenomsResponse") } func init() { @@ -450,63 +563,69 @@ func init() { } var fileDescriptor_43221a4391e9fbf4 = []byte{ - // 896 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x4d, 0x6f, 0x1c, 0x35, - 0x1f, 0xdf, 0x79, 0x36, 0x4d, 0x37, 0xde, 0xa4, 0x4d, 0xe7, 0x09, 0xea, 0x64, 0x09, 0xb3, 0xc9, - 0xc2, 0xa1, 0xaa, 0xc8, 0x0c, 0x69, 0x0f, 0x85, 0x48, 0x08, 0x36, 0x29, 0x10, 0x40, 0x81, 0x32, - 0x44, 0x42, 0x82, 0xc3, 0xc8, 0xe3, 0x71, 0x66, 0xac, 0xee, 0xd8, 0x23, 0xdb, 0x3b, 0x74, 0x6f, - 0x88, 0x13, 0x12, 0x12, 0x2a, 0x27, 0x38, 0xf6, 0x23, 0x14, 0x89, 0x3b, 0xd7, 0x1e, 0x2b, 0x2e, - 0x70, 0x2a, 0x28, 0x39, 0x94, 0x33, 0x9f, 0x00, 0xf9, 0x65, 0x36, 0xd9, 0x4d, 0x8a, 0xd2, 0x70, - 0xb3, 0xfd, 0x7b, 0xf1, 0xcf, 0xde, 0xff, 0xdf, 0x3b, 0xe0, 0x55, 0x42, 0x25, 0xe6, 0x28, 0x87, - 0x84, 0xc6, 0x02, 0xa3, 0x21, 0x27, 0x72, 0x14, 0x22, 0x54, 0x85, 0x25, 0x67, 0x15, 0x49, 0x31, - 0x0f, 0xab, 0x8d, 0x50, 0xde, 0x0b, 0x4a, 0xce, 0x24, 0x73, 0x5f, 0x3e, 0x85, 0x1d, 0x20, 0x54, - 0x05, 0x35, 0x3b, 0xa8, 0x36, 0x3a, 0x2b, 0x19, 0x63, 0xd9, 0x00, 0x87, 0xb0, 0x24, 0x21, 0xa4, - 0x94, 0x49, 0x28, 0x09, 0xa3, 0xc2, 0x58, 0x74, 0xba, 0x16, 0xd5, 0xb3, 0x64, 0xb8, 0x1f, 0x4a, - 0x52, 0x60, 0x21, 0x61, 0x51, 0x5a, 0x82, 0x3f, 0x4d, 0x48, 0x87, 0x5c, 0x3b, 0x58, 0x7c, 0x79, - 0x1a, 0x87, 0x74, 0x64, 0xa1, 0x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bc, 0x7d, 0xa3, 0x13, - 0x90, 0x04, 0x05, 0xea, 0x9a, 0x02, 0x7b, 0x39, 0xd5, 0x46, 0xb0, 0xa3, 0x19, 0x5b, 0x33, 0x8f, - 0x9e, 0x74, 0x1b, 0xd1, 0x82, 0xd5, 0x99, 0x45, 0x75, 0x90, 0x0c, 0x53, 0x2c, 0x88, 0x88, 0x73, - 0x28, 0x72, 0x7d, 0x90, 0xf9, 0xa8, 0x6d, 0xd7, 0x76, 0xa0, 0xc8, 0xdd, 0x2e, 0x68, 0x27, 0x84, - 0x42, 0x3e, 0x32, 0x8c, 0x19, 0xcd, 0x00, 0x66, 0x49, 0x13, 0xb6, 0x01, 0x10, 0x25, 0xfc, 0x92, - 0xc6, 0xaa, 0x70, 0xbc, 0x0b, 0x36, 0x88, 0x29, 0x8a, 0xa0, 0x2e, 0x8a, 0x60, 0xaf, 0xae, 0xaa, - 0xad, 0x96, 0x0a, 0x72, 0xff, 0x8f, 0xae, 0x13, 0xcd, 0x69, 0x9d, 0x42, 0xdc, 0x8f, 0xc0, 0xe2, - 0x90, 0x26, 0x8c, 0xa6, 0x84, 0x66, 0x71, 0x89, 0x39, 0x61, 0xa9, 0x37, 0xab, 0xad, 0x96, 0x4f, - 0x58, 0xdd, 0xb6, 0xf5, 0x67, 0x9c, 0x7e, 0x54, 0x4e, 0x97, 0xc7, 0xe2, 0x3b, 0x5a, 0xeb, 0x7e, - 0x02, 0x5c, 0x84, 0x2a, 0x1d, 0x89, 0x0d, 0x65, 0xed, 0x78, 0xf1, 0xec, 0x8e, 0x8b, 0x08, 0x55, - 0x7b, 0x46, 0x6d, 0x2d, 0xbf, 0x00, 0x57, 0x25, 0x87, 0x54, 0xec, 0x63, 0x3e, 0xed, 0xdb, 0x3a, - 0xbb, 0xef, 0x0b, 0xb5, 0xc7, 0xa4, 0xf9, 0x0e, 0x58, 0x1d, 0x57, 0x14, 0xc7, 0x29, 0x11, 0x92, - 0x93, 0x64, 0xa8, 0xb4, 0xf1,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7d, 0xa2, 0x1b, 0xbf, 0x34, - 0x41, 0x73, 0x57, 0x64, 0xee, 0xf7, 0x0e, 0xb8, 0x72, 0xf2, 0x25, 0x7c, 0x23, 0x38, 0xc3, 0xbf, - 0x45, 0x70, 0xda, 0x5b, 0xd5, 0xe9, 0x9f, 0x5b, 0x5a, 0x67, 0x73, 0xbf, 0x73, 0xc0, 0xe2, 0x89, - 0x37, 0xee, 0xf5, 0xb3, 0xfa, 0x4e, 0x2b, 0x3b, 0x6f, 0x9f, 0x57, 0x39, 0x0e, 0xf4, 0xad, 0x03, - 0x2e, 0x4f, 0xff, 0xf6, 0xb7, 0x9e, 0xd7, 0xd5, 0x0a, 0x3b, 0x6f, 0x9d, 0x53, 0x58, 0xa7, 0xe9, - 0x5c, 0xf8, 0xea, 0xe9, 0xc3, 0xeb, 0xce, 0xd6, 0x67, 0x8f, 0x0e, 0x7c, 0xe7, 0xf1, 0x81, 0xef, - 0xfc, 0x79, 0xe0, 0x3b, 0xf7, 0x0f, 0xfd, 0xc6, 0xe3, 0x43, 0xbf, 0xf1, 0xfb, 0xa1, 0xdf, 0xf8, - 0xfc, 0xcd, 0x8c, 0xc8, 0x7c, 0x98, 0x04, 0x88, 0x15, 0xf6, 0x3f, 0x33, 0x3c, 0xda, 0x72, 0x7d, - 0xfc, 0xa9, 0x50, 0xdd, 0x0c, 0xef, 0x4d, 0x7e, 0x2f, 0xc8, 0x51, 0x89, 0x45, 0x32, 0xab, 0xeb, - 0xf3, 0xe6, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x0f, 0x85, 0x95, 0x60, 0x08, 0x00, 0x00, + // 978 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xcf, 0x6e, 0x1c, 0x35, + 0x18, 0xdf, 0x69, 0xda, 0x34, 0xf1, 0x26, 0x69, 0x6a, 0x52, 0x75, 0xb2, 0xa4, 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0x89, 0x3f, 0xd8, + 0x75, 0xab, 0xff, 0x27, 0x96, 0xdd, 0xf4, 0xef, 0x9d, 0xfd, 0x1d, 0x53, 0xbd, 0x0e, 0x91, 0xad, + 0x59, 0x73, 0xfd, 0x6f, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0xfa, 0x91, 0xfa, 0x52, 0xbf, 0x09, + 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -524,6 +643,7 @@ type MsgClient interface { AssignConsumerKey(ctx context.Context, in *MsgAssignConsumerKey, opts ...grpc.CallOption) (*MsgAssignConsumerKeyResponse, error) ConsumerAddition(ctx context.Context, in *MsgConsumerAddition, opts ...grpc.CallOption) (*MsgConsumerAdditionResponse, error) ConsumerRemoval(ctx context.Context, in *MsgConsumerRemoval, opts ...grpc.CallOption) (*MsgConsumerRemovalResponse, error) + ChangeRewardDenoms(ctx context.Context, in *MsgChangeRewardDenoms, opts ...grpc.CallOption) (*MsgChangeRewardDenomsResponse, error) } type msgClient struct { @@ -561,11 +681,21 @@ func (c *msgClient) ConsumerRemoval(ctx context.Context, in *MsgConsumerRemoval, return out, nil } +func (c *msgClient) ChangeRewardDenoms(ctx context.Context, in *MsgChangeRewardDenoms, opts ...grpc.CallOption) (*MsgChangeRewardDenomsResponse, error) { + out := new(MsgChangeRewardDenomsResponse) + err := c.cc.Invoke(ctx, "/interchain_security.ccv.provider.v1.Msg/ChangeRewardDenoms", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { AssignConsumerKey(context.Context, *MsgAssignConsumerKey) (*MsgAssignConsumerKeyResponse, error) ConsumerAddition(context.Context, *MsgConsumerAddition) (*MsgConsumerAdditionResponse, error) ConsumerRemoval(context.Context, *MsgConsumerRemoval) (*MsgConsumerRemovalResponse, error) + ChangeRewardDenoms(context.Context, *MsgChangeRewardDenoms) (*MsgChangeRewardDenomsResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -581,6 +711,9 @@ func (*UnimplementedMsgServer) ConsumerAddition(ctx context.Context, req *MsgCon func (*UnimplementedMsgServer) ConsumerRemoval(ctx context.Context, req *MsgConsumerRemoval) (*MsgConsumerRemovalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ConsumerRemoval not implemented") } +func (*UnimplementedMsgServer) ChangeRewardDenoms(ctx context.Context, req *MsgChangeRewardDenoms) (*MsgChangeRewardDenomsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ChangeRewardDenoms not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -640,6 +773,24 @@ func _Msg_ConsumerRemoval_Handler(srv interface{}, ctx context.Context, dec func return interceptor(ctx, in, info, handler) } +func _Msg_ChangeRewardDenoms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgChangeRewardDenoms) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ChangeRewardDenoms(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/interchain_security.ccv.provider.v1.Msg/ChangeRewardDenoms", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ChangeRewardDenoms(ctx, req.(*MsgChangeRewardDenoms)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "interchain_security.ccv.provider.v1.Msg", HandlerType: (*MsgServer)(nil), @@ -656,6 +807,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "ConsumerRemoval", Handler: _Msg_ConsumerRemoval_Handler, }, + { + MethodName: "ChangeRewardDenoms", + Handler: _Msg_ChangeRewardDenoms_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "interchain_security/ccv/provider/v1/tx.proto", @@ -893,7 +1048,7 @@ func (m *MsgConsumerRemoval) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.Signer) i = encodeVarintTx(dAtA, i, uint64(len(m.Signer))) i-- - dAtA[i] = 0x6a + dAtA[i] = 0x1a } n6, err6 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.StopTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.StopTime):]) if err6 != nil { @@ -902,13 +1057,13 @@ func (m *MsgConsumerRemoval) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= n6 i = encodeVarintTx(dAtA, i, uint64(n6)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x12 if len(m.ChainId) > 0 { i -= len(m.ChainId) copy(dAtA[i:], m.ChainId) i = encodeVarintTx(dAtA, i, uint64(len(m.ChainId))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0xa } return len(dAtA) - i, nil } @@ -936,6 +1091,77 @@ func (m *MsgConsumerRemovalResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } +func (m *MsgChangeRewardDenoms) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgChangeRewardDenoms) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgChangeRewardDenoms) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Signer) > 0 { + i -= len(m.Signer) + copy(dAtA[i:], m.Signer) + i = encodeVarintTx(dAtA, i, uint64(len(m.Signer))) + i-- + dAtA[i] = 0x1a + } + if len(m.DenomsToRemove) > 0 { + for iNdEx := len(m.DenomsToRemove) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DenomsToRemove[iNdEx]) + copy(dAtA[i:], m.DenomsToRemove[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.DenomsToRemove[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.DenomsToAdd) > 0 { + for iNdEx := len(m.DenomsToAdd) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DenomsToAdd[iNdEx]) + copy(dAtA[i:], m.DenomsToAdd[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.DenomsToAdd[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *MsgChangeRewardDenomsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgChangeRewardDenomsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgChangeRewardDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -1063,6 +1289,40 @@ func (m *MsgConsumerRemovalResponse) Size() (n int) { return n } +func (m *MsgChangeRewardDenoms) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.DenomsToAdd) > 0 { + for _, s := range m.DenomsToAdd { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + if len(m.DenomsToRemove) > 0 { + for _, s := range m.DenomsToRemove { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + l = len(m.Signer) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgChangeRewardDenomsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -1793,7 +2053,7 @@ func (m *MsgConsumerRemoval) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: MsgConsumerRemoval: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 3: + case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } @@ -1825,7 +2085,7 @@ func (m *MsgConsumerRemoval) Unmarshal(dAtA []byte) error { } m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field StopTime", wireType) } @@ -1858,7 +2118,7 @@ func (m *MsgConsumerRemoval) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 13: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) } @@ -1961,6 +2221,202 @@ func (m *MsgConsumerRemovalResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgChangeRewardDenoms) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgChangeRewardDenoms: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgChangeRewardDenoms: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DenomsToAdd", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DenomsToAdd = append(m.DenomsToAdd, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DenomsToRemove", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DenomsToRemove = append(m.DenomsToRemove, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Signer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgChangeRewardDenomsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgChangeRewardDenomsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgChangeRewardDenomsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0