Skip to content

feat: add dependency set check to L2ToL2CDM#13019

Merged
blmalone merged 1 commit intoethereum-optimism:developfrom
defi-wonderland:sc-feat/add-dependency-set-check-to-L2ToL2CDM
Nov 21, 2024
Merged

feat: add dependency set check to L2ToL2CDM#13019
blmalone merged 1 commit intoethereum-optimism:developfrom
defi-wonderland:sc-feat/add-dependency-set-check-to-L2ToL2CDM

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