If verify_validators is enabled, non-signing validators must be jailed only if they are not already jailed. If not, it'll be effectively impossible for them to get out of jail, because their jailing expiration date will be continuously moved forward.
If
verify_validators
is enabled, non-signing validators must be jailed only if they are not already jailed. If not, it'll be effectively impossible for them to get out of jail, because their jailing expiration date will be continuously moved forward.https://github.com/confio/poe-contracts/blob/5c1ac97551f99c44c72f310a4a3d08d3856486e1/contracts/tgrade-valset/src/contract.rs#L712-L713
Write a test to confirm / reproduce this bug, and the fix.