mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 23:04:53 +00:00
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:
@@ -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
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user