mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-07 05:46:32 +00:00
## Description This PR removes simple prefix from all types in the crypto/merkle directory. The two proto types `Proof` & `ProofOp` have been moved to the `proto/crypto/merkle` directory. proto messge `Proof` was renamed to `ProofOps` and `SimpleProof` message to `Proof`. Closes: #2755
7.3 KiB
7.3 KiB
v0.33.6
**
Special thanks to external contributors on this release:
Friendly reminder, we have a bug bounty program.
BREAKING CHANGES:
-
CLI/RPC/Config
- [evidence] #4725 Remove
Pubkeyfrom DuplicateVoteEvidence - [rpc] #4792
/validatorsare now sorted by voting power (@melekes) - [blockchain] #4637 Transition blockchain reactor(s) to Protobuf encoding
- [types] #4382
SignedMsgTypehas moved to a Protobuf enum types - [types] #4382
Totalhas been changed from aintto auint32 - [types] #4582 Vote:
ValidatorIndex&Roundare now int32 - [types] #4582 Proposal:
POLRound&Roundare now int32 - [types] #4582 Block:
Roundis now int32 - [types] #4962
ConsensusParams,BlockParams,EvidenceParams,ValidatorParams&HashedParamsare now Protobuf types - [consensus] #4582 RoundState:
Round,LockedRound&CommitRoundare now int32 - [consensus] #4582 HeightVoteSet:
roundis now int32 - [privval] #4582
roundin private_validator_state.json is no longer a string in json it is now a number. - [crypto] #4940 All keys have become
[]byteinstead of[<size>]byte. The byte method no longer returns the marshaled value but just the[]byteform of the data. - [crypto] \4988 Removal of key type multisig
- The key has been moved to the Cosmos-SDK (https://github.com/cosmos/cosmos-sdk/blob/master/crypto/types/multisig/multisignature.go)
- [crypto] #4989 Remove
Simpleprefixes fromSimpleProof,SimpleValueOp&SimpleProofNode.merkle.Proofhas been renamed toProofOps.- Protobuf messages
Proof&ProofOphas been moved toproto/crypto/merkle SimpleHashFromByteSliceshas been renamed toHashFromByteSlicesSimpleHashFromByteSlicesIterativehas been renamed toHashFromByteSlicesIterativeSimpleProofsFromByteSliceshas been renamed toProofsFromByteSlices
- [crypto] #4941 Remove suffixes from all keys.
- ed25519: type
PrivKeyEd25519is nowPrivKey - ed25519: type
PubKeyEd25519is nowPubKey - secp256k1: type
PrivKeySecp256k1is nowPrivKey - secp256k1: type
PubKeySecp256k1is nowPubKey - sr25519: type
PrivKeySr25519is nowPrivKey - sr25519: type
PubKeySr25519is nowPubKey - multisig: type
PubKeyMultisigThresholdis nowPubKey
- ed25519: type
- [light] #4946 Rename
lite2pkg tolight, the lite cmd has also been renamed tolight. Removeliteimplementation. - [rpc] #4937 Return an error when
pagepagination param is 0 in/validators,tx_search(@melekes) - [state] #4679
TxResultis a Protobuf type defined inabcitypes directory - [state] #4679
statereactor migration to Protobuf encoding - [evidence] #4959 Add json tags to
DuplicateVoteEvidence - [p2p/pex] #4973
p2p/pexreactor migration to Protobuf encoding - [light] #4964
lightreactor migration to Protobuf encoding - [store] #4778 Transition store module to protobuf encoding
BlockStoreStateJSONis nowBlockStoreStateand is encoded as binary in the database
- [rpc] #4968 JSON encoding is now handled by
libs/json, not Amino - [evidence] #4949
evidencereactor migration to Protobuf encoding
- [evidence] #4725 Remove
-
Apps
- [abci] #4704 Add ABCI methods
ListSnapshots,LoadSnapshotChunk,OfferSnapshot, andApplySnapshotChunkfor state sync snapshots.ABCIVersionbumped to 0.17.0. - [abci] #4989
ProofwithinResponseQueryhas been renamed toProofOps
- [abci] #4704 Add ABCI methods
-
P2P Protocol
-
Go API
- [crypto] #4721 Remove
SimpleHashFromMap()andSimpleProofsFromMap()(@erikgrinaker) - [types] #4798 Simplify
VerifyCommitTrustingfunc + remove extra validation (@melekes) - [libs] #4831 Remove
Bech32pkg from Tendermint. This pkg now lives in the cosmos-sdk
- [crypto] #4721 Remove
-
Blockchain Protocol
- [types] #4792 Sort validators by voting power to enable faster commit verification (@melekes)
- [evidence] #4780 Cap evidence to an absolute number (@cmwaters)
Add
max_numto consensus evidence parameters (default: 50 items). - [mempool] #4940 Migrate mempool from amino binary encoding to Protobuf
- [statesync] #4943 Migrate statesync reactor from amino binary encoding to Protobuf
- [rpc/client] #4947
Validators,TxSearchpage/per_pageparams become pointers (@melekes)UnconfirmedTxslimitparam is a pointer
FEATURES:
- [statesync] Add state sync support, where a new node can be rapidly bootstrapped by fetching state snapshots from peers instead of replaying blocks. See the
[statesync]config section. - [evidence] #4532 Handle evidence from light clients (@melekes)
- [light] #4532 Submit conflicting headers, if any, to a full node & all witnesses (@melekes)
- [rpc] #4532 Support
BlockByHashquery (@fedekunze) - [rpc] #4979 Support EXISTS operator in
/tx_searchquery (@melekes) - [p2p] #4981 Expose
SaveAsfunc on NodeKey (@melekes)
IMPROVEMENTS:
- [txindex] #4466 Allow to index an event at runtime (@favadi)
abci.EventAttributereplacesKV.Pair
- [evidence] #4722 Improved evidence db (@cmwaters)
- [state] #4781 Export
InitStateVersionfor the initial state version (@erikgrinaker) - [p2p/conn] #4795 Return err on
signChallenge()instead of panic - [evidence] #4839 Reject duplicate evidence from being proposed (@cmwaters)
- [evidence] #4892 Remove redundant header from phantom validator evidence (@cmwaters)
- [types] #4905 Add ValidateBasic to validator and validator set (@cmwaters)
- [consensus] #4578 Attempt to repair the consensus WAL file (
data/cs.wal/wal) automatically in case of corruption (@alessio) The original WAL file will be backed up todata/cs.wal/wal.CORRUPTED. - [light] #4935 Fetch and compare a new header with witnesses in parallel (@melekes)
- [light] #4929 compare header w/ witnesses only when doing bisection (@melekes)
- [light] #4916 validate basic for inbound validator sets and headers before further processing them (@cmwaters)
BUG FIXES:
- [consensus] #4895 Cache the address of the validator to reduce querying a remote KMS (@joe-bowman)
- [consensus] #4970 Stricter on
LastCommitRoundcheck (@cuonglm) - [blockchain/v2] Correctly set block store base in status responses (@erikgrinaker)