mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 04:01:51 +00:00
temporary proposer_boost_re_org_test test fixes (#8214)
This commit is contained in:
@@ -396,7 +396,10 @@ pub async fn proposer_boost_re_org_test(
|
||||
assert!(head_slot > 0);
|
||||
|
||||
// Test using the latest fork so that we simulate conditions as similar to mainnet as possible.
|
||||
let mut spec = ForkName::latest().make_genesis_spec(E::default_spec());
|
||||
// TODO(EIP-7732): extend test for Gloas by reverting back to using ForkName::latest()
|
||||
// Issue is that `get_validator_blocks_v3` below expects to be able to use `state.latest_execution_payload_header` during `produce_block_on_state` -> `produce_partial_beacon_block` -> `get_execution_payload`, but gloas will no longer support this state field
|
||||
// This will be resolved in a subsequent block processing PR
|
||||
let mut spec = ForkName::Fulu.make_genesis_spec(E::default_spec());
|
||||
spec.terminal_total_difficulty = Uint256::from(1);
|
||||
|
||||
// Ensure there are enough validators to have `attesters_per_slot`.
|
||||
|
||||
Reference in New Issue
Block a user