Skip to content
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

Private ordering circuit should delete nullifier and pending commitment when match is found #836

Closed
Tracked by #512
dbanks12 opened this issue Jun 13, 2023 · 0 comments · Fixed by #1089
Closed
Tracked by #512
Assignees
Labels
C-protocol-circuits Component: Protocol circuits (kernel & rollup)

Comments

@dbanks12
Copy link
Collaborator

dbanks12 commented Jun 13, 2023

  1. See spec here
  2. Create C++ test that submits a new commitment and its nullifier in the same TX and ensure they are deleted.
  3. Create C++ test that repeats this but creates the new commitment and its nullifier in different kernel iterations.

Not all read requests will have nullifiers and vice versa.

@dbanks12 dbanks12 added this to A3 Jun 13, 2023
@dbanks12 dbanks12 converted this from a draft issue Jun 13, 2023
@dbanks12 dbanks12 added the C-protocol-circuits Component: Protocol circuits (kernel & rollup) label Jun 13, 2023
@dbanks12 dbanks12 changed the title [C++] Kernel should delete nullifier and pending commitment when match is found [C++] Private kernel should delete nullifier and pending commitment when match is found Jun 13, 2023
@dbanks12 dbanks12 changed the title [C++] Private kernel should delete nullifier and pending commitment when match is found [C++] Private ordering circuit should delete nullifier and pending commitment when match is found Jun 16, 2023
@jeanmon jeanmon self-assigned this Jul 17, 2023
@jeanmon jeanmon moved this from Todo to In Progress in A3 Jul 17, 2023
@dbanks12 dbanks12 assigned dbanks12 and unassigned jeanmon Aug 7, 2023
@dbanks12 dbanks12 changed the title [C++] Private ordering circuit should delete nullifier and pending commitment when match is found Private ordering circuit should delete nullifier and pending commitment when match is found Aug 7, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in A3 Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-protocol-circuits Component: Protocol circuits (kernel & rollup)
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants