strangelove-ventures / lens

⚛️❤️👁 Brought to you by the LensCrafters
Apache License 2.0
168 stars 82 forks source link

List of offline validators during an upgrade #67

Open jackzampolin opened 2 years ago

jackzampolin commented 2 years ago

We should build a tool that allows querying for a list of offline validators ranked by voting power (highest to lowest) by name for upgrades. This should help with upgrade coordination

jackzampolin commented 2 years ago

existing art https://github.com/Kava-Labs/kvtool/blob/master/cmd/launch-blame.go

jackzampolin commented 2 years ago

Note this one pulls the validator info from a genesis file, if the RPC is online we can use q staking validators instead.

LoganHenderson commented 2 years ago

This should help with upgrade coordination

We would get this by just inspecting the latest block. It'd be great to also allow passing in a historical block (or block range). This could enable report generation for downtime events and other use-cases. I'm planning to pick up this ticket in the next couple days.

joeabbey commented 1 year ago

https://github.com/blockpane/pvtop does a fairly excellent job of this