This release introduces MerkleGen
v1.0.0, a library for generating Merkle MultiProofs and SingleProofs for testing Merkle trees in the Forge framework.
🔥Key Features
🆕 Merkle MultiProof Generation: Generate a MultiProofs for multiple leaves in a Merkle tree.
🆕 SingleProof Generation: Generate a single Merkle proof for any individual leaf in the tree.
🆕 Enhanced NatSpec Documentation: Every function is fully documented with NatSpec, improving developer experience.
Changelog
- Make
MerkleGen
a library. - Changed function names for better readability.
- Added
generateSingleProof
for generating single-leaf proofs with the root. - Added
_buildTree
and_initTree
for Merkle tree construction. - Added utility functions like
_getProof
and_getRoot
. - Enhanced tests and complete NatSpec documentation.