|
|
@ -302,58 +302,6 @@ func (m *LunaticValidatorEvidence) GetInvalidHeaderField() string { |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
type PhantomValidatorEvidence struct { |
|
|
|
Vote *Vote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote,omitempty"` |
|
|
|
LastHeightValidatorWasInSet int64 `protobuf:"varint,2,opt,name=last_height_validator_was_in_set,json=lastHeightValidatorWasInSet,proto3" json:"last_height_validator_was_in_set,omitempty"` |
|
|
|
} |
|
|
|
|
|
|
|
func (m *PhantomValidatorEvidence) Reset() { *m = PhantomValidatorEvidence{} } |
|
|
|
func (m *PhantomValidatorEvidence) String() string { return proto.CompactTextString(m) } |
|
|
|
func (*PhantomValidatorEvidence) ProtoMessage() {} |
|
|
|
func (*PhantomValidatorEvidence) Descriptor() ([]byte, []int) { |
|
|
|
return fileDescriptor_6825fabc78e0a168, []int{5} |
|
|
|
} |
|
|
|
func (m *PhantomValidatorEvidence) XXX_Unmarshal(b []byte) error { |
|
|
|
return m.Unmarshal(b) |
|
|
|
} |
|
|
|
func (m *PhantomValidatorEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
|
|
|
if deterministic { |
|
|
|
return xxx_messageInfo_PhantomValidatorEvidence.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 *PhantomValidatorEvidence) XXX_Merge(src proto.Message) { |
|
|
|
xxx_messageInfo_PhantomValidatorEvidence.Merge(m, src) |
|
|
|
} |
|
|
|
func (m *PhantomValidatorEvidence) XXX_Size() int { |
|
|
|
return m.Size() |
|
|
|
} |
|
|
|
func (m *PhantomValidatorEvidence) XXX_DiscardUnknown() { |
|
|
|
xxx_messageInfo_PhantomValidatorEvidence.DiscardUnknown(m) |
|
|
|
} |
|
|
|
|
|
|
|
var xxx_messageInfo_PhantomValidatorEvidence proto.InternalMessageInfo |
|
|
|
|
|
|
|
func (m *PhantomValidatorEvidence) GetVote() *Vote { |
|
|
|
if m != nil { |
|
|
|
return m.Vote |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (m *PhantomValidatorEvidence) GetLastHeightValidatorWasInSet() int64 { |
|
|
|
if m != nil { |
|
|
|
return m.LastHeightValidatorWasInSet |
|
|
|
} |
|
|
|
return 0 |
|
|
|
} |
|
|
|
|
|
|
|
type Evidence struct { |
|
|
|
// Types that are valid to be assigned to Sum:
|
|
|
|
// *Evidence_DuplicateVoteEvidence
|
|
|
@ -361,7 +309,6 @@ type Evidence struct { |
|
|
|
// *Evidence_LunaticValidatorEvidence
|
|
|
|
// *Evidence_PotentialAmnesiaEvidence
|
|
|
|
// *Evidence_AmnesiaEvidence
|
|
|
|
// *Evidence_PhantomValidatorEvidence
|
|
|
|
Sum isEvidence_Sum `protobuf_oneof:"sum"` |
|
|
|
} |
|
|
|
|
|
|
@ -369,7 +316,7 @@ func (m *Evidence) Reset() { *m = Evidence{} } |
|
|
|
func (m *Evidence) String() string { return proto.CompactTextString(m) } |
|
|
|
func (*Evidence) ProtoMessage() {} |
|
|
|
func (*Evidence) Descriptor() ([]byte, []int) { |
|
|
|
return fileDescriptor_6825fabc78e0a168, []int{6} |
|
|
|
return fileDescriptor_6825fabc78e0a168, []int{5} |
|
|
|
} |
|
|
|
func (m *Evidence) XXX_Unmarshal(b []byte) error { |
|
|
|
return m.Unmarshal(b) |
|
|
@ -419,16 +366,12 @@ type Evidence_PotentialAmnesiaEvidence struct { |
|
|
|
type Evidence_AmnesiaEvidence struct { |
|
|
|
AmnesiaEvidence *AmnesiaEvidence `protobuf:"bytes,5,opt,name=amnesia_evidence,json=amnesiaEvidence,proto3,oneof" json:"amnesia_evidence,omitempty"` |
|
|
|
} |
|
|
|
type Evidence_PhantomValidatorEvidence struct { |
|
|
|
PhantomValidatorEvidence *PhantomValidatorEvidence `protobuf:"bytes,6,opt,name=phantom_validator_evidence,json=phantomValidatorEvidence,proto3,oneof" json:"phantom_validator_evidence,omitempty"` |
|
|
|
} |
|
|
|
|
|
|
|
func (*Evidence_DuplicateVoteEvidence) isEvidence_Sum() {} |
|
|
|
func (*Evidence_ConflictingHeadersEvidence) isEvidence_Sum() {} |
|
|
|
func (*Evidence_LunaticValidatorEvidence) isEvidence_Sum() {} |
|
|
|
func (*Evidence_PotentialAmnesiaEvidence) isEvidence_Sum() {} |
|
|
|
func (*Evidence_AmnesiaEvidence) isEvidence_Sum() {} |
|
|
|
func (*Evidence_PhantomValidatorEvidence) isEvidence_Sum() {} |
|
|
|
|
|
|
|
func (m *Evidence) GetSum() isEvidence_Sum { |
|
|
|
if m != nil { |
|
|
@ -472,13 +415,6 @@ func (m *Evidence) GetAmnesiaEvidence() *AmnesiaEvidence { |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (m *Evidence) GetPhantomValidatorEvidence() *PhantomValidatorEvidence { |
|
|
|
if x, ok := m.GetSum().(*Evidence_PhantomValidatorEvidence); ok { |
|
|
|
return x.PhantomValidatorEvidence |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
|
|
|
func (*Evidence) XXX_OneofWrappers() []interface{} { |
|
|
|
return []interface{}{ |
|
|
@ -487,7 +423,6 @@ func (*Evidence) XXX_OneofWrappers() []interface{} { |
|
|
|
(*Evidence_LunaticValidatorEvidence)(nil), |
|
|
|
(*Evidence_PotentialAmnesiaEvidence)(nil), |
|
|
|
(*Evidence_AmnesiaEvidence)(nil), |
|
|
|
(*Evidence_PhantomValidatorEvidence)(nil), |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -501,7 +436,7 @@ func (m *EvidenceData) Reset() { *m = EvidenceData{} } |
|
|
|
func (m *EvidenceData) String() string { return proto.CompactTextString(m) } |
|
|
|
func (*EvidenceData) ProtoMessage() {} |
|
|
|
func (*EvidenceData) Descriptor() ([]byte, []int) { |
|
|
|
return fileDescriptor_6825fabc78e0a168, []int{7} |
|
|
|
return fileDescriptor_6825fabc78e0a168, []int{6} |
|
|
|
} |
|
|
|
func (m *EvidenceData) XXX_Unmarshal(b []byte) error { |
|
|
|
return m.Unmarshal(b) |
|
|
@ -553,7 +488,7 @@ func (m *ProofOfLockChange) Reset() { *m = ProofOfLockChange{} } |
|
|
|
func (m *ProofOfLockChange) String() string { return proto.CompactTextString(m) } |
|
|
|
func (*ProofOfLockChange) ProtoMessage() {} |
|
|
|
func (*ProofOfLockChange) Descriptor() ([]byte, []int) { |
|
|
|
return fileDescriptor_6825fabc78e0a168, []int{8} |
|
|
|
return fileDescriptor_6825fabc78e0a168, []int{7} |
|
|
|
} |
|
|
|
func (m *ProofOfLockChange) XXX_Unmarshal(b []byte) error { |
|
|
|
return m.Unmarshal(b) |
|
|
@ -602,7 +537,6 @@ func init() { |
|
|
|
proto.RegisterType((*AmnesiaEvidence)(nil), "tendermint.types.AmnesiaEvidence") |
|
|
|
proto.RegisterType((*ConflictingHeadersEvidence)(nil), "tendermint.types.ConflictingHeadersEvidence") |
|
|
|
proto.RegisterType((*LunaticValidatorEvidence)(nil), "tendermint.types.LunaticValidatorEvidence") |
|
|
|
proto.RegisterType((*PhantomValidatorEvidence)(nil), "tendermint.types.PhantomValidatorEvidence") |
|
|
|
proto.RegisterType((*Evidence)(nil), "tendermint.types.Evidence") |
|
|
|
proto.RegisterType((*EvidenceData)(nil), "tendermint.types.EvidenceData") |
|
|
|
proto.RegisterType((*ProofOfLockChange)(nil), "tendermint.types.ProofOfLockChange") |
|
|
@ -611,53 +545,48 @@ func init() { |
|
|
|
func init() { proto.RegisterFile("tendermint/types/evidence.proto", fileDescriptor_6825fabc78e0a168) } |
|
|
|
|
|
|
|
var fileDescriptor_6825fabc78e0a168 = []byte{ |
|
|
|
// 728 bytes of a gzipped FileDescriptorProto
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0x6e, 0xf4, 0xd2, 0xb7, 0x1b, |
|
|
|
0xbd, 0xf4, 0x66, 0xc7, 0x23, 0xdc, 0x8f, 0x5b, 0xa6, 0xc3, 0x3a, 0xf5, 0xd1, 0x07, 0x74, 0xf8, |
|
|
|
0x9b, 0x3e, 0xb4, 0xe3, 0x8f, 0x6b, 0xab, 0x2a, 0xc6, 0x1f, 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff, |
|
|
|
0xdc, 0x62, 0x93, 0xc8, 0xc0, 0x07, 0x00, 0x00, |
|
|
|
// 656 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4f, 0x4f, 0xd4, 0x40, |
|
|
|
0x1c, 0x6d, 0xd9, 0x65, 0xc5, 0x1f, 0x24, 0x60, 0x03, 0xda, 0x34, 0xa4, 0x40, 0x3d, 0x48, 0x08, |
|
|
|
0x76, 0x61, 0x8d, 0xe1, 0xe2, 0x85, 0x3f, 0x9a, 0x4d, 0x20, 0x8a, 0x43, 0xc2, 0xc1, 0x4b, 0x9d, |
|
|
|
0x6d, 0x67, 0xdb, 0x81, 0x6e, 0xa7, 0xd9, 0x4e, 0x37, 0x6e, 0xe2, 0x67, 0x30, 0xde, 0xfd, 0x06, |
|
|
|
0x9e, 0xfd, 0x10, 0x1c, 0x39, 0x7a, 0x32, 0x06, 0xbe, 0x88, 0xe9, 0x74, 0x76, 0x17, 0xb7, 0x5b, |
|
|
|
0x36, 0x5e, 0xbc, 0x34, 0xcd, 0xef, 0xf7, 0xe6, 0xbd, 0x37, 0x79, 0xf3, 0x9b, 0x81, 0x35, 0x4e, |
|
|
|
0x22, 0x8f, 0x74, 0x3b, 0x34, 0xe2, 0x75, 0xde, 0x8f, 0x49, 0x52, 0x27, 0x3d, 0xea, 0x91, 0xc8, |
|
|
|
0x25, 0x76, 0xdc, 0x65, 0x9c, 0x69, 0x4b, 0x23, 0x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c6, 0x1f, 0x98, 0x56, 0x4d, |
|
|
|
0xd4, 0x5f, 0xfc, 0x09, 0x00, 0x00, 0xff, 0xff, 0xb8, 0xe6, 0x16, 0x08, 0xc4, 0x06, 0x00, 0x00, |
|
|
|
} |
|
|
|
|
|
|
|
func (m *DuplicateVoteEvidence) Marshal() (dAtA []byte, err error) { |
|
|
@ -907,46 +836,6 @@ func (m *LunaticValidatorEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error |
|
|
|
return len(dAtA) - i, nil |
|
|
|
} |
|
|
|
|
|
|
|
func (m *PhantomValidatorEvidence) 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 *PhantomValidatorEvidence) MarshalTo(dAtA []byte) (int, error) { |
|
|
|
size := m.Size() |
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size]) |
|
|
|
} |
|
|
|
|
|
|
|
func (m *PhantomValidatorEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
|
|
|
i := len(dAtA) |
|
|
|
_ = i |
|
|
|
var l int |
|
|
|
_ = l |
|
|
|
if m.LastHeightValidatorWasInSet != 0 { |
|
|
|
i = encodeVarintEvidence(dAtA, i, uint64(m.LastHeightValidatorWasInSet)) |
|
|
|
i-- |
|
|
|
dAtA[i] = 0x10 |
|
|
|
} |
|
|
|
if m.Vote != nil { |
|
|
|
{ |
|
|
|
size, err := m.Vote.MarshalToSizedBuffer(dAtA[:i]) |
|
|
|
if err != nil { |
|
|
|
return 0, err |
|
|
|
} |
|
|
|
i -= size |
|
|
|
i = encodeVarintEvidence(dAtA, i, uint64(size)) |
|
|
|
} |
|
|
|
i-- |
|
|
|
dAtA[i] = 0xa |
|
|
|
} |
|
|
|
return len(dAtA) - i, nil |
|
|
|
} |
|
|
|
|
|
|
|
func (m *Evidence) Marshal() (dAtA []byte, err error) { |
|
|
|
size := m.Size() |
|
|
|
dAtA = make([]byte, size) |
|
|
@ -1084,27 +973,6 @@ func (m *Evidence_AmnesiaEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error |
|
|
|
} |
|
|
|
return len(dAtA) - i, nil |
|
|
|
} |
|
|
|
func (m *Evidence_PhantomValidatorEvidence) MarshalTo(dAtA []byte) (int, error) { |
|
|
|
size := m.Size() |
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size]) |
|
|
|
} |
|
|
|
|
|
|
|
func (m *Evidence_PhantomValidatorEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
|
|
|
i := len(dAtA) |
|
|
|
if m.PhantomValidatorEvidence != nil { |
|
|
|
{ |
|
|
|
size, err := m.PhantomValidatorEvidence.MarshalToSizedBuffer(dAtA[:i]) |
|
|
|
if err != nil { |
|
|
|
return 0, err |
|
|
|
} |
|
|
|
i -= size |
|
|
|
i = encodeVarintEvidence(dAtA, i, uint64(size)) |
|
|
|
} |
|
|
|
i-- |
|
|
|
dAtA[i] = 0x32 |
|
|
|
} |
|
|
|
return len(dAtA) - i, nil |
|
|
|
} |
|
|
|
func (m *EvidenceData) Marshal() (dAtA []byte, err error) { |
|
|
|
size := m.Size() |
|
|
|
dAtA = make([]byte, size) |
|
|
@ -1301,22 +1169,6 @@ func (m *LunaticValidatorEvidence) Size() (n int) { |
|
|
|
return n |
|
|
|
} |
|
|
|
|
|
|
|
func (m *PhantomValidatorEvidence) Size() (n int) { |
|
|
|
if m == nil { |
|
|
|
return 0 |
|
|
|
} |
|
|
|
var l int |
|
|
|
_ = l |
|
|
|
if m.Vote != nil { |
|
|
|
l = m.Vote.Size() |
|
|
|
n += 1 + l + sovEvidence(uint64(l)) |
|
|
|
} |
|
|
|
if m.LastHeightValidatorWasInSet != 0 { |
|
|
|
n += 1 + sovEvidence(uint64(m.LastHeightValidatorWasInSet)) |
|
|
|
} |
|
|
|
return n |
|
|
|
} |
|
|
|
|
|
|
|
func (m *Evidence) Size() (n int) { |
|
|
|
if m == nil { |
|
|
|
return 0 |
|
|
@ -1389,18 +1241,6 @@ func (m *Evidence_AmnesiaEvidence) Size() (n int) { |
|
|
|
} |
|
|
|
return n |
|
|
|
} |
|
|
|
func (m *Evidence_PhantomValidatorEvidence) Size() (n int) { |
|
|
|
if m == nil { |
|
|
|
return 0 |
|
|
|
} |
|
|
|
var l int |
|
|
|
_ = l |
|
|
|
if m.PhantomValidatorEvidence != nil { |
|
|
|
l = m.PhantomValidatorEvidence.Size() |
|
|
|
n += 1 + l + sovEvidence(uint64(l)) |
|
|
|
} |
|
|
|
return n |
|
|
|
} |
|
|
|
func (m *EvidenceData) Size() (n int) { |
|
|
|
if m == nil { |
|
|
|
return 0 |
|
|
@ -2121,114 +1961,6 @@ func (m *LunaticValidatorEvidence) Unmarshal(dAtA []byte) error { |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
func (m *PhantomValidatorEvidence) 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 ErrIntOverflowEvidence |
|
|
|
} |
|
|
|
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: PhantomValidatorEvidence: wiretype end group for non-group") |
|
|
|
} |
|
|
|
if fieldNum <= 0 { |
|
|
|
return fmt.Errorf("proto: PhantomValidatorEvidence: illegal tag %d (wire type %d)", fieldNum, wire) |
|
|
|
} |
|
|
|
switch fieldNum { |
|
|
|
case 1: |
|
|
|
if wireType != 2 { |
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Vote", wireType) |
|
|
|
} |
|
|
|
var msglen int |
|
|
|
for shift := uint(0); ; shift += 7 { |
|
|
|
if shift >= 64 { |
|
|
|
return ErrIntOverflowEvidence |
|
|
|
} |
|
|
|
if iNdEx >= l { |
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
} |
|
|
|
b := dAtA[iNdEx] |
|
|
|
iNdEx++ |
|
|
|
msglen |= int(b&0x7F) << shift |
|
|
|
if b < 0x80 { |
|
|
|
break |
|
|
|
} |
|
|
|
} |
|
|
|
if msglen < 0 { |
|
|
|
return ErrInvalidLengthEvidence |
|
|
|
} |
|
|
|
postIndex := iNdEx + msglen |
|
|
|
if postIndex < 0 { |
|
|
|
return ErrInvalidLengthEvidence |
|
|
|
} |
|
|
|
if postIndex > l { |
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
} |
|
|
|
if m.Vote == nil { |
|
|
|
m.Vote = &Vote{} |
|
|
|
} |
|
|
|
if err := m.Vote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
|
|
|
return err |
|
|
|
} |
|
|
|
iNdEx = postIndex |
|
|
|
case 2: |
|
|
|
if wireType != 0 { |
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LastHeightValidatorWasInSet", wireType) |
|
|
|
} |
|
|
|
m.LastHeightValidatorWasInSet = 0 |
|
|
|
for shift := uint(0); ; shift += 7 { |
|
|
|
if shift >= 64 { |
|
|
|
return ErrIntOverflowEvidence |
|
|
|
} |
|
|
|
if iNdEx >= l { |
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
} |
|
|
|
b := dAtA[iNdEx] |
|
|
|
iNdEx++ |
|
|
|
m.LastHeightValidatorWasInSet |= int64(b&0x7F) << shift |
|
|
|
if b < 0x80 { |
|
|
|
break |
|
|
|
} |
|
|
|
} |
|
|
|
default: |
|
|
|
iNdEx = preIndex |
|
|
|
skippy, err := skipEvidence(dAtA[iNdEx:]) |
|
|
|
if err != nil { |
|
|
|
return err |
|
|
|
} |
|
|
|
if skippy < 0 { |
|
|
|
return ErrInvalidLengthEvidence |
|
|
|
} |
|
|
|
if (iNdEx + skippy) < 0 { |
|
|
|
return ErrInvalidLengthEvidence |
|
|
|
} |
|
|
|
if (iNdEx + skippy) > l { |
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
} |
|
|
|
iNdEx += skippy |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if iNdEx > l { |
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
func (m *Evidence) Unmarshal(dAtA []byte) error { |
|
|
|
l := len(dAtA) |
|
|
|
iNdEx := 0 |
|
|
@ -2433,41 +2165,6 @@ func (m *Evidence) Unmarshal(dAtA []byte) error { |
|
|
|
} |
|
|
|
m.Sum = &Evidence_AmnesiaEvidence{v} |
|
|
|
iNdEx = postIndex |
|
|
|
case 6: |
|
|
|
if wireType != 2 { |
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PhantomValidatorEvidence", wireType) |
|
|
|
} |
|
|
|
var msglen int |
|
|
|
for shift := uint(0); ; shift += 7 { |
|
|
|
if shift >= 64 { |
|
|
|
return ErrIntOverflowEvidence |
|
|
|
} |
|
|
|
if iNdEx >= l { |
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
} |
|
|
|
b := dAtA[iNdEx] |
|
|
|
iNdEx++ |
|
|
|
msglen |= int(b&0x7F) << shift |
|
|
|
if b < 0x80 { |
|
|
|
break |
|
|
|
} |
|
|
|
} |
|
|
|
if msglen < 0 { |
|
|
|
return ErrInvalidLengthEvidence |
|
|
|
} |
|
|
|
postIndex := iNdEx + msglen |
|
|
|
if postIndex < 0 { |
|
|
|
return ErrInvalidLengthEvidence |
|
|
|
} |
|
|
|
if postIndex > l { |
|
|
|
return io.ErrUnexpectedEOF |
|
|
|
} |
|
|
|
v := &PhantomValidatorEvidence{} |
|
|
|
if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
|
|
|
return err |
|
|
|
} |
|
|
|
m.Sum = &Evidence_PhantomValidatorEvidence{v} |
|
|
|
iNdEx = postIndex |
|
|
|
default: |
|
|
|
iNdEx = preIndex |
|
|
|
skippy, err := skipEvidence(dAtA[iNdEx:]) |
|
|
|