Skip to content

chore(AggLayer): verify_leaf_bridge is no longer part of the bridge interface#2612

Merged
mmagician merged 4 commits intoagglayerfrom
mmagician-separate-verify-leaf-bridge-inner
Mar 18, 2026
Merged

chore(AggLayer): verify_leaf_bridge is no longer part of the bridge interface#2612
mmagician merged 4 commits intoagglayerfrom
mmagician-separate-verify-leaf-bridge-inner

Conversation

@mmagician
Copy link
Copy Markdown
Collaborator

@mmagician mmagician commented Mar 17, 2026

So that all exec invocations actually use the _inner variant, and the call invocations use the public facing procedure.

EDIT: see #2612 (comment)

@mmagician mmagician added no changelog This PR does not require an entry in the `CHANGELOG.md` file agglayer PRs or issues related to AggLayer bridging integration pr-from-maintainers PRs that come from internal contributors or integration partners. They should be given priority labels Mar 17, 2026
Copy link
Copy Markdown
Member

@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 good.

Its almost like we need some sort of procedure modifier onlyFPI, which would only allow a procedure to be called via FPI.

@mmagician mmagician force-pushed the mmagician-separate-verify-leaf-bridge-inner branch from 67b23e9 to 5bbf5d3 Compare March 17, 2026 16:44
@mmagician
Copy link
Copy Markdown
Collaborator Author

Actually after re-orienting the CLAIM note flow this PR was irrelevant in its original shape (distinguishing between exec and call invocations, since we removed the FPI call from the faucet).
But, the procedure was hanging around in the public bridge interface, I removed it from there, made it private, and moved to the end of the file.

@mmagician mmagician changed the title chore(AggLayer): distinguish between exec and call proc for verify_leaf_bridge chore(AggLayer): verify_leaf_bridge is no longer part of the bridge interface Mar 17, 2026
Copy link
Copy Markdown
Member

@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!

Comment on lines -184 to +271
#! Invocation: call
@locals(8) # leaf value
pub proc verify_leaf_bridge
#! Invocation: exec
proc verify_leaf_bridge
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice catch!

@mmagician mmagician merged commit 6ec914b into agglayer Mar 18, 2026
17 checks passed
@mmagician mmagician deleted the mmagician-separate-verify-leaf-bridge-inner branch March 18, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agglayer PRs or issues related to AggLayer bridging integration 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.

2 participants