Fix intermittent simulator test failures (#8983)

Fixes intermittent simulator test failures with error: `Head not synced for node 2. Found 127; Should be 128`


  Modify the delayed node in `basic_sim` to join earlier, giving it sufficient time to discover peers and form a proper gossip mesh before the sync verification check.

**Change:** Delayed node now joins at `END_EPOCH - 3` (epoch 13) instead of `END_EPOCH - 1` (epoch 15).


Co-Authored-By: Mark Mackey <mark@sigmaprime.io>

Co-Authored-By: ethDreamer <37123614+ethDreamer@users.noreply.github.com>
This commit is contained in:
ethDreamer
2026-03-13 14:22:25 -05:00
committed by GitHub
parent 53a711956e
commit 02137492f3

View File

@@ -363,7 +363,7 @@ pub fn run_basic_sim(matches: &ArgMatches) -> Result<(), String> {
network_1.add_beacon_node_with_delay(
beacon_config.clone(),
mock_execution_config.clone(),
END_EPOCH - 1,
END_EPOCH - 3,
slot_duration,
slots_per_epoch
),