setExpiry() does not check the current agreement state. If the agreement is already in PRODUCTION, CORRUPTED, or PROMOTION_REQUESTED, extending expiry serves no purpose, because staking is permanently blocked in these states.
Staking is always blocked in these states regardless of expiry:
No staker can ever stake regardless of new expiry. Misleading pool state, appears active but functionally dead.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.
The contest is complete and the rewards are being distributed.