mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 04:55:18 +00:00
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.
2.6 KiB
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, andLastResultsHash(@erikgrinaker)
- #5193 Header hashes are no longer empty for empty inputs, notably
-
Go API
- [evidence] #5181 Phantom validator evidence was removed (also from abci) (@cmwaters)
- [merkle] #5193
HashFromByteSlicesandProofsFromByteSlicesnow return a hash for empty inputs, following RFC6962 (@erikgrinaker) - [crypto] [#5214] Change
GenPrivKeySecp256k1toGenPrivKeyFromSecretto be consistent with other keys - [state] #5191 Add
State.InitialHeightfield to record initial block height, must be1(not0) to start from 1 (@erikgrinaker) - [state]
LoadStateFromDBOrGenesisFile()andLoadStateFromDBOrGenesisDoc()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.InitialHeightfield giving the initial block height (@erikgrinaker) - [abci] #5227 Add
ResponseInitChain.app_hashwhich is recorded in genesis block (@erikgrinaker) - [genesis] #5191 Add
initial_heightfield to specify the initial chain height (defaults to1) (@erikgrinaker) - [db] Add support for
badgerdbdatabase 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)