ethereum-optimism / ethereum-optimism/optimism

op-node: Give `admin_startSequencer` a chance to sync to requested head

Open
#11,990 0 comments 0 reactions 0 assignees View on GitHub
A-op-node
Dominant language
Go
Stars
6.5k
Forks
4k
Avg merge
2d 15h
Merged PRs (30d)
145

Description

The sequencer admin rpc `admin_startSequencer` currently directly calls `Sequencer.Start`. But if the candidate sequencer is still processing the requested head, this will fail. This could be improved by giving the sequencer a chance to sync up to the head first, within a short timeout window.

Contributor guide

Open the contributing guide

Research direction

Start at the op-node admin_startSequencer RPC and trace its direct call to Sequencer.Start. Determine how the candidate sequencer reports that it is still processing the requested head and where a short sync timeout can be applied. Done means the RPC gives synchronization a chance before starting and still fails cleanly when the head is not reached in time.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.