Skip to content

feat: assertion monitor enhancements#85

Merged
dewanshparashar merged 1 commit intomainfrom
assertion-monitor-enhancements
Jan 14, 2026
Merged

feat: assertion monitor enhancements#85
dewanshparashar merged 1 commit intomainfrom
assertion-monitor-enhancements

Conversation

@dewanshparashar
Copy link
Contributor

@dewanshparashar dewanshparashar commented Jan 14, 2026

  • Improved error handling: Replaced throwing errors with alert generation when no assertion logs are found in the search window, allowing monitoring to continue for all chains.

  • Enhanced alert messages: Added detailed alerts that include:

    • Block range searched (from/to blocks)
    • Duration of search window (~X hours/days)
    • Chain activity status (active vs inactive)
  • Chain activity detection: Added logic to detect if the chain is producing blocks during the search window, distinguishing between:

    • Active chain without assertions → Problem (validator not posting assertions)
    • Inactive chain without assertions → Expected (no blocks = no assertions needed)
  • Fixed summary formatting: Fixed alert summary to properly separate chains with newlines instead of comma concatenation.

image

@dewanshparashar dewanshparashar merged commit 1584e7d into main Jan 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants