forked from visoftsolutions/noir_rs
-
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.
chore!: Add Side effect counter struct for ordering (AztecProtocol#3608)
For ordering, we need to keep track of the sequence in which notes were created/read. This modifies the Protocol Circuit input structs to add a "counter" value in addition to the raw "value" of a commitment, read request, and nullifier. This PR is a breaking but nonfunctional change - just adds 0 values for counters everywhere, values are set in `context.nr` but will not be validated inside the ordering kernel until a follow up PR. also removes all references to "pending_read_requests", which we've decided not to support for now due to high complexity. This is a continuation of https://github.com/AztecProtocol/aztec-packages/pull/1646/files , but for noir protocol circuits instead of the CPP ones. --------- Co-authored-by: sirasistant <sirasistant@gmail.com> Co-authored-by: Dan Lee <dan-aztec@users.noreply.github.com>
- Loading branch information
1 parent
44458be
commit c58b197
Showing
90 changed files
with
70,273 additions
and
48,657 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
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.