Skip to content

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

Merged
ConstanceBeguier merged 1 commit intozsa1from
nf_old_pub_for_cmx
May 25, 2023
Merged

Circuit: Use nf_old_pub to evaluate new note commitment (with rho_new = nf_old_pub)#62
ConstanceBeguier merged 1 commit intozsa1from
nf_old_pub_for_cmx

Conversation

@ConstanceBeguier
Copy link
Collaborator

@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