This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
forked from 0xPolygonZero/zk_evm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now prunes tries properly (and more aggressively!) without hack (0xPo…
…lygonZero#97) * Finished logic for detecting trie collapses * A few fixes related to branch collapse detection * Requested PR changes for 0xPolygonZero#39 * Extension nodes are now always not hashed if encountered - However it will only not hash the child if the key matches the key piece of the extension. * Mix of different cherry-picked fixes - Fixes overall deal with calling the new pruning query in `mpt_trie` and changing the order of calls when generating proof IR. * Impled additional logic to extract remaining child - Realized that we needed a bit more logic to get the key to the remaining child after a branch collapse. - Ended up adding a bool to `TriePathIter`. * Cleanup from messy cherry picks - Also includes one core fix that got left out. * Apply suggestions from code review Robin's suggested changes for PR 0xPolygonZero#97 Co-authored-by: Robin Salen <[email protected]> * Requsted PR changes for 0xPolygonZero#97 --------- Co-authored-by: Ben <[email protected]> Co-authored-by: Robin Salen <[email protected]>
- Loading branch information
1 parent
05f8722
commit 5c8d516
Showing
9 changed files
with
331 additions
and
118 deletions.
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
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
Oops, something went wrong.