config: set time_iota_ms to timeout_commit in test genesis (#5386)

also, document consensus parameters.
https://forum.cosmos.network/t/consensus-timeouts-explained/1421

Closes #4489
This commit is contained in:
Anton Kaliaev
2020-09-23 12:24:45 +04:00
committed by GitHub
parent 58b4deca86
commit 4b99502d5b
5 changed files with 55 additions and 11 deletions

View File

@@ -1003,6 +1003,7 @@ func TestConsensusParamsChangesSaveLoad(t *testing.T) {
for i := 1; i < N+1; i++ {
params[i] = *types.DefaultConsensusParams()
params[i].Block.MaxBytes += int64(i)
params[i].Block.TimeIotaMs = 10
}
// Build the params history by running updateState