Skip to content

op-supervisor: SyncStatus may return incomplete results immediately after startup #14399

@ajsutton

Description

@ajsutton

op-supervisor's sync status tracker starts with a blank state then adds each chain as it receives events. If the SyncStatus rpc is called before it has received all events for all chains to populate its initial state, it may return incomplete results which are potentially incorrect.

The main risk here is if no events have been received for a chain, it won't have an entry in statuses at all and so won't be considered when calculating the derived attributes like MinSyncedL1 and the safe and finalized timestamps. This could lead the challenger to perform incorrect actions and lose bonds.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions