ethereum-optimism / ethereum-optimism/optimism
op-node: Give `admin_startSequencer` a chance to sync to requested head
- 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
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