Skip to content

Commit

Permalink
Perform an initial delayed sequencing run at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
PlasmaPower committed Jun 23, 2023
1 parent 67a7ad8 commit 25081f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arbnode/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,12 @@ func (n *Node) Start(ctx context.Context) error {
return fmt.Errorf("error starting inbox reader: %w", err)
}
}
if n.DelayedSequencer != nil && n.SeqCoordinator == nil {
err = n.DelayedSequencer.ForceSequenceDelayed(ctx)
if err != nil {
return fmt.Errorf("error performing initial delayed sequencing: %w", err)
}
}
err = n.Execution.TxPublisher.Start(ctx)
if err != nil {
return fmt.Errorf("error starting transaction puiblisher: %w", err)
Expand Down

0 comments on commit 25081f0

Please sign in to comment.