Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions yarn-project/end-to-end/src/e2e_block_building.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@ describe('e2e_block_building', () => {
testContract = await TestContract.deploy(owner).send().deployed();
}, 60_000);

afterEach(() => teardown());

it('calls a method with nested note encrypted logs', async () => {
// account setup
const privateKey = new Fr(7n);
Expand Down Expand Up @@ -394,14 +396,12 @@ describe('e2e_block_building', () => {
.send()
.deployed();

// 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('Updating txs per block to 4');
await aztecNode.setConfig({ minTxsPerBlock: 4, maxTxsPerBlock: 4 });

logger.info('Spamming the network with public txs');
const txs = [];
for (let i = 0; i < 30; i++) {
for (let i = 0; i < 24; i++) {
const tx = token.methods.mint_to_public(owner.getAddress(), 10n);
txs.push(tx.send({ skipPublicSimulation: false }));
}
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/sequencer-client/src/sequencer/sequencer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class Sequencer {
* @param config - New parameters.
*/
public updateConfig(config: SequencerConfig) {
this.log.info(`Sequencer config set`, omit(pickFromSchema(this.config, SequencerConfigSchema), 'allowedInSetup'));
this.log.info(`Sequencer config set`, omit(pickFromSchema(config, SequencerConfigSchema), 'allowedInSetup'));

if (config.transactionPollingIntervalMS !== undefined) {
this.pollingIntervalMs = config.transactionPollingIntervalMS;
Expand Down