-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Background
It's frustrating in that there appears to be some reasonable code duplication in the ChainContext class that is responsible for the sycnchronisation / warm up, and subsequent chain monitoring. This makes it difficult to read, reason, and regression test (maybe I just coin RRR 😆).
Details
It's desirable that the code in ChainContext be DRY'ed, with a corresponding complexity reduction. The resultant code should also be thoroughly tested.
Acceptance criteria
- Loops in
ChainContextfor synchronisation are simplified. - Promote block watcher to run from the start of any
sync. -
/healthAPI endpoint returns5XXwhen chain isn't insync(removestartupProbe, and use onlylivelinessProbe.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request