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: entrypoints #13456

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from

Conversation

hexshire
Copy link

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

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.

3 participants