diff --git a/crates/miden-protocol/asm/protocol/note.masm b/crates/miden-protocol/asm/protocol/note.masm index 284c68d4e..b3309e32e 100644 --- a/crates/miden-protocol/asm/protocol/note.masm +++ b/crates/miden-protocol/asm/protocol/note.masm @@ -33,9 +33,6 @@ const ERR_PROLOGUE_NOTE_INPUTS_LEN_EXCEEDED_LIMIT="number of note inputs exceede #! #! Invocation: exec pub proc compute_inputs_commitment - # check that number of inputs is less than or equal to MAX_INPUTS_PER_NOTE - dup.1 push.MAX_INPUTS_PER_NOTE u32assert2.err=ERR_PROLOGUE_NOTE_INPUTS_LEN_EXCEEDED_LIMIT - u32lte assert.err=ERR_PROLOGUE_NOTE_INPUTS_LEN_EXCEEDED_LIMIT # => [inputs_ptr, num_inputs] # compute the inputs commitment @@ -47,9 +44,6 @@ pub proc compute_inputs_commitment # => [INPUTS_COMMITMENT] end -# Re-export the max inputs per note constant. -pub use ::miden::protocol::util::note::MAX_INPUTS_PER_NOTE - #! Writes the assets data stored in the advice map to the memory specified by the provided #! destination pointer. #! diff --git a/crates/miden-protocol/asm/shared_utils/util/note.masm b/crates/miden-protocol/asm/shared_utils/util/note.masm deleted file mode 100644 index 8c502a8f7..000000000 --- a/crates/miden-protocol/asm/shared_utils/util/note.masm +++ /dev/null @@ -1,5 +0,0 @@ -# CONSTANTS -# ================================================================================================= - -# The maximum number of input values associated with a single note. -pub const MAX_INPUTS_PER_NOTE = 1024