Skip to content

feat: entrypoints - #13456

Closed
hexshire wants to merge 24 commits into
ethereum-optimism:developfrom
defi-wonderland:sc-feat/entrypoints
Closed

feat: entrypoints#13456
hexshire wants to merge 24 commits into
ethereum-optimism:developfrom
defi-wonderland:sc-feat/entrypoints

Conversation

@hexshire

Copy link
Copy Markdown
Contributor

Description
Introduces a new entrypoints primitive that allows anyone to add custom logic on top of the L2ToL2CrossDomainMessenger. To do so, it adds a parameter in the L2ToL2CrossDomainMessenger that binds the relaying to a particular address, where custom logic can live.

Tests

L2ToL2CrossDomainMessenger:

  • Modifies current tests by adding the new entrypoint param.
  • Adds new tests to validate entrypoints behavior.
  • Adds tests to verify the context view functions.

On SuperchainTokenBridge and SuperchainWETH, modifies tests that interact with L2ToL2CrossDomainMessenger adapting them to the current changes.

Additional context
Modifies scripts/checks/interfaces/main.go to handle overloaded functions.

Metadata

@opgitgovernance

Copy link
Copy Markdown
Contributor

This pr has been automatically marked as stale and will be closed in 5 days if no updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-stale Status: Will be closed unless there is activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants