PSS: Bug when querying has-to-validate #1822
Labels
source: devnet
To indicate an issue surfaced in a devnet.
type: bug
Issues that need priority attention -- something isn't working
Problem
For chains with top-N = 0, the has-to-validate method always includes all validators.
Closing criteria
The has-to-validate method should be fixed to only return validators that have to actually validate.
Problem details
The problem is here:
interchain-security/x/ccv/provider/keeper/grpc_query.go
Line 281 in 9270767
If the chain is not a top N chain, the if is never entered, thus all validators are put into the consumersToValidate list.
The text was updated successfully, but these errors were encountered: