-
Notifications
You must be signed in to change notification settings - Fork 285
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
Noir contracts shouldn't get
notes that were nullified earlier in TX
#940
Comments
6 tasks
dbanks12
changed the title
Pending nullifiers in ACIR simulaltor
Pending nullifiers in ACIR simulator
Jul 14, 2023
dbanks12
changed the title
Pending nullifiers in ACIR simulator
Noir contracts shouldn't Jul 14, 2023
get
notes that were nullified earlier in TX
Renamed the ticket from previous title. We'll need to track pending nullifiers in the ACIR simulator and check against them whenever doing I'd be glad to pick this ticket up if it's okay with you @sirasistant! |
IMPORTANT:
In both cases, getNotes should filter notes which were already nullified during this transaction. |
This was referenced Jul 25, 2023
jeanmon
added a commit
that referenced
this issue
Jul 27, 2023
# Description Resolves #940 # Checklist: - [x] I have reviewed my diff in github, line by line. - [x] Every change is related to the PR description. - [x] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to the issue(s) that it resolves. - [x] There are no unexpected formatting changes, superfluous debug logs, or commented-out code. - [x] The branch has been merged or rebased against the head of its merge target. - [x] I'm happy for the PR to be merged at the reviewer's next convenience.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ref -> storage_slot.remove(note) doesn't remove until the base rollup. So for the same transaction, you always get the same notes and can't spend other notes. This prevents how many transactions can happen at the same time.
https://aztecprotocol.slack.com/archives/C03P17YHVK8/p1688120000664279
The text was updated successfully, but these errors were encountered: