OP specific beacon consensus crate #7648
Labels
A-op-reth
Related to Optimism and op-reth
C-debt
A clean up/refactor of existing code
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
A new crate
op-beacon-core
should be made with a new typeOptimismBeaconConsensus
. The crate should live alongside thebeacon-core
crate. The typeOptimismBeaconConsensus
should implreth_interfaces::consensus::Consensus
trait. The goal with this is to remove theoptimism
feature from thebeacon-core
consensus crate.How this new type should be plugged into the node, needs design. Possibly by replacing usage of the
BeaconConsensus
type with aConsensus
trait object. However since this requires a lot of changes, for the scope of this PR, let's just bring either type into scope with a feature gate herereth/crates/consensus/beacon/src/lib.rs
Line 11 in a265465
as such
Additional context
No response
The text was updated successfully, but these errors were encountered: