alloy-rs / evm

EVM abstraction layer

Repository from Github https://github.comalloy-rs/evmRepository from Github https://github.comalloy-rs/evm

[Feature] Move Specid hardfork derivation fns from reth to here

mattsse opened this issue · comments

Describe the feature you would like

these fns now only depend on the hardforks and alloy crates:

https://github.com/paradigmxyz/reth/blob/1b08843bc5f982f54fc9f8a0a0fe97e39f8964f6/crates/ethereum/evm/src/config.rs#L5-L22

https://github.com/paradigmxyz/reth/blob/1b08843bc5f982f54fc9f8a0a0fe97e39f8964f6/crates/optimism/evm/src/config.rs#L23-L57

having them in this repo is useful because this lets us reuse them (e.g. in anvil we have the same match)

TODO

  • copy them over to evm and op-evm

Additional context

No response