Skip to content

Commit

Permalink
chore: set max txs in spam test
Browse files Browse the repository at this point in the history
  • Loading branch information
LHerskind committed Dec 13, 2024
1 parent 5c8e017 commit ea1ef9d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 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 @@ -394,8 +394,10 @@ describe('e2e_block_building', () => {
.send()
.deployed();

logger.info('Updating min txs per block to 4');
await aztecNode.setConfig({ minTxsPerBlock: 4 });
// We set the maximum number of txs per block to 12 to ensure that the sequencer will start building a block before it receives all the txs
// and also to avoid it building
logger.info('Updating min txs per block to 4, and max txs per block to 12');
await aztecNode.setConfig({ minTxsPerBlock: 4, maxTxsPerBlock: 12 });

logger.info('Spamming the network with public txs');
const txs = [];
Expand Down

0 comments on commit ea1ef9d

Please sign in to comment.