informalsystems / hermes

IBC Relayer in Rust
https://hermes.informal.systems
Apache License 2.0
449 stars 329 forks source link

Add renew status to the health-check #4240

Open altbro opened 2 weeks ago

altbro commented 2 weeks ago

Summary

Add status of auto channel refresh to health-check command output. To get an idea that channels on the chains from config is set to renew: 1. automatically 2. every n-days (calculated on top of trusting period / client_refresh_rate ).

Problem Definition

It would be much easier to control channel health over the cli.

Proposal

Add status of auto channel refresh to output of hermes health-check: health_check{chain=osmosis-1}: channel auto renew is **enabled** every 2 days health_check{chain=osmosis-1}: channel auto renew is **enabled** every 36000 seconds health_check{chain=osmosis-1}: channel auto renew is **disabled**


For Admin Use