types: add new consensus params from proto (#7354)

This change adds the new TimingParams proto messages. These new messages were build using the wb/proposer-based-timestamps branch on the spec repo.
This change also adds validation that these values are positive when parsed and adds the new parameters into the existing tests.
This commit is contained in:
William Banfield
2021-12-05 19:20:37 -05:00
committed by GitHub
parent a9aab99b41
commit a9b2bbd70d
11 changed files with 658 additions and 136 deletions
+4
View File
@@ -569,6 +569,10 @@ var testGenesisFmt = `{
"max_gas": "-1",
"time_iota_ms": "10"
},
"timing": {
"message_delay": "200",
"precision": "50"
},
"evidence": {
"max_age_num_blocks": "100000",
"max_age_duration": "172800000000000",