From 263f4b9e39333fbd1cc785eaea287a4dfc354573 Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Fri, 3 Jul 2026 12:00:03 -0300 Subject: [PATCH] fix(proposal-handler): ensure we default to pushing blocks to archiver --- yarn-project/sequencer-client/src/config.ts | 2 +- yarn-project/validator-client/src/proposal_handler.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yarn-project/sequencer-client/src/config.ts b/yarn-project/sequencer-client/src/config.ts index 3e88d931f4e3..2dd82b2b0d1a 100644 --- a/yarn-project/sequencer-client/src/config.ts +++ b/yarn-project/sequencer-client/src/config.ts @@ -242,7 +242,7 @@ export const sequencerConfigMappings: ConfigMappingsType = { ...booleanConfigHelper(DefaultSequencerConfig.buildCheckpointIfEmpty), }, skipPushProposedBlocksToArchiver: { - description: 'Skip pushing proposed blocks to archiver (default: true)', + description: 'Skip pushing proposed blocks to archiver (test only)', ...booleanConfigHelper(DefaultSequencerConfig.skipPushProposedBlocksToArchiver), }, minBlocksForCheckpoint: { diff --git a/yarn-project/validator-client/src/proposal_handler.ts b/yarn-project/validator-client/src/proposal_handler.ts index 08941b93de57..aff904864e5e 100644 --- a/yarn-project/validator-client/src/proposal_handler.ts +++ b/yarn-project/validator-client/src/proposal_handler.ts @@ -591,7 +591,7 @@ export class ProposalHandler { } // If we succeeded, push this block into the archiver (unless disabled) - if (reexecutionResult?.block && this.config.skipPushProposedBlocksToArchiver === false) { + if (reexecutionResult?.block && !this.config.skipPushProposedBlocksToArchiver) { await this.blockSource.addBlock(reexecutionResult.block); }