Consumer sends invalid validator updates to tendermint, resulting in tm.verifyRemovals
fail
#230
Labels
type: bug
Issues that need priority attention -- something isn't working
This tendermint code checks if the validator set updates returned in EndBlock are valid
https://github.com/tendermint/tendermint/blob/85870def7b628effad73af942e638bbddf2ba8fd/types/validator_set.go#L538-L544
The check can fail on consumer because the passed updates are not filtered correctly.
interchain-security/x/ccv/consumer/module.go
Lines 187 to 195 in 657aaea
The data needs to be modified in here
interchain-security/x/ccv/consumer/keeper/validators.go
Lines 16 to 52 in 657aaea
See the very closely related spec issue that was fixed already
I can make a PR for this soon.
Found with diff testing.
The text was updated successfully, but these errors were encountered: