-
Notifications
You must be signed in to change notification settings - Fork 35
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
Mst
efficiency improvement
#188
Merged
enricobottazzi
merged 29 commits into
v1-improvements-and-consolidation
from
mst-efficiency-improvement
Nov 28, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
e0e8ce2
feat: tree building rules
enricobottazzi 134020c
feat: add `get_middle_node_hash_preimage` and `get_middle_node_hash_p…
enricobottazzi b236bfa
feat: update `generate_proof`
enricobottazzi 698dce6
fix: `generate_proof`
enricobottazzi d62f231
fix: modify middle nodes hashing logic in circuit
enricobottazzi 63f89d0
feat: update `MerkleProof`
enricobottazzi d95feef
feat: add further constraint on `MstInclusionCircuit`
enricobottazzi 68ab601
feat: rm `test_balance_not_in_range`
enricobottazzi eda4ad2
refactor: update `MerkleProof`
enricobottazzi 41f2257
chore: fix `backend`
enricobottazzi efe6b87
test: fix `backend`
enricobottazzi ac0cecd
fix: testing
enricobottazzi e3ba8e6
fix: modify `MstInclusionCircuit` struct
enricobottazzi 8d9ee86
Revert "fix: modify `MstInclusionCircuit` struct"
enricobottazzi 11f533f
chore: update `benches`
enricobottazzi fc44e01
fix: move poseidon hasher APIs to `Node`
enricobottazzi 94404ed
chore: add guide on `MerkleProof `
enricobottazzi fe9a72f
chore: update `where` clause in backend
enricobottazzi 1775ca7
chore: update comments
enricobottazzi 06a15e4
chore: move `generate_leaf_hash` outside of `zk_prover`
enricobottazzi 559ac3a
chore: add `ethers` legacy feature
enricobottazzi cc7d02e
Merge branch 'v1-improvements-and-consolidation' into mst-efficiency-…
enricobottazzi 79cbe2c
chore: update verifier contract
enricobottazzi d84aa36
fix: removed minting erc20 on the backend test
sifnoc be15a56
chore: rm unused imports
enricobottazzi ae539a2
feat: remove `Node::leaf()`
enricobottazzi ac396ce
feat: rm `Node::middle()`
enricobottazzi 69d049c
Revert "feat: remove `Node::leaf()`"
enricobottazzi 5dea9ed
chore: DRY code
enricobottazzi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually that's why we could have both constructors. I just meant that one could call the other inside itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I see, I misunderstood your point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applied changes in last commit!