penumbra
penumbra copied to clipboard
`pcli query chain info` does not accurately report jailed/tombstoned/disabled validators
Describe the bug
$ pcli query chain info
Chain Info:
Current Block Height 36736
Current Epoch 1
Total Validators 37
Active Validators 33
Inactive Validators 4
Jailed Validators 0
Tombstoned Validators 0
Disabled Validators 0
This does not show the > 0 jailed validators currently present on the network. This is because the RPC which returns validators changed semantics since this pcli
method was written: now it omits all but active/inactive validators.
Expected behavior
Either don't report the statistics about anything other than active and inactive validators, or source the stats another way, but pcli
shouldn't give an incorrect stat.