mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 04:48:21 +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
@@ -668,7 +668,7 @@ async fn invalid_signature_attester_slashing() {
|
||||
let mut snapshots = chain_segment.clone();
|
||||
let fork_name = harness.chain.spec.fork_name_at_slot::<E>(Slot::new(0));
|
||||
|
||||
let attester_slashing = if fork_name >= ForkName::Electra {
|
||||
let attester_slashing = if fork_name.electra_enabled() {
|
||||
let indexed_attestation = IndexedAttestationElectra {
|
||||
attesting_indices: vec![0].into(),
|
||||
data: AttestationData {
|
||||
|
||||
Reference in New Issue
Block a user