-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add get merkle proof to lazy imt tree #162
feat: add get merkle proof to lazy imt tree #162
Conversation
6914a2a
to
56ae48d
Compare
@vimwitch @cedoor This PR is ready for review. I managed to use |
e25ea43
to
9e27c98
Compare
Ready on my side. Added on top of the merged PR a fix for eslint. |
0699fd1
into
privacy-scaling-explorations:main
Congrats, your important contribution to this open-source project has earned you a GitPOAP! GitPOAP: 2024 ZK-KIT Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |
@alrevuelta @vimwitch should we release a new version for the |
Description
This PR adds a function to the
LazyIMT
contract,_merkleProofElements
, which returns the Merkle proof of any leafindex
in the tree. Thedepth
is configurable, which allows to get the proofs of any subtree.Closes #123