diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index 05369ea66..c0e25dec8 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -12,10 +12,17 @@ BREAKING CHANGES: * [rpc] \#2298 `/abci_query` takes `prove` argument instead of `trusted` and switches the default behaviour to `prove=false` * [privval] \#2459 Split `SocketPVMsg`s implementations into Request and Response, where the Response may contain a error message (returned by the remote signer) + * [genesis] \#2565 `consensus_params.evidence_params.max_age` is now `time.Duration` (nanosecond count) + ```json + "evidence_params": { + "max_age": "172800000000000" + } + ``` * Apps * [abci] \#2298 ResponseQuery.Proof is now a structured merkle.Proof, not just arbitrary bytes + * [abci] \#2565 InitChain `ConsensusParams.EvidenceParams.MaxAge` is now `google.protobuf.Duration` (see https://developers.google.com/protocol-buffers/docs/reference/csharp/class/google/protobuf/well-known-types/duration) * Go API * [node] Remove node.RunForever diff --git a/docs/spec/abci/abci.md b/docs/spec/abci/abci.md index 15e246249..83b6d59f6 100644 --- a/docs/spec/abci/abci.md +++ b/docs/spec/abci/abci.md @@ -443,11 +443,10 @@ Commit are included in the header of the next block. ### EvidenceParams - **Fields**: - - `MaxAge (int64)`: Max age of evidence, in blocks. Evidence older than this - is considered stale and ignored. + - `MaxAge (google.protobuf.Duration)`: Max age of evidence. Evidence older + than this is considered stale and ignored. - This should correspond with an app's "unbonding period" or other similar mechanism for handling Nothing-At-Stake attacks. - - NOTE: this should change to time (instead of blocks)! ### Proof