Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add dependency set check to L2ToL2CDM #13019

Conversation

agusduha
Copy link
Contributor

Description

Add a check in the L2ToL2CrossDomainMessenger to prevent messages from being sent to the wrong destination chain. It will validate that the destination chain ID is included in the dependency set.

Tests

Add a new test to L2ToL2CrossDomainMessenger

Additional context

Rationale: ethereum-optimism/specs#460

Metadata

Closes #13017

@agusduha agusduha requested a review from a team as a code owner November 21, 2024 19:26
@agusduha agusduha requested a review from mbaxter November 21, 2024 19:26
@blmalone
Copy link
Contributor

/ci authorize e3ed942

Copy link
Contributor

@blmalone blmalone left a comment

Choose a reason for hiding this comment

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

lgtm

@blmalone blmalone added this pull request to the merge queue Nov 21, 2024
Merged via the queue into ethereum-optimism:develop with commit ccb544d Nov 21, 2024
49 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.

Prevent messages from being sent to the wrong destination chain
2 participants