ethereum-optimism / tests

Standard Tests for OP Stack Component Implementations.
https://static.optimism.io/tests
MIT License
16 stars 11 forks source link

feat(opd8n): Initial Derivation Test Fixture Construction #58

Closed refcell closed 2 months ago

refcell commented 2 months ago

Description

Implements the most basic derivation test fixture construction. This pr allows for the user to run the from-l1 subcommand on opd8n to generate a derivation test fixture at the given --output location. The use provides a starting and ending L1 block number to query calldata and blobs for in order to construct the FixtureBlocks that are used in the test fixture. The user must also provide a list of output roots that are used for an in-order comparison against the derived l2 blocks.

This PR also updates all dependencies as well as the ones in kona-derive for its use here. Dependencies are hoisted to the workspace and configured in all downstream crates to use the workspace deps.