abci: add ResponseInitChain.app_hash, check and record it (#5227)

Fixes #5177.
This commit is contained in:
Erik Grinaker
2020-08-11 16:28:11 +02:00
committed by GitHub
parent 40bd416d59
commit 08ffe13295
5 changed files with 236 additions and 168 deletions

View File

@@ -26,6 +26,9 @@ if you want to learn more & support it (with cosmos-sdk you get it
automatically). If you don't want to support it, just leave these methods
empty.
`ResponseInitChain.app_hash` has been added, which must match the genesis app
hash and is recorded in the genesis block.
`KV.Pair` has been replaced with `abci.EventAttribute`. `EventAttribute.Index`
field allows ABCI applications to dictate which events should be indexed.