Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@kamuikatsurgi kamuikatsurgi released this 04 Oct 05:09
· 2 commits to main since this release
7b03986

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.