mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 20:57:10 +00:00
linting
This commit is contained in:
@@ -71,7 +71,6 @@ impl<E: EthSpec> Case for ForkTest<E> {
|
||||
ForkName::Capella => upgrade_to_capella(&mut result_state, spec).map(|_| result_state),
|
||||
ForkName::Deneb => upgrade_to_deneb(&mut result_state, spec).map(|_| result_state),
|
||||
ForkName::Electra => upgrade_to_electra(&mut result_state, spec).map(|_| result_state),
|
||||
ForkName::Heze => upgrade_to_heze(&mut result_state, spec).map(|_| result_state),
|
||||
ForkName::Fulu => upgrade_to_fulu(&mut result_state, spec).map(|_| result_state),
|
||||
ForkName::Gloas => upgrade_to_gloas(&mut result_state, spec).map(|_| result_state),
|
||||
ForkName::Heze => upgrade_to_heze(&mut result_state, spec).map(|_| result_state),
|
||||
|
||||
@@ -172,10 +172,6 @@ impl<E: EthSpec> LoadCase for KzgInclusionMerkleProofValidity<E> {
|
||||
ssz_decode_file::<BeaconBlockBodyElectra<E>>(&path.join("object.ssz_snappy"))?
|
||||
.into()
|
||||
}
|
||||
ForkName::Heze => {
|
||||
ssz_decode_file::<BeaconBlockBodyHeze<E>>(&path.join("object.ssz_snappy"))?
|
||||
.into()
|
||||
}
|
||||
ForkName::Fulu => {
|
||||
ssz_decode_file::<BeaconBlockBodyFulu<E>>(&path.join("object.ssz_snappy"))?.into()
|
||||
}
|
||||
@@ -300,10 +296,6 @@ impl<E: EthSpec> LoadCase for BeaconBlockBodyMerkleProofValidity<E> {
|
||||
ssz_decode_file::<BeaconBlockBodyElectra<E>>(&path.join("object.ssz_snappy"))?
|
||||
.into()
|
||||
}
|
||||
ForkName::Heze => {
|
||||
ssz_decode_file::<BeaconBlockBodyHeze<E>>(&path.join("object.ssz_snappy"))?
|
||||
.into()
|
||||
}
|
||||
ForkName::Fulu => {
|
||||
ssz_decode_file::<BeaconBlockBodyFulu<E>>(&path.join("object.ssz_snappy"))?.into()
|
||||
}
|
||||
|
||||
@@ -60,14 +60,6 @@ impl<E: EthSpec> LoadCase for TransitionTest<E> {
|
||||
spec.deneb_fork_epoch = Some(Epoch::new(0));
|
||||
spec.electra_fork_epoch = Some(metadata.fork_epoch);
|
||||
}
|
||||
ForkName::Heze => {
|
||||
spec.altair_fork_epoch = Some(Epoch::new(0));
|
||||
spec.bellatrix_fork_epoch = Some(Epoch::new(0));
|
||||
spec.capella_fork_epoch = Some(Epoch::new(0));
|
||||
spec.deneb_fork_epoch = Some(Epoch::new(0));
|
||||
spec.electra_fork_epoch = Some(Epoch::new(0));
|
||||
spec.heze_fork_epoch = Some(metadata.fork_epoch);
|
||||
}
|
||||
ForkName::Fulu => {
|
||||
spec.altair_fork_epoch = Some(Epoch::new(0));
|
||||
spec.bellatrix_fork_epoch = Some(Epoch::new(0));
|
||||
|
||||
Reference in New Issue
Block a user