Discovered on testnet: https://github.com/cosmos/cosmos-sdk/issues/1470#issuecomment-402003930.
Demonstrative testcase in https://github.com/cosmos/cosmos-sdk/pull/1530.
Per discussion with @rigelrozanski - whenever we update the total bonded validators to less than the maximum validators, we need to clear the cliff validator & cliff validator power. We'll also add a section to the docs explaining what the cliff validator is, why it's useful, and when it should be set or not set.
Most helpful comment
Per discussion with @rigelrozanski - whenever we update the total bonded validators to less than the maximum validators, we need to clear the cliff validator & cliff validator power. We'll also add a section to the docs explaining what the cliff validator is, why it's useful, and when it should be set or not set.