aztec-nr - noir_aztec::note::utils

Function compute_note_hash_read

pub fn compute_note_hash_read<Note>(
    retrieved_note: RetrievedNote<Note>,
    storage_slot: Field,
) -> NoteHashRead
where Note: NoteHash

Returns the note hash that must be used to issue a private kernel read request for a note.