-
Notifications
You must be signed in to change notification settings - Fork 270
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
compute_note_hash_and_nullifier
errors and other note processing errors come up as warnings
#5669
Closed
Tracked by
#5077
Comments
I'm not following here. IS this not the same as #5670 or what is the real diff here? |
5670 -> can we have a compile time error for max note lem |
Open
Thunkar
added a commit
that referenced
this issue
Apr 22, 2024
…NoteProcessor` warnings (#5838) Closes #5669, #5670, #4649 Correctly determines the signature of the autogenerated `compute_note_hash_and_nullifier` by looking up the serialized content size of notes used in the contract. Furthermore, that langth is compared against MAX_NOTE_FIELDS_LEN and a compile time error is emited if the user attempts to use a note that is bigger than currently supported. Finally changed the `NoteProcessor` warns to be errors (even thought this particular one shouldn't get that far anymore!)
AztecBot
added a commit
to noir-lang/noir
that referenced
this issue
Apr 22, 2024
…NoteProcessor` warnings (AztecProtocol/aztec-packages#5838) Closes AztecProtocol/aztec-packages#5669, AztecProtocol/aztec-packages#5670, AztecProtocol/aztec-packages#4649 Correctly determines the signature of the autogenerated `compute_note_hash_and_nullifier` by looking up the serialized content size of notes used in the contract. Furthermore, that langth is compared against MAX_NOTE_FIELDS_LEN and a compile time error is emited if the user attempts to use a note that is bigger than currently supported. Finally changed the `NoteProcessor` warns to be errors (even thought this particular one shouldn't get that far anymore!)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example:
Actual error comes from here
Gets caught as a warning in the note processor here
These should be warnings
The text was updated successfully, but these errors were encountered: