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:
- 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
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.