Closed sambarnes closed 1 year ago
Name | Link |
---|---|
Latest commit | 0ab357ca82b9308fa0e564393c566f099f49bb46 |
Latest deploy log | https://app.netlify.com/sites/noir-next-hardhat/deploys/647dff083bbaf10008c20ee6 |
this is a great addition, happy to merge. Thank you! :pray:
Description
Problem*
In the foundry-voting example, a lot of the merkle tree related fields are hardcoded, and a solid chunk of the README is dedicated to walking through how a dev might go about recalculating them.
The commented out functions in the circuit were a good starting point, but still kinda clunky to change the whole set.
Summary*
This PR sets out to make it easier for a beginner to recalculate the merkle tree in a single command. While also demonstrating noir's testing functionality.
Feel free to close if ya don't think this is a worthwhile change! Just trying to help out the next noob after me :)
PR Checklist*
cargo fmt
on default settings.