paradigmxyz / reth

Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
https://reth.rs/
Apache License 2.0
3.82k stars 1.07k forks source link

Copy tests in `reth_execution_types::chain` to `reth-evm-optimism` #11111

Open emhane opened 2 hours ago

emhane commented 2 hours ago

Describe the feature

Copy tests with optimism feature in reth_execution_types::chain into reth-evm-optimism. Remove the optimism feature gated code form the original tests (and remove code feature gated by #[cfg(not(feature = "optimism"))] in the reth-evm-optimism copy).

This will likely cause issues in CI, for now the original tests will have to be feature gated with #[cfg(not(feature = "optimism"))]

Additional context

No response

0xriazaka commented 2 hours ago

Can i work on this?