mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 05:14:35 +00:00
Gloas test fixes (#7932)
* use builder_pending_payments_limit in upgrade gloas * check_all_blocks_from_altair_to_fulu test to not cover gloas for now * store_tests fixes * remove gloas fork from CI network testing for now * remove gloas fork from CI network testing for now
This commit is contained in:
@@ -715,8 +715,9 @@ mod tests {
|
||||
harness
|
||||
}
|
||||
|
||||
// TODO(EIP-7732) Extend this test for gloas
|
||||
#[tokio::test]
|
||||
async fn check_all_blocks_from_altair_to_gloas() {
|
||||
async fn check_all_blocks_from_altair_to_fulu() {
|
||||
let slots_per_epoch = MinimalEthSpec::slots_per_epoch() as usize;
|
||||
let num_epochs = 12;
|
||||
let bellatrix_fork_epoch = 2usize;
|
||||
@@ -724,7 +725,6 @@ mod tests {
|
||||
let deneb_fork_epoch = 6usize;
|
||||
let electra_fork_epoch = 8usize;
|
||||
let fulu_fork_epoch = 10usize;
|
||||
let gloas_fork_epoch = 12usize;
|
||||
let num_blocks_produced = num_epochs * slots_per_epoch;
|
||||
|
||||
let mut spec = test_spec::<MinimalEthSpec>();
|
||||
@@ -734,7 +734,6 @@ mod tests {
|
||||
spec.deneb_fork_epoch = Some(Epoch::new(deneb_fork_epoch as u64));
|
||||
spec.electra_fork_epoch = Some(Epoch::new(electra_fork_epoch as u64));
|
||||
spec.fulu_fork_epoch = Some(Epoch::new(fulu_fork_epoch as u64));
|
||||
spec.gloas_fork_epoch = Some(Epoch::new(gloas_fork_epoch as u64));
|
||||
let spec = Arc::new(spec);
|
||||
|
||||
let harness = get_harness(VALIDATOR_COUNT, spec.clone());
|
||||
|
||||
@@ -137,6 +137,7 @@ fn get_states_descendant_of_block(
|
||||
.collect()
|
||||
}
|
||||
|
||||
// TODO(EIP-7732) Extend to support gloas
|
||||
#[tokio::test]
|
||||
async fn light_client_bootstrap_test() {
|
||||
let spec = test_spec::<E>();
|
||||
@@ -184,7 +185,6 @@ async fn light_client_bootstrap_test() {
|
||||
LightClientBootstrap::Deneb(lc_bootstrap) => lc_bootstrap.header.beacon.slot,
|
||||
LightClientBootstrap::Electra(lc_bootstrap) => lc_bootstrap.header.beacon.slot,
|
||||
LightClientBootstrap::Fulu(lc_bootstrap) => lc_bootstrap.header.beacon.slot,
|
||||
LightClientBootstrap::Gloas(lc_bootstrap) => lc_bootstrap.header.beacon.slot,
|
||||
};
|
||||
|
||||
assert_eq!(
|
||||
|
||||
Reference in New Issue
Block a user