Skip to content

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

Open
@plaidfinch

Description

@plaidfinch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-clientArea: Design and implementation for client functionalityA-stakingArea: Design and implementation of staking and delegationC-bugCategory: a bugE-easyEffort: Easy_P-lowPriority: lowgood first issueA good issue for people without existing context on the project.needs-refinementunclear, incomplete, or stub issue that needs work

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions