make MaxAge nonnullable

This commit is contained in:
Anton Kaliaev 2018-10-15 12:05:58 +04:00
parent 7e7e4c74ca
commit 166dc01ab5
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
7 changed files with 272 additions and 285 deletions

1
Gopkg.lock generated
View File

@ -517,6 +517,7 @@
"github.com/gogo/protobuf/proto", "github.com/gogo/protobuf/proto",
"github.com/gogo/protobuf/types", "github.com/gogo/protobuf/types",
"github.com/golang/protobuf/proto", "github.com/golang/protobuf/proto",
"github.com/golang/protobuf/ptypes/duration",
"github.com/golang/protobuf/ptypes/timestamp", "github.com/golang/protobuf/ptypes/timestamp",
"github.com/gorilla/websocket", "github.com/gorilla/websocket",
"github.com/jmhodges/levigo", "github.com/jmhodges/levigo",

View File

@ -62,7 +62,7 @@ func (m *Request) Reset() { *m = Request{} }
func (m *Request) String() string { return proto.CompactTextString(m) } func (m *Request) String() string { return proto.CompactTextString(m) }
func (*Request) ProtoMessage() {} func (*Request) ProtoMessage() {}
func (*Request) Descriptor() ([]byte, []int) { func (*Request) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{0} return fileDescriptor_types_6169dac75ac75953, []int{0}
} }
func (m *Request) XXX_Unmarshal(b []byte) error { func (m *Request) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -484,7 +484,7 @@ func (m *RequestEcho) Reset() { *m = RequestEcho{} }
func (m *RequestEcho) String() string { return proto.CompactTextString(m) } func (m *RequestEcho) String() string { return proto.CompactTextString(m) }
func (*RequestEcho) ProtoMessage() {} func (*RequestEcho) ProtoMessage() {}
func (*RequestEcho) Descriptor() ([]byte, []int) { func (*RequestEcho) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{1} return fileDescriptor_types_6169dac75ac75953, []int{1}
} }
func (m *RequestEcho) XXX_Unmarshal(b []byte) error { func (m *RequestEcho) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -530,7 +530,7 @@ func (m *RequestFlush) Reset() { *m = RequestFlush{} }
func (m *RequestFlush) String() string { return proto.CompactTextString(m) } func (m *RequestFlush) String() string { return proto.CompactTextString(m) }
func (*RequestFlush) ProtoMessage() {} func (*RequestFlush) ProtoMessage() {}
func (*RequestFlush) Descriptor() ([]byte, []int) { func (*RequestFlush) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{2} return fileDescriptor_types_6169dac75ac75953, []int{2}
} }
func (m *RequestFlush) XXX_Unmarshal(b []byte) error { func (m *RequestFlush) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -570,7 +570,7 @@ func (m *RequestInfo) Reset() { *m = RequestInfo{} }
func (m *RequestInfo) String() string { return proto.CompactTextString(m) } func (m *RequestInfo) String() string { return proto.CompactTextString(m) }
func (*RequestInfo) ProtoMessage() {} func (*RequestInfo) ProtoMessage() {}
func (*RequestInfo) Descriptor() ([]byte, []int) { func (*RequestInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{3} return fileDescriptor_types_6169dac75ac75953, []int{3}
} }
func (m *RequestInfo) XXX_Unmarshal(b []byte) error { func (m *RequestInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -619,7 +619,7 @@ func (m *RequestSetOption) Reset() { *m = RequestSetOption{} }
func (m *RequestSetOption) String() string { return proto.CompactTextString(m) } func (m *RequestSetOption) String() string { return proto.CompactTextString(m) }
func (*RequestSetOption) ProtoMessage() {} func (*RequestSetOption) ProtoMessage() {}
func (*RequestSetOption) Descriptor() ([]byte, []int) { func (*RequestSetOption) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{4} return fileDescriptor_types_6169dac75ac75953, []int{4}
} }
func (m *RequestSetOption) XXX_Unmarshal(b []byte) error { func (m *RequestSetOption) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -677,7 +677,7 @@ func (m *RequestInitChain) Reset() { *m = RequestInitChain{} }
func (m *RequestInitChain) String() string { return proto.CompactTextString(m) } func (m *RequestInitChain) String() string { return proto.CompactTextString(m) }
func (*RequestInitChain) ProtoMessage() {} func (*RequestInitChain) ProtoMessage() {}
func (*RequestInitChain) Descriptor() ([]byte, []int) { func (*RequestInitChain) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{5} return fileDescriptor_types_6169dac75ac75953, []int{5}
} }
func (m *RequestInitChain) XXX_Unmarshal(b []byte) error { func (m *RequestInitChain) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -755,7 +755,7 @@ func (m *RequestQuery) Reset() { *m = RequestQuery{} }
func (m *RequestQuery) String() string { return proto.CompactTextString(m) } func (m *RequestQuery) String() string { return proto.CompactTextString(m) }
func (*RequestQuery) ProtoMessage() {} func (*RequestQuery) ProtoMessage() {}
func (*RequestQuery) Descriptor() ([]byte, []int) { func (*RequestQuery) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{6} return fileDescriptor_types_6169dac75ac75953, []int{6}
} }
func (m *RequestQuery) XXX_Unmarshal(b []byte) error { func (m *RequestQuery) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -827,7 +827,7 @@ func (m *RequestBeginBlock) Reset() { *m = RequestBeginBlock{} }
func (m *RequestBeginBlock) String() string { return proto.CompactTextString(m) } func (m *RequestBeginBlock) String() string { return proto.CompactTextString(m) }
func (*RequestBeginBlock) ProtoMessage() {} func (*RequestBeginBlock) ProtoMessage() {}
func (*RequestBeginBlock) Descriptor() ([]byte, []int) { func (*RequestBeginBlock) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{7} return fileDescriptor_types_6169dac75ac75953, []int{7}
} }
func (m *RequestBeginBlock) XXX_Unmarshal(b []byte) error { func (m *RequestBeginBlock) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -895,7 +895,7 @@ func (m *RequestCheckTx) Reset() { *m = RequestCheckTx{} }
func (m *RequestCheckTx) String() string { return proto.CompactTextString(m) } func (m *RequestCheckTx) String() string { return proto.CompactTextString(m) }
func (*RequestCheckTx) ProtoMessage() {} func (*RequestCheckTx) ProtoMessage() {}
func (*RequestCheckTx) Descriptor() ([]byte, []int) { func (*RequestCheckTx) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{8} return fileDescriptor_types_6169dac75ac75953, []int{8}
} }
func (m *RequestCheckTx) XXX_Unmarshal(b []byte) error { func (m *RequestCheckTx) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -942,7 +942,7 @@ func (m *RequestDeliverTx) Reset() { *m = RequestDeliverTx{} }
func (m *RequestDeliverTx) String() string { return proto.CompactTextString(m) } func (m *RequestDeliverTx) String() string { return proto.CompactTextString(m) }
func (*RequestDeliverTx) ProtoMessage() {} func (*RequestDeliverTx) ProtoMessage() {}
func (*RequestDeliverTx) Descriptor() ([]byte, []int) { func (*RequestDeliverTx) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{9} return fileDescriptor_types_6169dac75ac75953, []int{9}
} }
func (m *RequestDeliverTx) XXX_Unmarshal(b []byte) error { func (m *RequestDeliverTx) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -989,7 +989,7 @@ func (m *RequestEndBlock) Reset() { *m = RequestEndBlock{} }
func (m *RequestEndBlock) String() string { return proto.CompactTextString(m) } func (m *RequestEndBlock) String() string { return proto.CompactTextString(m) }
func (*RequestEndBlock) ProtoMessage() {} func (*RequestEndBlock) ProtoMessage() {}
func (*RequestEndBlock) Descriptor() ([]byte, []int) { func (*RequestEndBlock) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{10} return fileDescriptor_types_6169dac75ac75953, []int{10}
} }
func (m *RequestEndBlock) XXX_Unmarshal(b []byte) error { func (m *RequestEndBlock) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -1035,7 +1035,7 @@ func (m *RequestCommit) Reset() { *m = RequestCommit{} }
func (m *RequestCommit) String() string { return proto.CompactTextString(m) } func (m *RequestCommit) String() string { return proto.CompactTextString(m) }
func (*RequestCommit) ProtoMessage() {} func (*RequestCommit) ProtoMessage() {}
func (*RequestCommit) Descriptor() ([]byte, []int) { func (*RequestCommit) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{11} return fileDescriptor_types_6169dac75ac75953, []int{11}
} }
func (m *RequestCommit) XXX_Unmarshal(b []byte) error { func (m *RequestCommit) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -1088,7 +1088,7 @@ func (m *Response) Reset() { *m = Response{} }
func (m *Response) String() string { return proto.CompactTextString(m) } func (m *Response) String() string { return proto.CompactTextString(m) }
func (*Response) ProtoMessage() {} func (*Response) ProtoMessage() {}
func (*Response) Descriptor() ([]byte, []int) { func (*Response) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{12} return fileDescriptor_types_6169dac75ac75953, []int{12}
} }
func (m *Response) XXX_Unmarshal(b []byte) error { func (m *Response) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -1541,7 +1541,7 @@ func (m *ResponseException) Reset() { *m = ResponseException{} }
func (m *ResponseException) String() string { return proto.CompactTextString(m) } func (m *ResponseException) String() string { return proto.CompactTextString(m) }
func (*ResponseException) ProtoMessage() {} func (*ResponseException) ProtoMessage() {}
func (*ResponseException) Descriptor() ([]byte, []int) { func (*ResponseException) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{13} return fileDescriptor_types_6169dac75ac75953, []int{13}
} }
func (m *ResponseException) XXX_Unmarshal(b []byte) error { func (m *ResponseException) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -1588,7 +1588,7 @@ func (m *ResponseEcho) Reset() { *m = ResponseEcho{} }
func (m *ResponseEcho) String() string { return proto.CompactTextString(m) } func (m *ResponseEcho) String() string { return proto.CompactTextString(m) }
func (*ResponseEcho) ProtoMessage() {} func (*ResponseEcho) ProtoMessage() {}
func (*ResponseEcho) Descriptor() ([]byte, []int) { func (*ResponseEcho) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{14} return fileDescriptor_types_6169dac75ac75953, []int{14}
} }
func (m *ResponseEcho) XXX_Unmarshal(b []byte) error { func (m *ResponseEcho) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -1634,7 +1634,7 @@ func (m *ResponseFlush) Reset() { *m = ResponseFlush{} }
func (m *ResponseFlush) String() string { return proto.CompactTextString(m) } func (m *ResponseFlush) String() string { return proto.CompactTextString(m) }
func (*ResponseFlush) ProtoMessage() {} func (*ResponseFlush) ProtoMessage() {}
func (*ResponseFlush) Descriptor() ([]byte, []int) { func (*ResponseFlush) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{15} return fileDescriptor_types_6169dac75ac75953, []int{15}
} }
func (m *ResponseFlush) XXX_Unmarshal(b []byte) error { func (m *ResponseFlush) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -1677,7 +1677,7 @@ func (m *ResponseInfo) Reset() { *m = ResponseInfo{} }
func (m *ResponseInfo) String() string { return proto.CompactTextString(m) } func (m *ResponseInfo) String() string { return proto.CompactTextString(m) }
func (*ResponseInfo) ProtoMessage() {} func (*ResponseInfo) ProtoMessage() {}
func (*ResponseInfo) Descriptor() ([]byte, []int) { func (*ResponseInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{16} return fileDescriptor_types_6169dac75ac75953, []int{16}
} }
func (m *ResponseInfo) XXX_Unmarshal(b []byte) error { func (m *ResponseInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -1749,7 +1749,7 @@ func (m *ResponseSetOption) Reset() { *m = ResponseSetOption{} }
func (m *ResponseSetOption) String() string { return proto.CompactTextString(m) } func (m *ResponseSetOption) String() string { return proto.CompactTextString(m) }
func (*ResponseSetOption) ProtoMessage() {} func (*ResponseSetOption) ProtoMessage() {}
func (*ResponseSetOption) Descriptor() ([]byte, []int) { func (*ResponseSetOption) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{17} return fileDescriptor_types_6169dac75ac75953, []int{17}
} }
func (m *ResponseSetOption) XXX_Unmarshal(b []byte) error { func (m *ResponseSetOption) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -1811,7 +1811,7 @@ func (m *ResponseInitChain) Reset() { *m = ResponseInitChain{} }
func (m *ResponseInitChain) String() string { return proto.CompactTextString(m) } func (m *ResponseInitChain) String() string { return proto.CompactTextString(m) }
func (*ResponseInitChain) ProtoMessage() {} func (*ResponseInitChain) ProtoMessage() {}
func (*ResponseInitChain) Descriptor() ([]byte, []int) { func (*ResponseInitChain) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{18} return fileDescriptor_types_6169dac75ac75953, []int{18}
} }
func (m *ResponseInitChain) XXX_Unmarshal(b []byte) error { func (m *ResponseInitChain) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -1874,7 +1874,7 @@ func (m *ResponseQuery) Reset() { *m = ResponseQuery{} }
func (m *ResponseQuery) String() string { return proto.CompactTextString(m) } func (m *ResponseQuery) String() string { return proto.CompactTextString(m) }
func (*ResponseQuery) ProtoMessage() {} func (*ResponseQuery) ProtoMessage() {}
func (*ResponseQuery) Descriptor() ([]byte, []int) { func (*ResponseQuery) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{19} return fileDescriptor_types_6169dac75ac75953, []int{19}
} }
func (m *ResponseQuery) XXX_Unmarshal(b []byte) error { func (m *ResponseQuery) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -1977,7 +1977,7 @@ func (m *ResponseBeginBlock) Reset() { *m = ResponseBeginBlock{} }
func (m *ResponseBeginBlock) String() string { return proto.CompactTextString(m) } func (m *ResponseBeginBlock) String() string { return proto.CompactTextString(m) }
func (*ResponseBeginBlock) ProtoMessage() {} func (*ResponseBeginBlock) ProtoMessage() {}
func (*ResponseBeginBlock) Descriptor() ([]byte, []int) { func (*ResponseBeginBlock) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{20} return fileDescriptor_types_6169dac75ac75953, []int{20}
} }
func (m *ResponseBeginBlock) XXX_Unmarshal(b []byte) error { func (m *ResponseBeginBlock) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2031,7 +2031,7 @@ func (m *ResponseCheckTx) Reset() { *m = ResponseCheckTx{} }
func (m *ResponseCheckTx) String() string { return proto.CompactTextString(m) } func (m *ResponseCheckTx) String() string { return proto.CompactTextString(m) }
func (*ResponseCheckTx) ProtoMessage() {} func (*ResponseCheckTx) ProtoMessage() {}
func (*ResponseCheckTx) Descriptor() ([]byte, []int) { func (*ResponseCheckTx) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{21} return fileDescriptor_types_6169dac75ac75953, []int{21}
} }
func (m *ResponseCheckTx) XXX_Unmarshal(b []byte) error { func (m *ResponseCheckTx) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2134,7 +2134,7 @@ func (m *ResponseDeliverTx) Reset() { *m = ResponseDeliverTx{} }
func (m *ResponseDeliverTx) String() string { return proto.CompactTextString(m) } func (m *ResponseDeliverTx) String() string { return proto.CompactTextString(m) }
func (*ResponseDeliverTx) ProtoMessage() {} func (*ResponseDeliverTx) ProtoMessage() {}
func (*ResponseDeliverTx) Descriptor() ([]byte, []int) { func (*ResponseDeliverTx) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{22} return fileDescriptor_types_6169dac75ac75953, []int{22}
} }
func (m *ResponseDeliverTx) XXX_Unmarshal(b []byte) error { func (m *ResponseDeliverTx) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2232,7 +2232,7 @@ func (m *ResponseEndBlock) Reset() { *m = ResponseEndBlock{} }
func (m *ResponseEndBlock) String() string { return proto.CompactTextString(m) } func (m *ResponseEndBlock) String() string { return proto.CompactTextString(m) }
func (*ResponseEndBlock) ProtoMessage() {} func (*ResponseEndBlock) ProtoMessage() {}
func (*ResponseEndBlock) Descriptor() ([]byte, []int) { func (*ResponseEndBlock) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{23} return fileDescriptor_types_6169dac75ac75953, []int{23}
} }
func (m *ResponseEndBlock) XXX_Unmarshal(b []byte) error { func (m *ResponseEndBlock) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2294,7 +2294,7 @@ func (m *ResponseCommit) Reset() { *m = ResponseCommit{} }
func (m *ResponseCommit) String() string { return proto.CompactTextString(m) } func (m *ResponseCommit) String() string { return proto.CompactTextString(m) }
func (*ResponseCommit) ProtoMessage() {} func (*ResponseCommit) ProtoMessage() {}
func (*ResponseCommit) Descriptor() ([]byte, []int) { func (*ResponseCommit) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{24} return fileDescriptor_types_6169dac75ac75953, []int{24}
} }
func (m *ResponseCommit) XXX_Unmarshal(b []byte) error { func (m *ResponseCommit) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2344,7 +2344,7 @@ func (m *ConsensusParams) Reset() { *m = ConsensusParams{} }
func (m *ConsensusParams) String() string { return proto.CompactTextString(m) } func (m *ConsensusParams) String() string { return proto.CompactTextString(m) }
func (*ConsensusParams) ProtoMessage() {} func (*ConsensusParams) ProtoMessage() {}
func (*ConsensusParams) Descriptor() ([]byte, []int) { func (*ConsensusParams) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{25} return fileDescriptor_types_6169dac75ac75953, []int{25}
} }
func (m *ConsensusParams) XXX_Unmarshal(b []byte) error { func (m *ConsensusParams) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2402,7 +2402,7 @@ func (m *BlockSize) Reset() { *m = BlockSize{} }
func (m *BlockSize) String() string { return proto.CompactTextString(m) } func (m *BlockSize) String() string { return proto.CompactTextString(m) }
func (*BlockSize) ProtoMessage() {} func (*BlockSize) ProtoMessage() {}
func (*BlockSize) Descriptor() ([]byte, []int) { func (*BlockSize) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{26} return fileDescriptor_types_6169dac75ac75953, []int{26}
} }
func (m *BlockSize) XXX_Unmarshal(b []byte) error { func (m *BlockSize) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2448,7 +2448,7 @@ func (m *BlockSize) GetMaxGas() int64 {
// EvidenceParams contains limits on the evidence. // EvidenceParams contains limits on the evidence.
type EvidenceParams struct { type EvidenceParams struct {
// Note: must be greater than 0 if provided // Note: must be greater than 0 if provided
MaxAge *time.Duration `protobuf:"bytes,1,opt,name=max_age,json=maxAge,stdduration" json:"max_age,omitempty"` MaxAge time.Duration `protobuf:"bytes,1,opt,name=max_age,json=maxAge,stdduration" json:"max_age"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
@ -2458,7 +2458,7 @@ func (m *EvidenceParams) Reset() { *m = EvidenceParams{} }
func (m *EvidenceParams) String() string { return proto.CompactTextString(m) } func (m *EvidenceParams) String() string { return proto.CompactTextString(m) }
func (*EvidenceParams) ProtoMessage() {} func (*EvidenceParams) ProtoMessage() {}
func (*EvidenceParams) Descriptor() ([]byte, []int) { func (*EvidenceParams) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{27} return fileDescriptor_types_6169dac75ac75953, []int{27}
} }
func (m *EvidenceParams) XXX_Unmarshal(b []byte) error { func (m *EvidenceParams) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2487,11 +2487,11 @@ func (m *EvidenceParams) XXX_DiscardUnknown() {
var xxx_messageInfo_EvidenceParams proto.InternalMessageInfo var xxx_messageInfo_EvidenceParams proto.InternalMessageInfo
func (m *EvidenceParams) GetMaxAge() *time.Duration { func (m *EvidenceParams) GetMaxAge() time.Duration {
if m != nil { if m != nil {
return m.MaxAge return m.MaxAge
} }
return nil return 0
} }
type LastCommitInfo struct { type LastCommitInfo struct {
@ -2506,7 +2506,7 @@ func (m *LastCommitInfo) Reset() { *m = LastCommitInfo{} }
func (m *LastCommitInfo) String() string { return proto.CompactTextString(m) } func (m *LastCommitInfo) String() string { return proto.CompactTextString(m) }
func (*LastCommitInfo) ProtoMessage() {} func (*LastCommitInfo) ProtoMessage() {}
func (*LastCommitInfo) Descriptor() ([]byte, []int) { func (*LastCommitInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{28} return fileDescriptor_types_6169dac75ac75953, []int{28}
} }
func (m *LastCommitInfo) XXX_Unmarshal(b []byte) error { func (m *LastCommitInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2579,7 +2579,7 @@ func (m *Header) Reset() { *m = Header{} }
func (m *Header) String() string { return proto.CompactTextString(m) } func (m *Header) String() string { return proto.CompactTextString(m) }
func (*Header) ProtoMessage() {} func (*Header) ProtoMessage() {}
func (*Header) Descriptor() ([]byte, []int) { func (*Header) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{29} return fileDescriptor_types_6169dac75ac75953, []int{29}
} }
func (m *Header) XXX_Unmarshal(b []byte) error { func (m *Header) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2725,7 +2725,7 @@ func (m *BlockID) Reset() { *m = BlockID{} }
func (m *BlockID) String() string { return proto.CompactTextString(m) } func (m *BlockID) String() string { return proto.CompactTextString(m) }
func (*BlockID) ProtoMessage() {} func (*BlockID) ProtoMessage() {}
func (*BlockID) Descriptor() ([]byte, []int) { func (*BlockID) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{30} return fileDescriptor_types_6169dac75ac75953, []int{30}
} }
func (m *BlockID) XXX_Unmarshal(b []byte) error { func (m *BlockID) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2780,7 +2780,7 @@ func (m *PartSetHeader) Reset() { *m = PartSetHeader{} }
func (m *PartSetHeader) String() string { return proto.CompactTextString(m) } func (m *PartSetHeader) String() string { return proto.CompactTextString(m) }
func (*PartSetHeader) ProtoMessage() {} func (*PartSetHeader) ProtoMessage() {}
func (*PartSetHeader) Descriptor() ([]byte, []int) { func (*PartSetHeader) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{31} return fileDescriptor_types_6169dac75ac75953, []int{31}
} }
func (m *PartSetHeader) XXX_Unmarshal(b []byte) error { func (m *PartSetHeader) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2837,7 +2837,7 @@ func (m *Validator) Reset() { *m = Validator{} }
func (m *Validator) String() string { return proto.CompactTextString(m) } func (m *Validator) String() string { return proto.CompactTextString(m) }
func (*Validator) ProtoMessage() {} func (*Validator) ProtoMessage() {}
func (*Validator) Descriptor() ([]byte, []int) { func (*Validator) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{32} return fileDescriptor_types_6169dac75ac75953, []int{32}
} }
func (m *Validator) XXX_Unmarshal(b []byte) error { func (m *Validator) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2893,7 +2893,7 @@ func (m *ValidatorUpdate) Reset() { *m = ValidatorUpdate{} }
func (m *ValidatorUpdate) String() string { return proto.CompactTextString(m) } func (m *ValidatorUpdate) String() string { return proto.CompactTextString(m) }
func (*ValidatorUpdate) ProtoMessage() {} func (*ValidatorUpdate) ProtoMessage() {}
func (*ValidatorUpdate) Descriptor() ([]byte, []int) { func (*ValidatorUpdate) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{33} return fileDescriptor_types_6169dac75ac75953, []int{33}
} }
func (m *ValidatorUpdate) XXX_Unmarshal(b []byte) error { func (m *ValidatorUpdate) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -2949,7 +2949,7 @@ func (m *VoteInfo) Reset() { *m = VoteInfo{} }
func (m *VoteInfo) String() string { return proto.CompactTextString(m) } func (m *VoteInfo) String() string { return proto.CompactTextString(m) }
func (*VoteInfo) ProtoMessage() {} func (*VoteInfo) ProtoMessage() {}
func (*VoteInfo) Descriptor() ([]byte, []int) { func (*VoteInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{34} return fileDescriptor_types_6169dac75ac75953, []int{34}
} }
func (m *VoteInfo) XXX_Unmarshal(b []byte) error { func (m *VoteInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -3004,7 +3004,7 @@ func (m *PubKey) Reset() { *m = PubKey{} }
func (m *PubKey) String() string { return proto.CompactTextString(m) } func (m *PubKey) String() string { return proto.CompactTextString(m) }
func (*PubKey) ProtoMessage() {} func (*PubKey) ProtoMessage() {}
func (*PubKey) Descriptor() ([]byte, []int) { func (*PubKey) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{35} return fileDescriptor_types_6169dac75ac75953, []int{35}
} }
func (m *PubKey) XXX_Unmarshal(b []byte) error { func (m *PubKey) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -3062,7 +3062,7 @@ func (m *Evidence) Reset() { *m = Evidence{} }
func (m *Evidence) String() string { return proto.CompactTextString(m) } func (m *Evidence) String() string { return proto.CompactTextString(m) }
func (*Evidence) ProtoMessage() {} func (*Evidence) ProtoMessage() {}
func (*Evidence) Descriptor() ([]byte, []int) { func (*Evidence) Descriptor() ([]byte, []int) {
return fileDescriptor_types_484dc917594bf763, []int{36} return fileDescriptor_types_6169dac75ac75953, []int{36}
} }
func (m *Evidence) XXX_Unmarshal(b []byte) error { func (m *Evidence) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
@ -4674,13 +4674,7 @@ func (this *EvidenceParams) Equal(that interface{}) bool {
} else if this == nil { } else if this == nil {
return false return false
} }
if this.MaxAge != nil && that1.MaxAge != nil { if this.MaxAge != that1.MaxAge {
if *this.MaxAge != *that1.MaxAge {
return false
}
} else if this.MaxAge != nil {
return false
} else if that1.MaxAge != nil {
return false return false
} }
if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
@ -6791,16 +6785,14 @@ func (m *EvidenceParams) MarshalTo(dAtA []byte) (int, error) {
_ = i _ = i
var l int var l int
_ = l _ = l
if m.MaxAge != nil {
dAtA[i] = 0xa dAtA[i] = 0xa
i++ i++
i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(*m.MaxAge))) i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(m.MaxAge)))
n35, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.MaxAge, dAtA[i:]) n35, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.MaxAge, dAtA[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n35 i += n35
}
if m.XXX_unrecognized != nil { if m.XXX_unrecognized != nil {
i += copy(dAtA[i:], m.XXX_unrecognized) i += copy(dAtA[i:], m.XXX_unrecognized)
} }
@ -7822,9 +7814,8 @@ func NewPopulatedBlockSize(r randyTypes, easy bool) *BlockSize {
func NewPopulatedEvidenceParams(r randyTypes, easy bool) *EvidenceParams { func NewPopulatedEvidenceParams(r randyTypes, easy bool) *EvidenceParams {
this := &EvidenceParams{} this := &EvidenceParams{}
if r.Intn(10) != 0 { v31 := github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy)
this.MaxAge = github_com_gogo_protobuf_types.NewPopulatedStdDuration(r, easy) this.MaxAge = *v31
}
if !easy && r.Intn(10) != 0 { if !easy && r.Intn(10) != 0 {
this.XXX_unrecognized = randUnrecognizedTypes(r, 2) this.XXX_unrecognized = randUnrecognizedTypes(r, 2)
} }
@ -7838,11 +7829,11 @@ func NewPopulatedLastCommitInfo(r randyTypes, easy bool) *LastCommitInfo {
this.Round *= -1 this.Round *= -1
} }
if r.Intn(10) != 0 { if r.Intn(10) != 0 {
v31 := r.Intn(5) v32 := r.Intn(5)
this.Votes = make([]VoteInfo, v31) this.Votes = make([]VoteInfo, v32)
for i := 0; i < v31; i++ { for i := 0; i < v32; i++ {
v32 := NewPopulatedVoteInfo(r, easy) v33 := NewPopulatedVoteInfo(r, easy)
this.Votes[i] = *v32 this.Votes[i] = *v33
} }
} }
if !easy && r.Intn(10) != 0 { if !easy && r.Intn(10) != 0 {
@ -7858,8 +7849,8 @@ func NewPopulatedHeader(r randyTypes, easy bool) *Header {
if r.Intn(2) == 0 { if r.Intn(2) == 0 {
this.Height *= -1 this.Height *= -1
} }
v33 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) v34 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy)
this.Time = *v33 this.Time = *v34
this.NumTxs = int64(r.Int63()) this.NumTxs = int64(r.Int63())
if r.Intn(2) == 0 { if r.Intn(2) == 0 {
this.NumTxs *= -1 this.NumTxs *= -1
@ -7868,51 +7859,51 @@ func NewPopulatedHeader(r randyTypes, easy bool) *Header {
if r.Intn(2) == 0 { if r.Intn(2) == 0 {
this.TotalTxs *= -1 this.TotalTxs *= -1
} }
v34 := NewPopulatedBlockID(r, easy) v35 := NewPopulatedBlockID(r, easy)
this.LastBlockId = *v34 this.LastBlockId = *v35
v35 := r.Intn(100) v36 := r.Intn(100)
this.LastCommitHash = make([]byte, v35) this.LastCommitHash = make([]byte, v36)
for i := 0; i < v35; i++ { for i := 0; i < v36; i++ {
this.LastCommitHash[i] = byte(r.Intn(256)) this.LastCommitHash[i] = byte(r.Intn(256))
} }
v36 := r.Intn(100) v37 := r.Intn(100)
this.DataHash = make([]byte, v36) this.DataHash = make([]byte, v37)
for i := 0; i < v36; i++ { for i := 0; i < v37; i++ {
this.DataHash[i] = byte(r.Intn(256)) this.DataHash[i] = byte(r.Intn(256))
} }
v37 := r.Intn(100) v38 := r.Intn(100)
this.ValidatorsHash = make([]byte, v37) this.ValidatorsHash = make([]byte, v38)
for i := 0; i < v37; i++ { for i := 0; i < v38; i++ {
this.ValidatorsHash[i] = byte(r.Intn(256)) this.ValidatorsHash[i] = byte(r.Intn(256))
} }
v38 := r.Intn(100) v39 := r.Intn(100)
this.NextValidatorsHash = make([]byte, v38) this.NextValidatorsHash = make([]byte, v39)
for i := 0; i < v38; i++ { for i := 0; i < v39; i++ {
this.NextValidatorsHash[i] = byte(r.Intn(256)) this.NextValidatorsHash[i] = byte(r.Intn(256))
} }
v39 := r.Intn(100) v40 := r.Intn(100)
this.ConsensusHash = make([]byte, v39) this.ConsensusHash = make([]byte, v40)
for i := 0; i < v39; i++ { for i := 0; i < v40; i++ {
this.ConsensusHash[i] = byte(r.Intn(256)) this.ConsensusHash[i] = byte(r.Intn(256))
} }
v40 := r.Intn(100) v41 := r.Intn(100)
this.AppHash = make([]byte, v40) this.AppHash = make([]byte, v41)
for i := 0; i < v40; i++ { for i := 0; i < v41; i++ {
this.AppHash[i] = byte(r.Intn(256)) this.AppHash[i] = byte(r.Intn(256))
} }
v41 := r.Intn(100) v42 := r.Intn(100)
this.LastResultsHash = make([]byte, v41) this.LastResultsHash = make([]byte, v42)
for i := 0; i < v41; i++ { for i := 0; i < v42; i++ {
this.LastResultsHash[i] = byte(r.Intn(256)) this.LastResultsHash[i] = byte(r.Intn(256))
} }
v42 := r.Intn(100) v43 := r.Intn(100)
this.EvidenceHash = make([]byte, v42) this.EvidenceHash = make([]byte, v43)
for i := 0; i < v42; i++ { for i := 0; i < v43; i++ {
this.EvidenceHash[i] = byte(r.Intn(256)) this.EvidenceHash[i] = byte(r.Intn(256))
} }
v43 := r.Intn(100) v44 := r.Intn(100)
this.ProposerAddress = make([]byte, v43) this.ProposerAddress = make([]byte, v44)
for i := 0; i < v43; i++ { for i := 0; i < v44; i++ {
this.ProposerAddress[i] = byte(r.Intn(256)) this.ProposerAddress[i] = byte(r.Intn(256))
} }
if !easy && r.Intn(10) != 0 { if !easy && r.Intn(10) != 0 {
@ -7923,13 +7914,13 @@ func NewPopulatedHeader(r randyTypes, easy bool) *Header {
func NewPopulatedBlockID(r randyTypes, easy bool) *BlockID { func NewPopulatedBlockID(r randyTypes, easy bool) *BlockID {
this := &BlockID{} this := &BlockID{}
v44 := r.Intn(100) v45 := r.Intn(100)
this.Hash = make([]byte, v44) this.Hash = make([]byte, v45)
for i := 0; i < v44; i++ { for i := 0; i < v45; i++ {
this.Hash[i] = byte(r.Intn(256)) this.Hash[i] = byte(r.Intn(256))
} }
v45 := NewPopulatedPartSetHeader(r, easy) v46 := NewPopulatedPartSetHeader(r, easy)
this.PartsHeader = *v45 this.PartsHeader = *v46
if !easy && r.Intn(10) != 0 { if !easy && r.Intn(10) != 0 {
this.XXX_unrecognized = randUnrecognizedTypes(r, 3) this.XXX_unrecognized = randUnrecognizedTypes(r, 3)
} }
@ -7942,9 +7933,9 @@ func NewPopulatedPartSetHeader(r randyTypes, easy bool) *PartSetHeader {
if r.Intn(2) == 0 { if r.Intn(2) == 0 {
this.Total *= -1 this.Total *= -1
} }
v46 := r.Intn(100) v47 := r.Intn(100)
this.Hash = make([]byte, v46) this.Hash = make([]byte, v47)
for i := 0; i < v46; i++ { for i := 0; i < v47; i++ {
this.Hash[i] = byte(r.Intn(256)) this.Hash[i] = byte(r.Intn(256))
} }
if !easy && r.Intn(10) != 0 { if !easy && r.Intn(10) != 0 {
@ -7955,9 +7946,9 @@ func NewPopulatedPartSetHeader(r randyTypes, easy bool) *PartSetHeader {
func NewPopulatedValidator(r randyTypes, easy bool) *Validator { func NewPopulatedValidator(r randyTypes, easy bool) *Validator {
this := &Validator{} this := &Validator{}
v47 := r.Intn(100) v48 := r.Intn(100)
this.Address = make([]byte, v47) this.Address = make([]byte, v48)
for i := 0; i < v47; i++ { for i := 0; i < v48; i++ {
this.Address[i] = byte(r.Intn(256)) this.Address[i] = byte(r.Intn(256))
} }
this.Power = int64(r.Int63()) this.Power = int64(r.Int63())
@ -7972,8 +7963,8 @@ func NewPopulatedValidator(r randyTypes, easy bool) *Validator {
func NewPopulatedValidatorUpdate(r randyTypes, easy bool) *ValidatorUpdate { func NewPopulatedValidatorUpdate(r randyTypes, easy bool) *ValidatorUpdate {
this := &ValidatorUpdate{} this := &ValidatorUpdate{}
v48 := NewPopulatedPubKey(r, easy) v49 := NewPopulatedPubKey(r, easy)
this.PubKey = *v48 this.PubKey = *v49
this.Power = int64(r.Int63()) this.Power = int64(r.Int63())
if r.Intn(2) == 0 { if r.Intn(2) == 0 {
this.Power *= -1 this.Power *= -1
@ -7986,8 +7977,8 @@ func NewPopulatedValidatorUpdate(r randyTypes, easy bool) *ValidatorUpdate {
func NewPopulatedVoteInfo(r randyTypes, easy bool) *VoteInfo { func NewPopulatedVoteInfo(r randyTypes, easy bool) *VoteInfo {
this := &VoteInfo{} this := &VoteInfo{}
v49 := NewPopulatedValidator(r, easy) v50 := NewPopulatedValidator(r, easy)
this.Validator = *v49 this.Validator = *v50
this.SignedLastBlock = bool(bool(r.Intn(2) == 0)) this.SignedLastBlock = bool(bool(r.Intn(2) == 0))
if !easy && r.Intn(10) != 0 { if !easy && r.Intn(10) != 0 {
this.XXX_unrecognized = randUnrecognizedTypes(r, 3) this.XXX_unrecognized = randUnrecognizedTypes(r, 3)
@ -7998,9 +7989,9 @@ func NewPopulatedVoteInfo(r randyTypes, easy bool) *VoteInfo {
func NewPopulatedPubKey(r randyTypes, easy bool) *PubKey { func NewPopulatedPubKey(r randyTypes, easy bool) *PubKey {
this := &PubKey{} this := &PubKey{}
this.Type = string(randStringTypes(r)) this.Type = string(randStringTypes(r))
v50 := r.Intn(100) v51 := r.Intn(100)
this.Data = make([]byte, v50) this.Data = make([]byte, v51)
for i := 0; i < v50; i++ { for i := 0; i < v51; i++ {
this.Data[i] = byte(r.Intn(256)) this.Data[i] = byte(r.Intn(256))
} }
if !easy && r.Intn(10) != 0 { if !easy && r.Intn(10) != 0 {
@ -8012,14 +8003,14 @@ func NewPopulatedPubKey(r randyTypes, easy bool) *PubKey {
func NewPopulatedEvidence(r randyTypes, easy bool) *Evidence { func NewPopulatedEvidence(r randyTypes, easy bool) *Evidence {
this := &Evidence{} this := &Evidence{}
this.Type = string(randStringTypes(r)) this.Type = string(randStringTypes(r))
v51 := NewPopulatedValidator(r, easy) v52 := NewPopulatedValidator(r, easy)
this.Validator = *v51 this.Validator = *v52
this.Height = int64(r.Int63()) this.Height = int64(r.Int63())
if r.Intn(2) == 0 { if r.Intn(2) == 0 {
this.Height *= -1 this.Height *= -1
} }
v52 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy) v53 := github_com_gogo_protobuf_types.NewPopulatedStdTime(r, easy)
this.Time = *v52 this.Time = *v53
this.TotalVotingPower = int64(r.Int63()) this.TotalVotingPower = int64(r.Int63())
if r.Intn(2) == 0 { if r.Intn(2) == 0 {
this.TotalVotingPower *= -1 this.TotalVotingPower *= -1
@ -8049,9 +8040,9 @@ func randUTF8RuneTypes(r randyTypes) rune {
return rune(ru + 61) return rune(ru + 61)
} }
func randStringTypes(r randyTypes) string { func randStringTypes(r randyTypes) string {
v53 := r.Intn(100) v54 := r.Intn(100)
tmps := make([]rune, v53) tmps := make([]rune, v54)
for i := 0; i < v53; i++ { for i := 0; i < v54; i++ {
tmps[i] = randUTF8RuneTypes(r) tmps[i] = randUTF8RuneTypes(r)
} }
return string(tmps) return string(tmps)
@ -8073,11 +8064,11 @@ func randFieldTypes(dAtA []byte, r randyTypes, fieldNumber int, wire int) []byte
switch wire { switch wire {
case 0: case 0:
dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) dAtA = encodeVarintPopulateTypes(dAtA, uint64(key))
v54 := r.Int63() v55 := r.Int63()
if r.Intn(2) == 0 { if r.Intn(2) == 0 {
v54 *= -1 v55 *= -1
} }
dAtA = encodeVarintPopulateTypes(dAtA, uint64(v54)) dAtA = encodeVarintPopulateTypes(dAtA, uint64(v55))
case 1: case 1:
dAtA = encodeVarintPopulateTypes(dAtA, uint64(key)) dAtA = encodeVarintPopulateTypes(dAtA, uint64(key))
dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
@ -8968,10 +8959,8 @@ func (m *EvidenceParams) Size() (n int) {
} }
var l int var l int
_ = l _ = l
if m.MaxAge != nil { l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.MaxAge)
l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.MaxAge)
n += 1 + l + sovTypes(uint64(l)) n += 1 + l + sovTypes(uint64(l))
}
if m.XXX_unrecognized != nil { if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized) n += len(m.XXX_unrecognized)
} }
@ -13172,10 +13161,7 @@ func (m *EvidenceParams) Unmarshal(dAtA []byte) error {
if postIndex > l { if postIndex > l {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
if m.MaxAge == nil { if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.MaxAge, dAtA[iNdEx:postIndex]); err != nil {
m.MaxAge = new(time.Duration)
}
if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.MaxAge, dAtA[iNdEx:postIndex]); err != nil {
return err return err
} }
iNdEx = postIndex iNdEx = postIndex
@ -14687,145 +14673,145 @@ var (
ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow")
) )
func init() { proto.RegisterFile("abci/types/types.proto", fileDescriptor_types_484dc917594bf763) } func init() { proto.RegisterFile("abci/types/types.proto", fileDescriptor_types_6169dac75ac75953) }
func init() { func init() {
golang_proto.RegisterFile("abci/types/types.proto", fileDescriptor_types_484dc917594bf763) golang_proto.RegisterFile("abci/types/types.proto", fileDescriptor_types_6169dac75ac75953)
} }
var fileDescriptor_types_484dc917594bf763 = []byte{ var fileDescriptor_types_6169dac75ac75953 = []byte{
// 2132 bytes of a gzipped FileDescriptorProto // 2134 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcd, 0x73, 0x23, 0x57, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcd, 0x73, 0x23, 0x57,
0x11, 0xf7, 0x48, 0xb2, 0xa4, 0x69, 0xdb, 0x92, 0xf7, 0xed, 0xae, 0xad, 0x15, 0xc1, 0xde, 0x9a, 0x11, 0xf7, 0x48, 0xb2, 0xa4, 0x69, 0xdb, 0x92, 0xf3, 0x76, 0xd7, 0xd6, 0x8a, 0x60, 0x6f, 0x4d,
0x40, 0x62, 0x13, 0x47, 0x4e, 0x39, 0x84, 0xf2, 0x66, 0x43, 0xaa, 0xac, 0xdd, 0x05, 0x9b, 0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 0xd1, 0x99, 0xd8, 0x21, 0xe8, 0x62, 0x3e, 0x14, 0x32, 0x91, 0x6a, 0x85, 0x43, 0xd3, 0x14, 0xa1, 0x8f, 0xce, 0xc4, 0x0e, 0x41, 0x17, 0xf3, 0xa1, 0x90, 0x89, 0x54, 0x2b,
0x34, 0x25, 0x65, 0x1e, 0xc5, 0x7c, 0x0c, 0xe8, 0x44, 0x98, 0xed, 0xe6, 0x40, 0xe0, 0x66, 0x51, 0xa4, 0x29, 0x29, 0xf3, 0x28, 0xe6, 0x63, 0x40, 0x27, 0xc2, 0x6c, 0x37, 0x07, 0x02, 0x37, 0x8a,
0x29, 0x8b, 0x02, 0x7b, 0x79, 0x14, 0xb8, 0x55, 0x90, 0x2d, 0xc0, 0xc0, 0x6e, 0x0e, 0x06, 0x8a, 0x4a, 0x59, 0x14, 0xd8, 0xcb, 0xa3, 0xc0, 0xcd, 0x82, 0x6c, 0x01, 0x06, 0x76, 0x73, 0x30, 0x50,
0x0b, 0xe7, 0x70, 0xe0, 0x5e, 0x09, 0x0e, 0x14, 0x8f, 0xbf, 0x00, 0x08, 0xee, 0x95, 0x00, 0x41, 0x5c, 0x38, 0x87, 0x03, 0x77, 0x4b, 0x70, 0xa0, 0x78, 0xfc, 0x05, 0x40, 0x70, 0xb7, 0x04, 0x08,
0xe7, 0xda, 0x5e, 0xa5, 0x48, 0xb0, 0x97, 0x47, 0x82, 0xe2, 0x75, 0x0a, 0x50, 0xf0, 0x41, 0x19, 0x3a, 0xd7, 0xf6, 0x2a, 0x45, 0x82, 0xbd, 0x3c, 0x12, 0x14, 0xaf, 0x53, 0x80, 0x82, 0xfb, 0x65,
0x14, 0xdc, 0x29, 0xe8, 0x2c, 0xc4, 0x82, 0x77, 0xaf, 0x61, 0xc1, 0x46, 0x41, 0xb5, 0x04, 0x0c, 0x50, 0x70, 0xbb, 0xa0, 0xb3, 0x10, 0x0b, 0xde, 0xbb, 0x86, 0x05, 0x1b, 0x05, 0xd5, 0x12, 0x30,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 0x69, 0x89, 0x15, 0x99, 0xfa, 0x1f, 0x77, 0x25, 0xc1, 0xe0, 0x13, 0x9b, 0xed, 0xe4, 0x1b, 0x04, 0x82, 0x6a, 0x89, 0x17, 0x99, 0x1e,
0x41, 0x1a, 0x0f, 0x80, 0xfe, 0x28, 0x45, 0x9a, 0x24, 0xd2, 0x44, 0x02, 0x31, 0xdf, 0x84, 0x76, 0x00, 0x81, 0x1a, 0x0f, 0x80, 0x3e, 0x29, 0x45, 0x9a, 0x24, 0xd2, 0x44, 0x02, 0x31, 0xdf, 0x82,
0x8a, 0x74, 0x52, 0x44, 0x97, 0xab, 0xa4, 0x64, 0x12, 0x7c, 0x07, 0x6e, 0xb9, 0x62, 0x1e, 0x59, 0x76, 0x8a, 0x76, 0x52, 0x44, 0x97, 0xab, 0xa4, 0x64, 0x12, 0x7c, 0x17, 0x6e, 0xba, 0x62, 0x1e,
0x45, 0x69, 0x20, 0x69, 0x86, 0xbc, 0xb3, 0xbc, 0xc6, 0x37, 0xa1, 0x95, 0x46, 0x2c, 0xc9, 0xae, 0x59, 0x45, 0x69, 0x20, 0x69, 0x86, 0xbc, 0xb3, 0xbc, 0xc6, 0xb7, 0xa1, 0x95, 0x46, 0x2d, 0xc9,
0xc8, 0x16, 0x2d, 0xa1, 0x92, 0xd8, 0x1d, 0x68, 0x26, 0x75, 0xc6, 0x2a, 0x09, 0x34, 0xb8, 0x2c, 0xae, 0xc8, 0x36, 0x2d, 0xa1, 0x92, 0xd8, 0x6d, 0x68, 0x26, 0xb5, 0xc6, 0x2a, 0x09, 0x34, 0xb8,
0x2f, 0x92, 0xca, 0x25, 0x10, 0xe1, 0x6c, 0x12, 0xa9, 0x45, 0xd6, 0x48, 0x86, 0x2a, 0x17, 0x53, 0x2c, 0x31, 0x92, 0xea, 0x25, 0x10, 0xe1, 0x6c, 0x12, 0xa9, 0x45, 0xd6, 0x48, 0x86, 0xaa, 0x17,
0xd2, 0x49, 0xf6, 0x75, 0x58, 0x4b, 0x02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 0xb3, 0xfb, 0xd0, 0x4c, 0x1f, 0x65, 0xca, 0xdf, 0x60, 0xbb, 0x8b, 0x7a, 0xf8, 0x6a, 0xdb, 0x5d, 0xdc, 0xc4, 0xb3, 0x7b, 0xd0, 0x4c, 0x1f, 0x66, 0xca, 0xdf, 0x61, 0xbb,
0xea, 0xfe, 0x6b, 0xff, 0xfe, 0xcb, 0x96, 0xf6, 0xeb, 0xab, 0x2d, 0xed, 0x37, 0x57, 0x5b, 0xda, 0x8b, 0xfa, 0xea, 0xfe, 0xeb, 0xff, 0xfe, 0xcb, 0x96, 0xf6, 0xeb, 0xab, 0x2d, 0xed, 0x37, 0x57,
0x17, 0x57, 0x5b, 0xda, 0xef, 0xaf, 0xb6, 0xb4, 0x3f, 0x5f, 0x6d, 0x69, 0xbf, 0xfd, 0xeb, 0x96, 0x5b, 0xda, 0x97, 0x57, 0x5b, 0xda, 0xef, 0xaf, 0xb6, 0xb4, 0x3f, 0x5f, 0x6d, 0x69, 0xbf, 0xfd,
0x36, 0xa8, 0x93, 0xfb, 0xbf, 0xfb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x85, 0x51, 0xe7, 0xeb, 0x96, 0x36, 0xa8, 0x93, 0xfb, 0xbf, 0xf7, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x71, 0x1b,
0x93, 0x18, 0x00, 0x00, 0xfb, 0xde, 0x97, 0x18, 0x00, 0x00,
} }

View File

@ -219,7 +219,7 @@ message BlockSize {
// EvidenceParams contains limits on the evidence. // EvidenceParams contains limits on the evidence.
message EvidenceParams { message EvidenceParams {
// Note: must be greater than 0 if provided // Note: must be greater than 0 if provided
google.protobuf.Duration max_age = 1 [(gogoproto.stdduration)=true]; google.protobuf.Duration max_age = 1 [(gogoproto.nullable)=false, (gogoproto.stdduration)=true];
} }
message LastCommitInfo { message LastCommitInfo {

View File

@ -405,7 +405,6 @@ func pk() []byte {
func TestApplyUpdates(t *testing.T) { func TestApplyUpdates(t *testing.T) {
initParams := makeParams(1, 2, 3*time.Second) initParams := makeParams(1, 2, 3*time.Second)
newMaxAge := 66 * time.Second
cases := [...]struct { cases := [...]struct {
init types.ConsensusParams init types.ConsensusParams
@ -425,7 +424,7 @@ func TestApplyUpdates(t *testing.T) {
3: {initParams, 3: {initParams,
abci.ConsensusParams{ abci.ConsensusParams{
EvidenceParams: &abci.EvidenceParams{ EvidenceParams: &abci.EvidenceParams{
MaxAge: &newMaxAge, MaxAge: 66 * time.Second,
}, },
}, },
makeParams(1, 2, 66*time.Second)}, makeParams(1, 2, 66*time.Second)},

View File

@ -111,9 +111,7 @@ func (params ConsensusParams) Update(params2 *abci.ConsensusParams) ConsensusPar
res.BlockSize.MaxGas = params2.BlockSize.MaxGas res.BlockSize.MaxGas = params2.BlockSize.MaxGas
} }
if params2.EvidenceParams != nil { if params2.EvidenceParams != nil {
if params2.EvidenceParams.MaxAge != nil { res.EvidenceParams.MaxAge = params2.EvidenceParams.MaxAge
res.EvidenceParams.MaxAge = *params2.EvidenceParams.MaxAge
}
} }
return res return res
} }

View File

@ -72,7 +72,6 @@ func TestConsensusParamsHash(t *testing.T) {
} }
func TestConsensusParamsUpdate(t *testing.T) { func TestConsensusParamsUpdate(t *testing.T) {
newMaxAge := 300 * time.Second
testCases := []struct { testCases := []struct {
params ConsensusParams params ConsensusParams
updates *abci.ConsensusParams updates *abci.ConsensusParams
@ -93,7 +92,7 @@ func TestConsensusParamsUpdate(t *testing.T) {
MaxGas: 200, MaxGas: 200,
}, },
EvidenceParams: &abci.EvidenceParams{ EvidenceParams: &abci.EvidenceParams{
MaxAge: &newMaxAge, MaxAge: 300 * time.Second,
}, },
}, },
makeParams(100, 200, 300*time.Second), makeParams(100, 200, 300*time.Second),

View File

@ -119,7 +119,7 @@ func (tm2pb) ConsensusParams(params *ConsensusParams) *abci.ConsensusParams {
MaxGas: params.BlockSize.MaxGas, MaxGas: params.BlockSize.MaxGas,
}, },
EvidenceParams: &abci.EvidenceParams{ EvidenceParams: &abci.EvidenceParams{
MaxAge: &params.EvidenceParams.MaxAge, MaxAge: params.EvidenceParams.MaxAge,
}, },
} }
} }
@ -209,14 +209,18 @@ func (pb2tm) ValidatorUpdates(vals []abci.ValidatorUpdate) ([]*Validator, error)
} }
func (pb2tm) ConsensusParams(csp *abci.ConsensusParams) ConsensusParams { func (pb2tm) ConsensusParams(csp *abci.ConsensusParams) ConsensusParams {
params := ConsensusParams{ params := ConsensusParams{}
BlockSize: BlockSize{
// we must defensively consider any structs may be nil
if csp.BlockSize != nil {
params.BlockSize = BlockSize{
MaxBytes: csp.BlockSize.MaxBytes, MaxBytes: csp.BlockSize.MaxBytes,
MaxGas: csp.BlockSize.MaxGas, MaxGas: csp.BlockSize.MaxGas,
},
} }
if csp.EvidenceParams.MaxAge != nil {
params.EvidenceParams.MaxAge = *csp.EvidenceParams.MaxAge
} }
if csp.EvidenceParams != nil {
params.EvidenceParams.MaxAge = csp.EvidenceParams.MaxAge
}
return params return params
} }