mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-24 07:14:46 +00:00
Upgrade to EIP-7732
This commit is contained in:
@@ -4,7 +4,7 @@ use crate::decode::{ssz_decode_state, yaml_decode_file};
|
||||
use serde::Deserialize;
|
||||
use state_processing::upgrade::{
|
||||
upgrade_to_altair, upgrade_to_bellatrix, upgrade_to_capella, upgrade_to_deneb,
|
||||
upgrade_to_electra,
|
||||
upgrade_to_eip7732, upgrade_to_electra,
|
||||
};
|
||||
use types::BeaconState;
|
||||
|
||||
@@ -71,7 +71,7 @@ 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::EIP7732 => todo!("upgrade_to_eip7732 not yet implemented"),
|
||||
ForkName::EIP7732 => upgrade_to_eip7732(&mut result_state, spec).map(|_| result_state),
|
||||
};
|
||||
|
||||
compare_beacon_state_results_without_caches(&mut result, &mut expected)
|
||||
|
||||
Reference in New Issue
Block a user