For the complete documentation index, see llms.txt.
aztec-nr - noir_aztec::history::note

Function assert_local_note_was_not_nullified_by

pub fn assert_local_note_was_not_nullified_by<Note>(
    block_header: BlockHeader,
    confirmed_note: ConfirmedNote<Note>,
    context: &mut PrivateContext,
)
where Note: NoteHash

Asserts a note had not been nullified by a given block.

Local notes only

This can only be used for notes of the executing contract. Use assert_note_existed_by on its own to prove existence of another contract's notes.