- Remove dependencies with advisories.
- Added
SimpleMerkleTreeclass that supportsbytes32leaves with no extra hashing. - Support custom hashing function for computing internal nodes. Available in the core and in
SimpleMerkleTree. - Add
lengthandat()(leaf getter) toStandardMerkleTreeandSimpleMerkleTree.
- Added an option to disable leaf sorting.
- Make
processMultiProofmore robust by validating invariants.
- Added
StandardMerkleTree.verifyMultiProofstatic method.
- Added
StandardMerkleTree.verifystatic method for verification of a proof for given root, leaf, and leaf encoding.
- Added
StandardMerkleTreemethodsverifyandverifyMultiProof.