[Bug]: Validation of ConsensusParams
update doesn't follow CometBFT spec
#20313
Labels
ConsensusParams
update doesn't follow CometBFT spec
#20313
Is there an existing issue for this?
What happened?
The
ConsensusParams
validator carried out byconsensusParamsKeeper.UpdateParams
is stateless. Therefore a malformed (or malicious) proposal may introduce ill-formedConsensusParams
in the module's store.Cosmos SDK Version
0.50
How to reproduce?
simapp
, with just one validatorgov
'sexpedited_voting_period
to 1 minutegov
proposal with the following message:cosmos.consensus.v1.MsgUpdateParams
These repro steps are the simplest, there are other cases when the
ConsensusParams
in the module's store are incorrect/incomplete.The text was updated successfully, but these errors were encountered: