Skip to content

Commit

Permalink
op-node: abort block publishing if conductor commit fails (#11380)
Browse files Browse the repository at this point in the history
  • Loading branch information
protolambda authored Aug 7, 2024
1 parent 79c8fe8 commit ec45f66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions op-node/rollup/sequencing/sequencer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec45f66

Please sign in to comment.