add electra fork enabled fn to ForkName impl (#36)

* add electra fork enabled fn to ForkName impl

* remove inadvertent file
This commit is contained in:
Eitan Seri-Levi
2024-06-18 22:50:07 +02:00
committed by dapplion
parent 9e84779522
commit 7af3f2eb35
13 changed files with 31 additions and 21 deletions

View File

@@ -551,7 +551,7 @@ async fn electra_readiness_logging<T: BeaconChainTypes>(
.snapshot
.beacon_state
.fork_name_unchecked()
>= ForkName::Electra;
.electra_enabled();
let has_execution_layer = beacon_chain.execution_layer.is_some();