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

Circuit: Use nf_old_pub to evaluate new note commitment (with rho_new = nf_old_pub) #62

Merged
merged 1 commit into from
May 25, 2023

Conversation

ConstanceBeguier
Copy link

@ConstanceBeguier ConstanceBeguier commented May 25, 2023

Currently, every new note commitment is calculated using rho_new = nf_old = DeriveNullifier_nk(rho_old, psi_old, cm_old).
For split notes, we would like to evaluate the new note commitment with rho_new = nf_old_pub (a random nullifier which is stored in the instance nf_old_pub).
For all remaining notes, nf_old = nf_old_pub. As such, implementing rho_new = nf_old_pub for all notes will not affect those remaining notes (and only affect split notes).

@QED-it QED-it deleted a comment from what-the-diff bot May 25, 2023
@ConstanceBeguier ConstanceBeguier requested a review from PaulLaux May 25, 2023 13:01
@ConstanceBeguier ConstanceBeguier merged commit b4f6281 into zsa1 May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants