Remove Optimism feature from chainspec #8904
Labels
C-debt
Refactor of code section that is hard to understand or maintain
C-tracking-issue
An issue that collects information about a broad development initiative
M-prevent-stale
Prevents old inactive issues/PRs from being closed due to inactivity
Describe the feature
this is closely related to #7679
we should find a way to get rid of optimism specific stuff in chainspec, either by switching to name based hardforks, or a trait abstraction for chainspec.
in the short term, I think using named variants as described in #7679 would be easier and would allow adding additional hardforks and check functions via extension traits
or we go all the way and add trait for chainspec.
Additional context
No response
Tasks
reth_chainspec::ChainSpec
generic over hard fork #10468reth-optimism-chainspec
#10485OptimismHardfork
toreth-optimism-chainspec
#10518NodeTypes::ChainSpec
#10513reth-optimism-consensus
#10944ChainHardforks
type onChainSpec
#9065The text was updated successfully, but these errors were encountered: