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

Interop: make action-tests interact with contracts #12768

Open
protolambda opened this issue Nov 1, 2024 · 0 comments
Open

Interop: make action-tests interact with contracts #12768

protolambda opened this issue Nov 1, 2024 · 0 comments

Comments

@protolambda
Copy link
Contributor

The system interop tests currently have bindings to 3 contracts:

  • an emitter contract, to emit log events
  • the L1 system config, to emit dependency-set changes
  • a crossL2Inbox contract interface, to execute messages

These bindings can be found here: https://github.com/ethereum-optimism/optimism/tree/develop/op-e2e/interop/contracts
We should move this whole package into a new op-e2e/e2eutils/interop package, so the bindings are available to the action tests.

In the op-e2e/actions/interop we can then instantiate the bindings per L2 chain.
And use them to run through executing messages between chains, similar to the system test, but in the action-test format, for a more controlled environment for debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant