From f2feeef4f40c5bd2fdb7eb6795ee0f1f165e728e Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Mon, 3 Feb 2025 11:18:37 +0000 Subject: [PATCH] chore: add invalidarchive to canProposeAtNextEthBlock ignored errors --- .../sequencer-client/src/publisher/sequencer-publisher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/sequencer-client/src/publisher/sequencer-publisher.ts b/yarn-project/sequencer-client/src/publisher/sequencer-publisher.ts index b9076fc689af..56b7b84f1b2d 100644 --- a/yarn-project/sequencer-client/src/publisher/sequencer-publisher.ts +++ b/yarn-project/sequencer-client/src/publisher/sequencer-publisher.ts @@ -249,7 +249,7 @@ export class SequencerPublisher { * @returns The slot and block number if it is possible to propose, undefined otherwise */ public canProposeAtNextEthBlock(tipArchive: Buffer) { - const ignoredErrors = ['SlotAlreadyInChain', 'InvalidProposer']; + const ignoredErrors = ['SlotAlreadyInChain', 'InvalidProposer', 'InvalidArchive']; return this.rollupContract .canProposeAtNextEthBlock(tipArchive, this.getForwarderAddress().toString(), this.ethereumSlotDuration) .catch(err => {