Files
tendermint/CHANGELOG_PENDING.md
Erik Grinaker e1a1395cf4 consensus: don't check InitChain app hash vs genesis app hash, replace it (#5237)
Followup from #5227. Instead of checking `ResponseInitChain.app_hash` against the genesis doc app hash, we instead replace it. We should probably remove the genesis doc app hash completely, and rely solely on the one from `InitChain`, I'll open a separate issue to discuss this.
2020-08-13 08:58:07 +00:00

2.6 KiB

v0.34.0-rc3

Special thanks to external contributors on this release:

Friendly reminder, we have a bug bounty program.

BREAKING CHANGES

  • Blockchain Protocol

    • #5193 Header hashes are no longer empty for empty inputs, notably DataHash, EvidenceHash, and LastResultsHash (@erikgrinaker)
  • Go API

    • [evidence] #5181 Phantom validator evidence was removed (also from abci) (@cmwaters)
    • [merkle] #5193 HashFromByteSlices and ProofsFromByteSlices now return a hash for empty inputs, following RFC6962 (@erikgrinaker)
    • [crypto] [#5214] Change GenPrivKeySecp256k1 to GenPrivKeyFromSecret to be consistent with other keys
    • [state] #5191 Add State.InitialHeight field to record initial block height, must be 1 (not 0) to start from 1 (@erikgrinaker)
    • [state] LoadStateFromDBOrGenesisFile() and LoadStateFromDBOrGenesisDoc() no longer saves the state in the database if not found, the genesis state is simply returned (@erikgrinaker)

FEATURES:

  • [abci] #5174 Add amnesia evidence and remove mock and potential amnesia evidence from abci (@cmwaters)
  • [abci] #5191 Add InitChain.InitialHeight field giving the initial block height (@erikgrinaker)
  • [abci] #5227 Add ResponseInitChain.app_hash which is recorded in genesis block (@erikgrinaker)
  • [genesis] #5191 Add initial_height field to specify the initial chain height (defaults to 1) (@erikgrinaker)
  • [db] Add support for badgerdb database backend (@erikgrinaker)

IMPROVEMENTS:

  • [evidence] #5219 Change the source of evidence time to block time (@cmwaters)

BUG FIXES:

  • [evidence] #5170 change abci evidence time to the time the infraction happened not the time the evidence was committed on the block (@cmwaters)
  • [node] Don't attempt fast sync when the ABCI application specifies ourself as the only validator via InitChain (@erikgrinaker)
  • [libs/rand] #5215 Fix out-of-memory error on unexpected argument of Str() (@SadPencil)