From ec45f6634ab2855a4ae5d30c4e240d79f081d689 Mon Sep 17 00:00:00 2001 From: protolambda Date: Wed, 7 Aug 2024 03:40:40 -0600 Subject: [PATCH] op-node: abort block publishing if conductor commit fails (#11380) --- op-node/rollup/sequencing/sequencer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/op-node/rollup/sequencing/sequencer.go b/op-node/rollup/sequencing/sequencer.go index 0a02bcaf40b6..118cdf4be3fa 100644 --- a/op-node/rollup/sequencing/sequencer.go +++ b/op-node/rollup/sequencing/sequencer.go @@ -268,6 +268,7 @@ func (d *Sequencer) onBuildSealed(x engine.BuildSealedEvent) { if err := d.conductor.CommitUnsafePayload(ctx, x.Envelope); err != nil { d.emitter.Emit(rollup.EngineTemporaryErrorEvent{ Err: fmt.Errorf("failed to commit unsafe payload to conductor: %w", err)}) + return } // begin gossiping as soon as possible