Skip to content

refactor(note): rename recipient builder procedures#2878

Merged
PhilippGackstatter merged 1 commit into0xMiden:nextfrom
giwaov:issue-2875-rename-recipient-builders
May 7, 2026
Merged

refactor(note): rename recipient builder procedures#2878
PhilippGackstatter merged 1 commit into0xMiden:nextfrom
giwaov:issue-2875-rename-recipient-builders

Conversation

@giwaov
Copy link
Copy Markdown
Contributor

@giwaov giwaov commented May 6, 2026

Closes #2875.

Renames the note recipient helpers so the side effect is clearer:

  • note::build_recipient_hash -> note::compute_recipient
  • note::build_recipient -> note::compute_and_store_recipient

The second procedure also writes the recipient preimages into advice inputs, so the new name makes that behavior harder to miss.

I updated the MASM call sites, related test names/comments, and the changelog.

Checked with git diff --check. I also tried the focused miden-testing filters, but the local build is still blocked in miden-core-lib with project 'miden-core' is missing its manifest path.

@giwaov giwaov force-pushed the issue-2875-rename-recipient-builders branch from 9fa7636 to 57161a0 Compare May 6, 2026 13:14
@PhilippGackstatter
Copy link
Copy Markdown
Contributor

@giwaov Could you fix the CI failures?

@giwaov
Copy link
Copy Markdown
Contributor Author

giwaov commented May 6, 2026

@giwaov Could you fix the CI failures?

working on it sir

@giwaov giwaov force-pushed the issue-2875-rename-recipient-builders branch from 57161a0 to 329099f Compare May 6, 2026 13:59
Copy link
Copy Markdown
Contributor

@PhilippGackstatter PhilippGackstatter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@PhilippGackstatter PhilippGackstatter added this pull request to the merge queue May 7, 2026
Merged via the queue into 0xMiden:next with commit e1a92ce May 7, 2026
17 checks passed
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.

Consider renaming build_recipient* procedures

2 participants