Skip to content

A chain upgrade watcher for Cosmos SDK based blockchains

Notifications You must be signed in to change notification settings

geldmon/cosmos-upgrade-watcher

 
 

Repository files navigation

Cosmos Upgrade Watcher

Fork of governor with the additions:

  • Send a Slack reminder when getting close to upgrade height. Configurable via the reminder_diff_blocks for each chain.

Cosmos Upgrade Watcher is a watcher that checks for upcoming upgrades in Cosmos SDK blockchains and notifies you about them in a Slack channel

Example usage

Generate a Slack webhook token as shown in their docs and put it in the config file.

cp ./config.yaml ./config.yaml.example
docker compose up -d

How it works

Cosmos Upgrade Watcher spins up a chain monitor per every chain and queries the /cosmos/upgrade/v1beta1/current_plan and checks if there is an upcoming upgrade. If there is an upcoming upgrade, it stores it in the local database and sends a request to the Slack webhook.

Prometheus metrics are available (default port is 8000):

  • cosmos_upgrade_watcher_last_checked
  • cosmos_upgrade_watcher_errors

About

A chain upgrade watcher for Cosmos SDK based blockchains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.0%
  • Dockerfile 2.0%