Skip to content

Commit

Permalink
chore(sequencer): add InvalidArchive to canProposeAtNextEthBlock igno…
Browse files Browse the repository at this point in the history
…red errors (#11682)

We see alot of this as the sequencer attempts to check if it can propose
before it has successfully synced
  • Loading branch information
Maddiaa0 authored Feb 3, 2025
1 parent 65f0e48 commit eea4bd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit eea4bd3

Please sign in to comment.