-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: align AVM witgen's limits on number of side effects with AVM s…
…imulator. Witgen supports phases and rollbacks. (#10329) 1. Aligns side effect limits between TS and CPP 2. Adds Noir test functions to spam side effects & adds that to proving test 2. Adds support to witgen for tx phases 3. Never expects a read hint for nullifier writes. Always just uses the write hint. 4. Adds an argument to finalize and `gen_trace` to skip end-gas assertions (not sure this is the best way, but all the tests pass) 5. renames TS hint vectors to all just be `*_reads` or `*_writes` instead of `*read/update_requests` etc. Work needed in a follow-up PR: - separate the opcode switch-case & phase management/enqueued-calls into separate functions or even separate files in witgen
- Loading branch information
1 parent
28eec59
commit 30dda53
Showing
23 changed files
with
996 additions
and
947 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
1,119 changes: 577 additions & 542 deletions
1,119
barretenberg/cpp/src/barretenberg/vm/avm/trace/execution.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
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.