mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 21:38:31 +00:00
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:
committed by
dapplion
parent
9e84779522
commit
7af3f2eb35
@@ -1025,7 +1025,7 @@ async fn multiple_attestations_per_block() {
|
||||
let slot = snapshot.beacon_block.slot();
|
||||
let fork_name = harness.chain.spec.fork_name_at_slot::<E>(slot);
|
||||
|
||||
if fork_name >= ForkName::Electra {
|
||||
if fork_name.electra_enabled() {
|
||||
assert_eq!(
|
||||
snapshot
|
||||
.beacon_block
|
||||
|
||||
Reference in New Issue
Block a user