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

fix: rename prove_note_validity to prove_note_exists_and_not_nullified #12024

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

avorylli
Copy link

Rename prove_note_validity to prove_note_exists_and_not_nullified

Fixes #11967

The function prove_note_validity has been renamed to better describe its actual functionality. The new name prove_note_exists_and_not_nullified clearly indicates that the function:

  1. Proves that the note exists in the note tree
  2. Proves that the note has not been nullified

Changes:

  • Renamed trait and implementation in note_validity.nr
  • Updated function calls in contracts
  • Updated documentation

No functional changes were made, only renaming for better clarity.

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.

Rename prove_note_validity
1 participant