From 26c69df3b07abf053f17f823ab4767513b25b7ff Mon Sep 17 00:00:00 2001 From: Simon Noetzlin Date: Mon, 6 Nov 2023 16:10:41 +0100 Subject: [PATCH] fix: add equivocation proposal message back in protos (#1394) * add depreacted equiv prop msg def * add codec and content for equivo proposal msg * doc * proto --- .../ccv/provider/v1/provider.proto | 17 + .../cosmos/evidence/v1beta1/evidence.proto | 21 + x/ccv/provider/types/codec.go | 11 +- x/ccv/provider/types/proposal.go | 40 +- x/ccv/provider/types/provider.pb.go | 551 ++++++++++++++---- 5 files changed, 506 insertions(+), 134 deletions(-) create mode 100644 third_party/proto/cosmos/evidence/v1beta1/evidence.proto diff --git a/proto/interchain_security/ccv/provider/v1/provider.proto b/proto/interchain_security/ccv/provider/v1/provider.proto index ee79d9561d..e159fb1401 100644 --- a/proto/interchain_security/ccv/provider/v1/provider.proto +++ b/proto/interchain_security/ccv/provider/v1/provider.proto @@ -10,6 +10,7 @@ import "google/protobuf/duration.proto"; import "ibc/core/client/v1/client.proto"; import "ibc/lightclients/tendermint/v1/tendermint.proto"; import "tendermint/crypto/keys.proto"; +import "cosmos/evidence/v1beta1/evidence.proto"; import "cosmos/base/v1beta1/coin.proto"; // ConsumerAdditionProposal is a governance proposal on the provider chain to spawn a new consumer chain. @@ -85,6 +86,22 @@ message ConsumerRemovalProposal { [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; } +// EquivocationProposal is a governance proposal on the provider chain to +// punish a validator for equivocation on a consumer chain. +// +// This type is only used internally to the consumer CCV module. +// WARNING: This message is deprecated now that equivocations can be submitted +// and verified automatically on the provider. (see SubmitConsumerDoubleVoting in proto/interchain-security/ccv/provider/v1/tx.proto). +message EquivocationProposal { + option deprecated = true; + // the title of the proposal + string title = 1; +// the description of the proposal + string description = 2; + // the list of equivocations that will be processed + repeated cosmos.evidence.v1beta1.Equivocation equivocations = 3; +} + // ChangeRewardDenomsProposal is a governance proposal on the provider chain to // mutate the set of denoms accepted by the provider as rewards. message ChangeRewardDenomsProposal { diff --git a/third_party/proto/cosmos/evidence/v1beta1/evidence.proto b/third_party/proto/cosmos/evidence/v1beta1/evidence.proto new file mode 100644 index 0000000000..14612c314f --- /dev/null +++ b/third_party/proto/cosmos/evidence/v1beta1/evidence.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; +package cosmos.evidence.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option (gogoproto.equal_all) = true; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; + +// Equivocation implements the Evidence interface and defines evidence of double +// signing misbehavior. +message Equivocation { + option (gogoproto.goproto_stringer) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; + + int64 height = 1; + google.protobuf.Timestamp time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + int64 power = 3; + string consensus_address = 4 [(gogoproto.moretags) = "yaml:\"consensus_address\""]; +} \ No newline at end of file diff --git a/x/ccv/provider/types/codec.go b/x/ccv/provider/types/codec.go index 53654d129d..5d2c51b62e 100644 --- a/x/ccv/provider/types/codec.go +++ b/x/ccv/provider/types/codec.go @@ -27,25 +27,22 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { (*sdk.Msg)(nil), &MsgAssignConsumerKey{}, ) + registry.RegisterImplementations( + (*govtypes.Content)(nil), + &EquivocationProposal{}, + ) registry.RegisterImplementations( (*govtypes.Content)(nil), &ChangeRewardDenomsProposal{}, ) - registry.RegisterImplementations( (*sdk.Msg)(nil), &MsgSubmitConsumerMisbehaviour{}, ) - registry.RegisterImplementations( (*sdk.Msg)(nil), &MsgSubmitConsumerDoubleVoting{}, ) - registry.RegisterImplementations( - (*govtypes.Content)(nil), - &ChangeRewardDenomsProposal{}, - ) - msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) } diff --git a/x/ccv/provider/types/proposal.go b/x/ccv/provider/types/proposal.go index d77be8591e..e318671f82 100644 --- a/x/ccv/provider/types/proposal.go +++ b/x/ccv/provider/types/proposal.go @@ -1,13 +1,14 @@ package types import ( + "errors" "fmt" "strings" time "time" errorsmod "cosmossdk.io/errors" - sdk "github.com/cosmos/cosmos-sdk/types" + evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" clienttypes "github.com/cosmos/ibc-go/v4/modules/core/02-client/types" ccvtypes "github.com/cosmos/interchain-security/v2/x/ccv/types" @@ -16,18 +17,21 @@ import ( const ( ProposalTypeConsumerAddition = "ConsumerAddition" ProposalTypeConsumerRemoval = "ConsumerRemoval" + ProposalTypeEquivocation = "Equivocation" ProposalTypeChangeRewardDenoms = "ChangeRewardDenoms" ) var ( _ govtypes.Content = &ConsumerAdditionProposal{} _ govtypes.Content = &ConsumerRemovalProposal{} + _ govtypes.Content = &EquivocationProposal{} _ govtypes.Content = &ChangeRewardDenomsProposal{} ) func init() { govtypes.RegisterProposalType(ProposalTypeConsumerAddition) govtypes.RegisterProposalType(ProposalTypeConsumerRemoval) + govtypes.RegisterProposalType(ProposalTypeEquivocation) govtypes.RegisterProposalType(ProposalTypeChangeRewardDenoms) } @@ -196,6 +200,40 @@ func (sccp *ConsumerRemovalProposal) ValidateBasic() error { return nil } +// NewEquivocationProposal creates a new equivocation proposal. +// [DEPRECATED]: do not use +func NewEquivocationProposal(title, description string, equivocations []*evidencetypes.Equivocation) govtypes.Content { + return &EquivocationProposal{ + Title: title, + Description: description, + Equivocations: equivocations, + } +} + +// ProposalRoute returns the routing key of an equivocation proposal. +func (sp *EquivocationProposal) ProposalRoute() string { return RouterKey } + +// ProposalType returns the type of a equivocation proposal. +func (sp *EquivocationProposal) ProposalType() string { + return ProposalTypeEquivocation +} + +// ValidateBasic runs basic stateless validity checks +func (sp *EquivocationProposal) ValidateBasic() error { + if err := govtypes.ValidateAbstract(sp); err != nil { + return err + } + if len(sp.Equivocations) == 0 { + return errors.New("invalid equivocation proposal: empty equivocations") + } + for i := 0; i < len(sp.Equivocations); i++ { + if err := sp.Equivocations[i].ValidateBasic(); err != nil { + return err + } + } + return nil +} + func NewChangeRewardDenomsProposal(title, description string, denomsToAdd, denomsToRemove []string, ) govtypes.Content { diff --git a/x/ccv/provider/types/provider.pb.go b/x/ccv/provider/types/provider.pb.go index 59439f4a2f..a44eac48ff 100644 --- a/x/ccv/provider/types/provider.pb.go +++ b/x/ccv/provider/types/provider.pb.go @@ -5,9 +5,10 @@ package types import ( fmt "fmt" - types2 "github.com/cosmos/cosmos-sdk/types" + types3 "github.com/cosmos/cosmos-sdk/types" + types1 "github.com/cosmos/cosmos-sdk/x/evidence/types" types "github.com/cosmos/ibc-go/v4/modules/core/02-client/types" - types1 "github.com/cosmos/ibc-go/v4/modules/light-clients/07-tendermint/types" + types2 "github.com/cosmos/ibc-go/v4/modules/light-clients/07-tendermint/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" @@ -189,6 +190,77 @@ func (m *ConsumerRemovalProposal) GetStopTime() time.Time { return time.Time{} } +// EquivocationProposal is a governance proposal on the provider chain to +// punish a validator for equivocation on a consumer chain. +// +// This type is only used internally to the consumer CCV module. +// WARNING: This message is deprecated now that equivocations can be submitted +// and verified automatically on the provider. (see SubmitConsumerDoubleVoting in proto/interchain-security/ccv/provider/v1/tx.proto). +// +// Deprecated: Do not use. +type EquivocationProposal struct { + // the title of the proposal + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + // the description of the proposal + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + // the list of equivocations that will be processed + Equivocations []*types1.Equivocation `protobuf:"bytes,3,rep,name=equivocations,proto3" json:"equivocations,omitempty"` +} + +func (m *EquivocationProposal) Reset() { *m = EquivocationProposal{} } +func (m *EquivocationProposal) String() string { return proto.CompactTextString(m) } +func (*EquivocationProposal) ProtoMessage() {} +func (*EquivocationProposal) Descriptor() ([]byte, []int) { + return fileDescriptor_f22ec409a72b7b72, []int{2} +} +func (m *EquivocationProposal) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EquivocationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EquivocationProposal.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 *EquivocationProposal) XXX_Merge(src proto.Message) { + xxx_messageInfo_EquivocationProposal.Merge(m, src) +} +func (m *EquivocationProposal) XXX_Size() int { + return m.Size() +} +func (m *EquivocationProposal) XXX_DiscardUnknown() { + xxx_messageInfo_EquivocationProposal.DiscardUnknown(m) +} + +var xxx_messageInfo_EquivocationProposal proto.InternalMessageInfo + +func (m *EquivocationProposal) GetTitle() string { + if m != nil { + return m.Title + } + return "" +} + +func (m *EquivocationProposal) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *EquivocationProposal) GetEquivocations() []*types1.Equivocation { + if m != nil { + return m.Equivocations + } + return nil +} + // ChangeRewardDenomsProposal is a governance proposal on the provider chain to // mutate the set of denoms accepted by the provider as rewards. type ChangeRewardDenomsProposal struct { @@ -206,7 +278,7 @@ func (m *ChangeRewardDenomsProposal) Reset() { *m = ChangeRewardDenomsPr func (m *ChangeRewardDenomsProposal) String() string { return proto.CompactTextString(m) } func (*ChangeRewardDenomsProposal) ProtoMessage() {} func (*ChangeRewardDenomsProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{2} + return fileDescriptor_f22ec409a72b7b72, []int{3} } func (m *ChangeRewardDenomsProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -285,7 +357,7 @@ func (m *GlobalSlashEntry) Reset() { *m = GlobalSlashEntry{} } func (m *GlobalSlashEntry) String() string { return proto.CompactTextString(m) } func (*GlobalSlashEntry) ProtoMessage() {} func (*GlobalSlashEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{3} + return fileDescriptor_f22ec409a72b7b72, []int{4} } func (m *GlobalSlashEntry) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -344,7 +416,7 @@ func (m *GlobalSlashEntry) GetProviderValConsAddr() []byte { // Params defines the parameters for CCV Provider module type Params struct { - TemplateClient *types1.ClientState `protobuf:"bytes,1,opt,name=template_client,json=templateClient,proto3" json:"template_client,omitempty"` + TemplateClient *types2.ClientState `protobuf:"bytes,1,opt,name=template_client,json=templateClient,proto3" json:"template_client,omitempty"` // TrustingPeriodFraction is used to compute the consumer and provider IBC client's TrustingPeriod from the chain defined UnbondingPeriod TrustingPeriodFraction string `protobuf:"bytes,2,opt,name=trusting_period_fraction,json=trustingPeriodFraction,proto3" json:"trusting_period_fraction,omitempty"` // Sent IBC packets will timeout after this duration @@ -365,14 +437,14 @@ type Params struct { // that can be queued for a single consumer before the provider chain halts. MaxThrottledPackets int64 `protobuf:"varint,8,opt,name=max_throttled_packets,json=maxThrottledPackets,proto3" json:"max_throttled_packets,omitempty"` // The fee required to be paid to add a reward denom - ConsumerRewardDenomRegistrationFee types2.Coin `protobuf:"bytes,9,opt,name=consumer_reward_denom_registration_fee,json=consumerRewardDenomRegistrationFee,proto3" json:"consumer_reward_denom_registration_fee"` + ConsumerRewardDenomRegistrationFee types3.Coin `protobuf:"bytes,9,opt,name=consumer_reward_denom_registration_fee,json=consumerRewardDenomRegistrationFee,proto3" json:"consumer_reward_denom_registration_fee"` } func (m *Params) Reset() { *m = Params{} } func (m *Params) String() string { return proto.CompactTextString(m) } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{4} + return fileDescriptor_f22ec409a72b7b72, []int{5} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -401,7 +473,7 @@ func (m *Params) XXX_DiscardUnknown() { var xxx_messageInfo_Params proto.InternalMessageInfo -func (m *Params) GetTemplateClient() *types1.ClientState { +func (m *Params) GetTemplateClient() *types2.ClientState { if m != nil { return m.TemplateClient } @@ -457,11 +529,11 @@ func (m *Params) GetMaxThrottledPackets() int64 { return 0 } -func (m *Params) GetConsumerRewardDenomRegistrationFee() types2.Coin { +func (m *Params) GetConsumerRewardDenomRegistrationFee() types3.Coin { if m != nil { return m.ConsumerRewardDenomRegistrationFee } - return types2.Coin{} + return types3.Coin{} } type HandshakeMetadata struct { @@ -473,7 +545,7 @@ func (m *HandshakeMetadata) Reset() { *m = HandshakeMetadata{} } func (m *HandshakeMetadata) String() string { return proto.CompactTextString(m) } func (*HandshakeMetadata) ProtoMessage() {} func (*HandshakeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{5} + return fileDescriptor_f22ec409a72b7b72, []int{6} } func (m *HandshakeMetadata) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -526,7 +598,7 @@ func (m *SlashAcks) Reset() { *m = SlashAcks{} } func (m *SlashAcks) String() string { return proto.CompactTextString(m) } func (*SlashAcks) ProtoMessage() {} func (*SlashAcks) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{6} + return fileDescriptor_f22ec409a72b7b72, []int{7} } func (m *SlashAcks) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -572,7 +644,7 @@ func (m *ConsumerAdditionProposals) Reset() { *m = ConsumerAdditionPropo func (m *ConsumerAdditionProposals) String() string { return proto.CompactTextString(m) } func (*ConsumerAdditionProposals) ProtoMessage() {} func (*ConsumerAdditionProposals) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{7} + return fileDescriptor_f22ec409a72b7b72, []int{8} } func (m *ConsumerAdditionProposals) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -618,7 +690,7 @@ func (m *ConsumerRemovalProposals) Reset() { *m = ConsumerRemovalProposa func (m *ConsumerRemovalProposals) String() string { return proto.CompactTextString(m) } func (*ConsumerRemovalProposals) ProtoMessage() {} func (*ConsumerRemovalProposals) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{8} + return fileDescriptor_f22ec409a72b7b72, []int{9} } func (m *ConsumerRemovalProposals) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -663,7 +735,7 @@ func (m *AddressList) Reset() { *m = AddressList{} } func (m *AddressList) String() string { return proto.CompactTextString(m) } func (*AddressList) ProtoMessage() {} func (*AddressList) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{9} + return fileDescriptor_f22ec409a72b7b72, []int{10} } func (m *AddressList) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -708,7 +780,7 @@ func (m *ChannelToChain) Reset() { *m = ChannelToChain{} } func (m *ChannelToChain) String() string { return proto.CompactTextString(m) } func (*ChannelToChain) ProtoMessage() {} func (*ChannelToChain) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{10} + return fileDescriptor_f22ec409a72b7b72, []int{11} } func (m *ChannelToChain) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -762,7 +834,7 @@ func (m *VscUnbondingOps) Reset() { *m = VscUnbondingOps{} } func (m *VscUnbondingOps) String() string { return proto.CompactTextString(m) } func (*VscUnbondingOps) ProtoMessage() {} func (*VscUnbondingOps) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{11} + return fileDescriptor_f22ec409a72b7b72, []int{12} } func (m *VscUnbondingOps) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -817,7 +889,7 @@ func (m *UnbondingOp) Reset() { *m = UnbondingOp{} } func (m *UnbondingOp) String() string { return proto.CompactTextString(m) } func (*UnbondingOp) ProtoMessage() {} func (*UnbondingOp) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{12} + return fileDescriptor_f22ec409a72b7b72, []int{13} } func (m *UnbondingOp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -869,7 +941,7 @@ func (m *InitTimeoutTimestamp) Reset() { *m = InitTimeoutTimestamp{} } func (m *InitTimeoutTimestamp) String() string { return proto.CompactTextString(m) } func (*InitTimeoutTimestamp) ProtoMessage() {} func (*InitTimeoutTimestamp) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{13} + return fileDescriptor_f22ec409a72b7b72, []int{14} } func (m *InitTimeoutTimestamp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -921,7 +993,7 @@ func (m *VscSendTimestamp) Reset() { *m = VscSendTimestamp{} } func (m *VscSendTimestamp) String() string { return proto.CompactTextString(m) } func (*VscSendTimestamp) ProtoMessage() {} func (*VscSendTimestamp) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{14} + return fileDescriptor_f22ec409a72b7b72, []int{15} } func (m *VscSendTimestamp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -974,7 +1046,7 @@ func (m *KeyAssignmentReplacement) Reset() { *m = KeyAssignmentReplaceme func (m *KeyAssignmentReplacement) String() string { return proto.CompactTextString(m) } func (*KeyAssignmentReplacement) ProtoMessage() {} func (*KeyAssignmentReplacement) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{15} + return fileDescriptor_f22ec409a72b7b72, []int{16} } func (m *KeyAssignmentReplacement) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1036,7 +1108,7 @@ func (m *ValidatorConsumerPubKey) Reset() { *m = ValidatorConsumerPubKey func (m *ValidatorConsumerPubKey) String() string { return proto.CompactTextString(m) } func (*ValidatorConsumerPubKey) ProtoMessage() {} func (*ValidatorConsumerPubKey) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{16} + return fileDescriptor_f22ec409a72b7b72, []int{17} } func (m *ValidatorConsumerPubKey) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1098,7 +1170,7 @@ func (m *ValidatorByConsumerAddr) Reset() { *m = ValidatorByConsumerAddr func (m *ValidatorByConsumerAddr) String() string { return proto.CompactTextString(m) } func (*ValidatorByConsumerAddr) ProtoMessage() {} func (*ValidatorByConsumerAddr) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{17} + return fileDescriptor_f22ec409a72b7b72, []int{18} } func (m *ValidatorByConsumerAddr) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1160,7 +1232,7 @@ func (m *ConsumerAddrsToPrune) Reset() { *m = ConsumerAddrsToPrune{} } func (m *ConsumerAddrsToPrune) String() string { return proto.CompactTextString(m) } func (*ConsumerAddrsToPrune) ProtoMessage() {} func (*ConsumerAddrsToPrune) Descriptor() ([]byte, []int) { - return fileDescriptor_f22ec409a72b7b72, []int{18} + return fileDescriptor_f22ec409a72b7b72, []int{19} } func (m *ConsumerAddrsToPrune) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1213,6 +1285,7 @@ func (m *ConsumerAddrsToPrune) GetConsumerAddrs() *AddressList { func init() { proto.RegisterType((*ConsumerAdditionProposal)(nil), "interchain_security.ccv.provider.v1.ConsumerAdditionProposal") proto.RegisterType((*ConsumerRemovalProposal)(nil), "interchain_security.ccv.provider.v1.ConsumerRemovalProposal") + proto.RegisterType((*EquivocationProposal)(nil), "interchain_security.ccv.provider.v1.EquivocationProposal") proto.RegisterType((*ChangeRewardDenomsProposal)(nil), "interchain_security.ccv.provider.v1.ChangeRewardDenomsProposal") proto.RegisterType((*GlobalSlashEntry)(nil), "interchain_security.ccv.provider.v1.GlobalSlashEntry") proto.RegisterType((*Params)(nil), "interchain_security.ccv.provider.v1.Params") @@ -1237,107 +1310,111 @@ func init() { } var fileDescriptor_f22ec409a72b7b72 = []byte{ - // 1595 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x4f, 0x73, 0xdb, 0xc6, - 0x15, 0x17, 0x44, 0xfd, 0xe3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03, 0x1c, 0x05, 0x08, 0xe9, 0x78, - 0x22, 0xb3, 0x6d, 0xe1, 0x48, 0x88, 0x03, 0xe0, 0x11, 0xcd, 0xc0, 0xd5, 0x2a, 0x17, 0xd8, 0xaf, - 0x9d, 0x13, 0x3e, 0x4b, 0x24, 0x73, 0x2e, 0x61, 0x26, 0x0a, 0x7b, 0x08, 0x13, 0x11, 0x13, 0x8e, - 0x8f, 0x05, 0x38, 0xe9, 0x91, 0x0f, 0x12, 0x1f, 0x39, 0x84, 0xd1, 0xdc, 0x1e, 0xeb, 0xfb, 0x0d, - 0xd4, 0x1d, 0xb0, 0x58, 0x4c, 0x23, 0xe0, 0x27, 0x41, 0x40, 0x95, 0xa9, 0x43, 0xce, 0x12, 0x26, - 0x70, 0x68, 0xde, 0x41, 0xeb, 0x92, 0xca, 0x10, 0xba, 0xc6, 0x81, 0x71, 0xd8, 0x74, 0xb3, 0x85, - 0x79, 0x80, 0x5a, 0x01, 0x08, 0xc2, 0x69, 0xa2, 0xc0, 0xdd, 0x55, 0x7d, 0x56, 0xdf, 0x32, 0xf7, - 0xd0, 0x56, 0x16, 0x5d, 0x1a, 0x74, 0x1b, 0xfa, 0x78, 0x53, 0xaf, 0xcf, 0x02, 0xf3, 0x63, 0xd4, - 0xa1, 0x31, 0x95, 0x14, 0x87, 0xde, 0x04, 0x94, 0x97, 0xdd, 0xb5, 0x03, 0xe3, 0xb0, 0x75, 0x7c, - 0xdf, 0xa6, 0x3e, 0xb1, 0x55, 0x60, 0xec, 0x3c, 0x1c, 0xe9, 0x91, 0xfd, 0x44, 0x23, 0x4e, 0xd7, - 0xbe, 0xf9, 0xae, 0xbf, 0xe2, 0x6e, 0xe7, 0x72, 0xd9, 0xa6, 0xf9, 0x00, 0xb5, 0xc7, 0x10, 0x83, - 0xa0, 0xc2, 0x9b, 0x60, 0x31, 0xe9, 0xae, 0x1f, 0x18, 0x87, 0x6d, 0xb7, 0x95, 0xef, 0x3d, 0xc1, - 0x62, 0x62, 0x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x10, 0xf8, 0xa3, 0x1a, 0x72, 0x54, 0x03, - 0x9a, 0xef, 0x23, 0x73, 0x42, 0x85, 0x64, 0x9c, 0x12, 0x1c, 0x7a, 0x10, 0x4b, 0x4e, 0x41, 0x74, - 0xb7, 0xb5, 0xf8, 0xad, 0xea, 0xe4, 0x37, 0xd9, 0x81, 0xf9, 0x09, 0x7a, 0x70, 0xa3, 0x52, 0x8f, - 0x4c, 0x70, 0x1c, 0x43, 0xd8, 0xed, 0x68, 0x57, 0xfa, 0xc1, 0x0d, 0x3a, 0x07, 0x19, 0xec, 0xe1, - 0xd6, 0x9f, 0xbf, 0xee, 0xaf, 0x7c, 0xf5, 0x75, 0x7f, 0xc5, 0xfa, 0x87, 0x81, 0xee, 0x0d, 0x4a, - 0xc7, 0x23, 0x96, 0xe2, 0xf0, 0xff, 0x59, 0x60, 0x27, 0xa8, 0x29, 0x24, 0x4b, 0xb2, 0x2b, 0xbd, - 0xf6, 0x16, 0x57, 0x7a, 0x4b, 0x89, 0xa9, 0x03, 0xeb, 0xef, 0x06, 0xba, 0xaf, 0xfc, 0x18, 0x83, - 0x0b, 0x2f, 0x31, 0x0f, 0x1e, 0x41, 0xcc, 0x22, 0xf1, 0xa3, 0x8d, 0xb6, 0xd0, 0x76, 0xa0, 0x99, - 0x3c, 0xc9, 0x3c, 0x1c, 0x28, 0xcb, 0x1b, 0x19, 0x46, 0x6d, 0x8e, 0xd8, 0x49, 0x10, 0x98, 0x87, - 0x68, 0xb7, 0xc2, 0x70, 0x15, 0x2d, 0xe5, 0x84, 0x82, 0x75, 0x0a, 0x98, 0x8e, 0x21, 0x58, 0xff, - 0x31, 0xd0, 0xee, 0xc7, 0x21, 0xf3, 0x71, 0x78, 0x1e, 0x62, 0x31, 0x51, 0x39, 0x9c, 0x29, 0xe7, - 0x39, 0xe4, 0xc5, 0xa3, 0xcd, 0x5b, 0xda, 0x79, 0x25, 0xa6, 0xcb, 0xf9, 0x23, 0x74, 0xab, 0xbc, - 0xce, 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df, 0x0c, 0x74, 0xa7, 0xae, 0x55, 0x8c, 0xd8, - 0x90, 0x4f, 0x63, 0xf8, 0x21, 0xed, 0xd5, 0xfd, 0x59, 0xad, 0xdf, 0x9f, 0xe7, 0xa8, 0x33, 0x67, - 0x94, 0xc8, 0xa3, 0xf1, 0xcb, 0xa5, 0x5a, 0x48, 0xad, 0x3d, 0xb8, 0xdb, 0x75, 0x3f, 0xc4, 0xe9, - 0xf3, 0x6f, 0x5e, 0xf7, 0x8c, 0x6f, 0x5f, 0xf7, 0x8c, 0x7f, 0xbd, 0xee, 0x19, 0x5f, 0xbe, 0xe9, - 0xad, 0x7c, 0xfb, 0xa6, 0xb7, 0xf2, 0xcf, 0x37, 0xbd, 0x95, 0x3f, 0x7c, 0x38, 0xa6, 0x72, 0x32, - 0xf5, 0x6d, 0xc2, 0x22, 0x27, 0xff, 0x17, 0xad, 0x74, 0xbd, 0x5f, 0xfe, 0xb2, 0xa7, 0xc7, 0xce, - 0xab, 0xf9, 0xff, 0x76, 0x39, 0x4b, 0x40, 0xf8, 0x1b, 0xfa, 0x5a, 0x7f, 0xf0, 0xdf, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x3c, 0x4e, 0x8d, 0x14, 0xe8, 0x0f, 0x00, 0x00, + // 1653 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x4f, 0x73, 0xdc, 0xb6, + 0x15, 0x17, 0xb5, 0xfa, 0xb7, 0x58, 0xfd, 0x33, 0x2d, 0xc7, 0x94, 0xab, 0xae, 0x64, 0xa6, 0xcd, + 0xa8, 0x93, 0x09, 0xb7, 0x52, 0x2e, 0x1d, 0x4f, 0x33, 0x19, 0x69, 0x1d, 0xc7, 0x8a, 0x9a, 0x78, + 0x43, 0xa9, 0xf2, 0xb4, 0x3d, 0x70, 0x40, 0xf0, 0x79, 0x17, 0x23, 0x92, 0xa0, 0x01, 0x2c,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 0x63, 0x6c, 0xbb, 0x77, 0x4b, 0x40, + 0x43, 0xf1, 0x85, 0xfd, 0x04, 0x6d, 0x9d, 0x54, 0xe2, 0x52, 0x36, 0x93, 0xc6, 0x0e, 0x8d, 0xe6, + 0xab, 0x61, 0x07, 0xb5, 0xcb, 0x5f, 0x3c, 0x7a, 0xf7, 0x0b, 0x6e, 0x35, 0x61, 0x47, 0x68, 0xf3, + 0x42, 0x90, 0x33, 0x88, 0x83, 0x8a, 0xec, 0x86, 0x03, 0x38, 0x9e, 0x26, 0x9a, 0xf9, 0x45, 0x5d, + 0xb9, 0xfb, 0xb3, 0x81, 0xac, 0x53, 0x98, 0x1c, 0x09, 0x41, 0x87, 0x71, 0x04, 0xb1, 0x54, 0x62, + 0x81, 0x09, 0xa8, 0x4f, 0xf3, 0x6d, 0xb4, 0x56, 0x5e, 0xb4, 0xf2, 0x7e, 0xad, 0xba, 0xab, 0xc5, + 0xa4, 0xbe, 0x58, 0x0f, 0x10, 0x4a, 0x38, 0xa4, 0x1e, 0xf1, 0x2e, 0x61, 0x92, 0x87, 0xb1, 0x53, + 0xef, 0x35, 0xd9, 0x0f, 0x2a, 0x67, 0x30, 0xf6, 0x43, 0x4a, 0x4e, 0x61, 0xe2, 0xae, 0x28, 0x7c, + 0xff, 0x14, 0x26, 0xea, 0xf1, 0x90, 0xb0, 0x17, 0xc0, 0x75, 0x83, 0x68, 0xb9, 0xd9, 0xc0, 0xfe, + 0x8b, 0x81, 0xee, 0x5e, 0xe0, 0x90, 0x06, 0x58, 0x32, 0x5e, 0x9c, 0xf7, 0x60, 0xec, 0x2b, 0x8b, + 0xef, 0x39, 0xd7, 0x2b, 0xd1, 0xce, 0x5f, 0x13, 0xed, 0x87, 0x68, 0xb5, 0xcc, 0xb0, 0x8a, 0xb7, + 0x35, 0x43, 0xbc, 0x9d, 0xc2, 0xe2, 0x14, 0x26, 0xf6, 0x1f, 0x6b, 0xb1, 0x1d, 0x4f, 0x6a, 0x97, + 0x97, 0xff, 0x8f, 0xd8, 0x4a, 0xb7, 0xf5, 0xd8, 0x48, 0xdd, 0xfe, 0xca, 0x06, 0x5a, 0x57, 0x37, + 0x60, 0xff, 0xcd, 0x40, 0x5b, 0x75, 0xaf, 0xe2, 0x9c, 0x0d, 0xf8, 0x38, 0x86, 0xef, 0xf3, 0x5e, + 0xd5, 0xcf, 0x7c, 0xbd, 0x7e, 0x9e, 0xa2, 0xf5, 0x46, 0x50, 0x22, 0x3f, 0x8d, 0x5f, 0xce, 0x24, + 0x21, 0x35, 0x79, 0x70, 0xd7, 0xea, 0xfb, 0x10, 0xc7, 0x4f, 0xbf, 0x7e, 0xd5, 0x35, 0xbe, 0x79, + 0xd5, 0x35, 0xfe, 0xf5, 0xaa, 0x6b, 0x7c, 0xf1, 0xba, 0x3b, 0xf7, 0xcd, 0xeb, 0xee, 0xdc, 0x3f, + 0x5f, 0x77, 0xe7, 0x7e, 0xff, 0xc1, 0x90, 0xca, 0xd1, 0xd8, 0x77, 0x08, 0x8b, 0x7a, 0xf9, 0xaf, + 0xe5, 0xca, 0xd7, 0x7b, 0xe5, 0x9f, 0x0f, 0xe9, 0x61, 0xef, 0x65, 0xf3, 0x1f, 0x08, 0x39, 0x49, + 0x40, 0xf8, 0x4b, 0xba, 0xac, 0xdf, 0xff, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x82, 0x3b, 0x96, + 0x2c, 0xb2, 0x10, 0x00, 0x00, } func (m *ConsumerAdditionProposal) Marshal() (dAtA []byte, err error) { @@ -1516,6 +1593,57 @@ func (m *ConsumerRemovalProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } +func (m *EquivocationProposal) 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 *EquivocationProposal) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EquivocationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Equivocations) > 0 { + for iNdEx := len(m.Equivocations) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Equivocations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintProvider(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintProvider(dAtA, i, uint64(len(m.Description))) + i-- + dAtA[i] = 0x12 + } + if len(m.Title) > 0 { + i -= len(m.Title) + copy(dAtA[i:], m.Title) + i = encodeVarintProvider(dAtA, i, uint64(len(m.Title))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *ChangeRewardDenomsProposal) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2357,6 +2485,29 @@ func (m *ConsumerRemovalProposal) Size() (n int) { return n } +func (m *EquivocationProposal) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Title) + if l > 0 { + n += 1 + l + sovProvider(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovProvider(uint64(l)) + } + if len(m.Equivocations) > 0 { + for _, e := range m.Equivocations { + l = e.Size() + n += 1 + l + sovProvider(uint64(l)) + } + } + return n +} + func (m *ChangeRewardDenomsProposal) Size() (n int) { if m == nil { return 0 @@ -3351,6 +3502,154 @@ func (m *ConsumerRemovalProposal) Unmarshal(dAtA []byte) error { } return nil } +func (m *EquivocationProposal) 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 ErrIntOverflowProvider + } + 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: EquivocationProposal: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EquivocationProposal: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + 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 ErrInvalidLengthProvider + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProvider + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Title = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + 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 ErrInvalidLengthProvider + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProvider + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Description = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Equivocations", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProvider + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProvider + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Equivocations = append(m.Equivocations, &types1.Equivocation{}) + if err := m.Equivocations[len(m.Equivocations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProvider(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthProvider + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *ChangeRewardDenomsProposal) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3756,7 +4055,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.TemplateClient == nil { - m.TemplateClient = &types1.ClientState{} + m.TemplateClient = &types2.ClientState{} } if err := m.TemplateClient.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err