miden-objects 0.17.0-rc.4

Canonical Protobuf representations for Miden protocol objects
Documentation
1
2
3
4
5
6
7
use miden_protocol::note::{Note, NoteId};

use crate::test_utils::dummy_word;

pub(crate) fn note_id(value: u32) -> NoteId {
    Note::mock_noop(dummy_word(value)).id()
}