-
Notifications
You must be signed in to change notification settings - Fork 306
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
Make getNotes
return NEW_NULLIFIERS_LENGTH
number of notes
#941
Labels
C-aztec.nr
Component: Aztec smart contract framework
Comments
@suyash67 did this get resolved during the offsite? |
Rumata888
pushed a commit
that referenced
this issue
Sep 27, 2024
per community request, closes #941
Rumata888
pushed a commit
that referenced
this issue
Sep 27, 2024
per community request, closes #941
Rumata888
pushed a commit
that referenced
this issue
Sep 27, 2024
per community request, closes #941
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the oracle call to get notes owned by a user from the database returns TWO notes (hard-coded 😭). This is probably because we used to have TWO input notes in Aztec connect. For aztec, we plan to allow the number of input notes to be spent equal to:
NEW_NULLIFIERS_LENGTH = 4
. This value could be increased in the near future.So, we should allow a user to fetch at least
NEW_NULLIFIERS_LENGTH
number of notes. Note that the maximum number of notes a user can spend in one transaction right now is:NEW_NULLIFIERS_LENGTH * PRIVATE_CALLS_STACK_LEN
.The text was updated successfully, but these errors were encountered: