diff --git a/proto/babylon/finality/v1/tx.proto b/proto/babylon/finality/v1/tx.proto index b3c8e1b25..4dad537bd 100644 --- a/proto/babylon/finality/v1/tx.proto +++ b/proto/babylon/finality/v1/tx.proto @@ -110,8 +110,11 @@ message MsgUnjailFinalityProviderResponse {} // MsgEquivocationEvidence is the message for handling evidence of equivocation message MsgEquivocationEvidence { + option (cosmos.msg.v1.signer) = "signer"; + + string signer = 1; // evidence is the evidence of equivocation - Evidence evidence = 1 [(gogoproto.nullable) = false]; + Evidence evidence = 2 [(gogoproto.nullable) = false]; } // MsgEquivocationEvidenceResponse is the response for MsgEquivocationEvidence diff --git a/x/finality/types/tx.pb.go b/x/finality/types/tx.pb.go index 6dc7c453c..e31b4cc9d 100644 --- a/x/finality/types/tx.pb.go +++ b/x/finality/types/tx.pb.go @@ -444,8 +444,9 @@ var xxx_messageInfo_MsgUnjailFinalityProviderResponse proto.InternalMessageInfo // MsgEquivocationEvidence is the message for handling evidence of equivocation type MsgEquivocationEvidence struct { + Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // evidence is the evidence of equivocation - Evidence Evidence `protobuf:"bytes,1,opt,name=evidence,proto3" json:"evidence"` + Evidence Evidence `protobuf:"bytes,2,opt,name=evidence,proto3" json:"evidence"` } func (m *MsgEquivocationEvidence) Reset() { *m = MsgEquivocationEvidence{} } @@ -481,6 +482,13 @@ func (m *MsgEquivocationEvidence) XXX_DiscardUnknown() { var xxx_messageInfo_MsgEquivocationEvidence proto.InternalMessageInfo +func (m *MsgEquivocationEvidence) GetSigner() string { + if m != nil { + return m.Signer + } + return "" +} + func (m *MsgEquivocationEvidence) GetEvidence() Evidence { if m != nil { return m.Evidence @@ -550,61 +558,61 @@ func init() { func init() { proto.RegisterFile("babylon/finality/v1/tx.proto", fileDescriptor_2dd6da066b6baf1d) } var fileDescriptor_2dd6da066b6baf1d = []byte{ - // 858 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xcf, 0x6f, 0x1b, 0x45, + // 860 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xcf, 0x6f, 0x1b, 0x45, 0x14, 0xf6, 0x36, 0xbf, 0xc7, 0x56, 0xaa, 0x2e, 0x51, 0xbb, 0x71, 0x5b, 0xdb, 0x35, 0x15, 0x0a, - 0x15, 0xdd, 0x25, 0x6e, 0x14, 0x20, 0x3d, 0xa0, 0x18, 0x05, 0x15, 0x51, 0x0b, 0x6b, 0xdd, 0x5c, - 0x2a, 0x21, 0x6b, 0x7f, 0x8c, 0x67, 0x87, 0x78, 0x67, 0xa6, 0x33, 0xb3, 0x51, 0xcd, 0xa9, 0xe2, - 0xc4, 0x91, 0x03, 0x27, 0x4e, 0xfc, 0x09, 0x3d, 0x70, 0xe5, 0x88, 0xd4, 0x03, 0x87, 0x8a, 0x13, - 0xca, 0x21, 0x42, 0xc9, 0xa1, 0xff, 0x06, 0xf2, 0xec, 0xec, 0x3a, 0x49, 0xd7, 0xc2, 0xe1, 0xd0, - 0xdb, 0xbe, 0x79, 0xdf, 0x9b, 0xf7, 0xbd, 0xf7, 0xbd, 0x37, 0x0b, 0x6e, 0xf9, 0x9e, 0x3f, 0x1a, - 0x52, 0xe2, 0x0c, 0x30, 0xf1, 0x86, 0x58, 0x8e, 0x9c, 0xc3, 0x4d, 0x47, 0x3e, 0xb7, 0x19, 0xa7, - 0x92, 0x9a, 0xef, 0x69, 0xaf, 0x9d, 0x79, 0xed, 0xc3, 0xcd, 0xea, 0x1a, 0xa2, 0x88, 0x2a, 0xbf, - 0x33, 0xfe, 0x4a, 0xa1, 0xd5, 0xdb, 0x12, 0x92, 0x10, 0xf2, 0x18, 0x13, 0xe9, 0x04, 0x7c, 0xc4, - 0x24, 0x75, 0x18, 0xa7, 0x74, 0xa0, 0xdd, 0xeb, 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 0xbf, 0xb8, 0x67, 0xb4, 0x1e, 0xbf, 0x3c, 0xad, 0x19, 0xaf, 0x4e, 0x6b, 0xc6, 0x3f, 0xa7, + 0x35, 0xe3, 0xa7, 0xb3, 0x5a, 0xe9, 0xd5, 0x59, 0xad, 0xf4, 0xf7, 0x59, 0xad, 0xf4, 0xf5, 0xd6, + 0x7f, 0xcf, 0xe6, 0xb3, 0xf1, 0xff, 0x81, 0x1a, 0x53, 0x7f, 0x51, 0xfd, 0x1a, 0x3c, 0xf8, 0x37, + 0x00, 0x00, 0xff, 0xff, 0xb4, 0x36, 0xe6, 0xce, 0xfe, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1211,7 +1219,14 @@ func (m *MsgEquivocationEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintTx(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + 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] = 0xa + } return len(dAtA) - i, nil } @@ -1400,6 +1415,10 @@ func (m *MsgEquivocationEvidence) Size() (n int) { } var l int _ = l + l = len(m.Signer) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } l = m.Evidence.Size() n += 1 + l + sovTx(uint64(l)) return n @@ -2385,6 +2404,38 @@ func (m *MsgEquivocationEvidence) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: + 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 + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Evidence", wireType) }