Skip to content

Commit a50ff6c

Browse files
authored
chore: set max txs in spam test (#10717)
1 parent 84ea539 commit a50ff6c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

yarn-project/end-to-end/src/e2e_block_building.test.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,10 @@ describe('e2e_block_building', () => {
394394
.send()
395395
.deployed();
396396

397-
logger.info('Updating min txs per block to 4');
398-
await aztecNode.setConfig({ minTxsPerBlock: 4 });
397+
// 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
398+
// and also to avoid it building
399+
logger.info('Updating min txs per block to 4, and max txs per block to 12');
400+
await aztecNode.setConfig({ minTxsPerBlock: 4, maxTxsPerBlock: 12 });
399401

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

0 commit comments

Comments
 (0)