Skip to content
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

test: rust-reference-impls: merkle: Add command to compute Merkle root #46

Merged
merged 3 commits into from
Mar 4, 2025

Conversation

joeykraut
Copy link
Member

Purpose

This PR adds a command to the merkle reference implementation that builds a Merkle tree and computes the root after successive updates. This will be used to test the solidity Merkle tree's successive inserts and sibling path.

I tested the reference implementation against an Arkworks implementation on a smaller tree.

Testing

  • Unit tests pass

@joeykraut joeykraut merged commit 9aaa960 into main Mar 4, 2025
0 of 2 checks passed
@joeykraut joeykraut deleted the joey/merkle-tests branch March 4, 2025 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant