Skip to main content

set_array_attachment

Function set_array_attachment 

Source
pub fn set_array_attachment(
    note_idx: NoteIdx,
    attachment_scheme: Felt,
    attachment: Word,
)
Expand description

Sets the attachment of the output note specified by note_idx to the provided commitment.

The advice map must contain an entry for the attachment elements committed to by attachment.