Reuse op-alloy genesis params extract support #11046
Labels
C-debt
Refactor of code section that is hard to understand or maintain
C-enhancement
New feature or request
Describe the feature
we now have
OptimismChainInfo
in op-alloyhttps://github.com/alloy-rs/op-alloy/blob/8dd56a6b93d400f57966220507beeacacda8fb59/crates/rpc-types/src/genesis.rs#L7-L14
and we still have this helper type here:
reth/crates/chainspec/src/spec.rs
Lines 1097 to 1105 in 0349d7b
which also does extract:
reth/crates/chainspec/src/spec.rs
Line 1109 in 0349d7b
this type is more or less useless:
reth/crates/chainspec/src/spec.rs
Line 1101 in 0349d7b
and only does the
BaseFeeParamsKind
extraction, I feel like this can be made a bit nicer@klkvr could be something to take on once we extracted OpChainSpec
Additional context
No response
The text was updated successfully, but these errors were encountered: