Skip to content

Conversation

@tuxcanfly
Copy link

@tuxcanfly tuxcanfly commented Mar 30, 2022

This PR adds a new simulator for optimism devnet:

./hive --sim optimism  --client=ops-l1,ops-l2,ops-opnode,ops-l2os --docker.output

The current simulator tests some basic RPC functions. More tests will be added next.

@tuxcanfly tuxcanfly changed the title clients: add bedrock opgeth client add simulator: optimism devnet Apr 19, 2022
A new simulator for optimism devnet is added. It requires
multiple optimism specific clients and their sequence is
significant. So the only way to invoke the devnet simulator
is to launch with the following clients:

hive --sim optimism  --client=ops-l1,ops-l2,ops-opnode,ops-l2os --docker.output

The current test suite is adapter from ethereum/rpc and modified to suit
the optimism devnet. Only a subset of the RPC tests are supported at
the moment but more will be added later. Other test suites may extend
the devnet in the future to extend test coverage.
@mslipper mslipper changed the base branch from master to optimism April 28, 2022 14:40
@mslipper mslipper merged commit 1be2f4b into optimism Apr 28, 2022
@protolambda
Copy link

This is amazing! Thanks for pushing this to completion while the team was offline with devconnect.

In the future we may want to separate the container that pushes the contracts to L1 and the container that hosts the actual L1, since then we can test that e.g. all L1 clients (already in hive) work as RPC source.

And similarly, once we get Erigon and/or other clients supported as L2 execution engine in Bedrock, we can test those by giving them the ops-l2 role and running the same tests against each of the options.

protolambda pushed a commit that referenced this pull request Jul 27, 2022
A new simulator for optimism devnet is added. It requires
multiple optimism specific clients and their sequence is
significant. So the only way to invoke the devnet simulator
is to launch with the following clients:

hive --sim optimism  --client=ops-l1,ops-l2,ops-opnode,ops-l2os --docker.output

The current test suite is adapter from ethereum/rpc and modified to suit
the optimism devnet. Only a subset of the RPC tests are supported at
the moment but more will be added later. Other test suites may extend
the devnet in the future to extend test coverage.
mslipper pushed a commit that referenced this pull request Sep 8, 2022
A new simulator for optimism devnet is added. It requires
multiple optimism specific clients and their sequence is
significant. So the only way to invoke the devnet simulator
is to launch with the following clients:

hive --sim optimism  --client=ops-l1,ops-l2,ops-opnode,ops-l2os --docker.output

The current test suite is adapter from ethereum/rpc and modified to suit
the optimism devnet. Only a subset of the RPC tests are supported at
the moment but more will be added later. Other test suites may extend
the devnet in the future to extend test coverage.
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.

4 participants