Skip to content

Commit

Permalink
No need for so much sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Oct 11, 2024
1 parent 8f9b83a commit 3f2bca8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yarn-project/end-to-end/src/e2e_block_building.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,8 @@ describe('e2e_block_building', () => {
await cheatCodes.rollup.advanceToNextEpoch();
await cheatCodes.rollup.advanceSlots(AZTEC_EPOCH_PROOF_CLAIM_WINDOW_IN_L2_SLOTS + 1); // off-by-one?

// Await (sequencer should wait here, not us)
await sleep(5000);
// Wait a bit before spawning a new pxe
await sleep(1000);

// Send another tx which should be mined a block that is built on the reorg'd chain
// We need to send it from a new pxe since pxe doesn't detect reorgs (yet)
Expand Down

0 comments on commit 3f2bca8

Please sign in to comment.