Skip to content

Commit

Permalink
bump the sleep back to 3 epochs.
Browse files Browse the repository at this point in the history
  • Loading branch information
just-mitch committed Oct 31, 2024
1 parent 82d000d commit 30f5dbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yarn-project/end-to-end/src/spartan/reorg.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ describe('reorg test', () => {
debugLogger.info(stdout);

// We only need 2 epochs for a reorg to be triggered, but 3 gives time for the bot to be restarted and the chain to re-stabilize
// TODO(#9613): why do we need to wait for 2 epochs?
debugLogger.info(`Waiting for 2 epochs to pass`);
await sleep(AZTEC_EPOCH_DURATION * AZTEC_SLOT_DURATION * 2 * 1000);
// TODO(#9613): why do we need to wait for 3 epochs?
debugLogger.info(`Waiting for 3 epochs to pass`);
await sleep(AZTEC_EPOCH_DURATION * AZTEC_SLOT_DURATION * 3 * 1000);

// TODO(#9327): begin delete
// The bot must be restarted because the PXE does not handle reorgs without a restart.
Expand Down

0 comments on commit 30f5dbc

Please sign in to comment.