sigp / siren

User interface for Lighthouse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Green status icon shown even when the chain is behind

jimmygchen opened this issue · comments

Describe the bug
Blocks behind on the main page is quite large on the dev instance (91), but has a green status next to it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to main dashboard page, and observe the status icon on the top when node is behind.

Expected behavior
When the node is behind, it should show a warn status, perhaps ember icon

Screenshots
Image Pasted at 2023-8-14 14-53

Desktop (please complete the following information):

  • MacOS
  • Chrome
  • Version 115.0.5790.170

This issue was due to slot times varying from local testnet to mainnet/goerli. Due to the inconsistency we decided to use the sync_distance provided by the beacon sync api endpoint.