paradigmxyz / reth

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

Enable Configuration of is_optimism() for OP Stack Devnets & Testnets #7925

Closed sam-iamm closed 5 months ago

sam-iamm commented 6 months ago

Describe the feature

chain_spec.is_optimism() is used throughout Reth to control OP Stack functionality:

but only a fixed list of chains within alloy-chains will return true. This impacts devex for those building OP Stack devnets or testnets, as their chain id will not be on that list until it is added by alloy maintainers. AlphaNet, for example, returns false for is_optimism() here.

The ChainSpec's is_optimism() should be configurable by developers using Reth, without a requirement to be added to alloy's list.

Additional context

No response

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 21 days with no activity.

github-actions[bot] commented 5 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale.