penumbra icon indicating copy to clipboard operation
penumbra copied to clipboard

`pcli query chain info` does not accurately report jailed/tombstoned/disabled validators

Open plaidfinch opened this issue 7 months ago • 1 comments

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.

plaidfinch avatar Jul 08 '24 02:07 plaidfinch