evidence: fix usage of time field in abci evidence (#5201)

* fix usage of time in abci evidence

* update changelong and upgrading

* add test cases
This commit is contained in:
Callum Waters
2020-08-04 12:58:48 +02:00
committed by GitHub
parent ad2e515112
commit 68468fb024
6 changed files with 20 additions and 13 deletions
+3
View File
@@ -351,8 +351,11 @@ message VoteInfo {
message Evidence {
string type = 1;
// The offending validator
Validator validator = 2 [(gogoproto.nullable) = false];
// The height when the offense occurred
int64 height = 3;
// The corresponding time where the offense occurred
google.protobuf.Timestamp time = 4 [
(gogoproto.nullable) = false,
(gogoproto.stdtime) = true