Skip to content

Make BURN note ID unique#2987

Merged
mmagician merged 2 commits into
nextfrom
andrew-make-burn-note-id-unique
May 28, 2026
Merged

Make BURN note ID unique#2987
mmagician merged 2 commits into
nextfrom
andrew-make-burn-note-id-unique

Conversation

@Fumuran
Copy link
Copy Markdown
Contributor

@Fumuran Fumuran commented May 26, 2026

This tiny PR includes the number of leaves in the Local Exit Tree in the BURN note ID computation, making it unique even if all the other data is the same.

Closes: #2802

@Fumuran Fumuran added no changelog This PR does not require an entry in the `CHANGELOG.md` file pr-from-maintainers PRs that come from internal contributors or integration partners. They should be given priority labels May 26, 2026
@Fumuran Fumuran requested a review from mmagician May 26, 2026 20:45
@Fumuran Fumuran marked this pull request as ready for review May 26, 2026 20:45
Copy link
Copy Markdown
Contributor

@partylikeits1983 partylikeits1983 left a comment

Choose a reason for hiding this comment

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

looks great!

Copy link
Copy Markdown
Collaborator

@mmagician mmagician left a comment

Choose a reason for hiding this comment

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

LGTM ✅
but a test would have been nice

Comment thread crates/miden-agglayer/asm/agglayer/bridge/bridge_out.masm Outdated
Comment thread crates/miden-agglayer/asm/agglayer/bridge/bridge_out.masm Outdated
Co-authored-by: Marti <marcin.gorny.94@protonmail.com>
@mmagician mmagician added this pull request to the merge queue May 28, 2026
Merged via the queue into next with commit 84240a0 May 28, 2026
20 checks passed
@mmagician mmagician deleted the andrew-make-burn-note-id-unique branch May 28, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file pr-from-maintainers PRs that come from internal contributors or integration partners. They should be given priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BURN note serial derived only from B2AGG serial + asset, so per-leaf uniqueness is lost

3 participants