aztec-nr - noir_aztec::oracle::notes

Function notify_created_note

pub fn notify_created_note<let N: u32>(
    storage_slot: Field,
    randomness: Field,
    note_type_id: Field,
    packed_note: [Field; N],
    note_hash: Field,
    counter: u32,
)

Notifies the simulator that a note has been created, so that it can be returned in future read requests in the same transaction. This note should only be added to the non-volatile database if found in an actual block.