Skip to content

feat: Sync from aztec-packages#4870

Closed
AztecBot wants to merge 1 commit intomasterfrom
aztec-packages
Closed

feat: Sync from aztec-packages#4870
AztecBot wants to merge 1 commit intomasterfrom
aztec-packages

Conversation

@AztecBot
Copy link
Collaborator

Automated pull of Noir development from aztec-packages.
BEGIN_COMMIT_OVERRIDE
chore: Improve compute_note_hash_and_nullifier autogeneration and NoteProcessor warnings (AztecProtocol/aztec-packages#5838)
END_COMMIT_OVERRIDE

…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!)
@TomAFrench TomAFrench closed this Apr 22, 2024
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