Skip to content

fix(docs): correct build_recipient advice map signature#2720

Open
giwaov wants to merge 1 commit into0xMiden:nextfrom
giwaov:fix/build-recipient-doc-signature
Open

fix(docs): correct build_recipient advice map signature#2720
giwaov wants to merge 1 commit into0xMiden:nextfrom
giwaov:fix/build-recipient-doc-signature

Conversation

@giwaov
Copy link
Copy Markdown

@giwaov giwaov commented Apr 2, 2026

The doc comment for \�uild_recipient\ in
ote.masm\ incorrectly listed \STORAGE_COMMITMENT: [INPUTS]\ as a required advice map input. However, the procedure computes the storage commitment itself via \compute_storage_commitment\ and inserts it into the advice map via \�dv.insert_mem, so callers do not need to supply it.

This removes the incorrect advice map input from the declared signature, matching the corrected signature confirmed by @PhilippGackstatter in the issue discussion.

Closes #2693

Remove STORAGE_COMMITMENT from the declared advice map inputs of
build_recipient. The procedure computes the storage commitment itself
via compute_storage_commitment and inserts it into the advice map
via adv.insert_mem, so callers do not need to supply it.

Closes 0xMiden#2693
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Advice map inputs for the miden::protoco::note::build_recipient

1 participant