UpdateWeightRunner allows pool managers to modify last update time through InitialisePoolLastRunTime() even when pools lack MASK_POOL_PERFORM_UPDATE permission, creating an illogical permission state.
Current implementation only checks MASK_POOL_OWNER_UPDATES:
This allows:
Pool with flags = 8 (MASK_POOL_OWNER_UPDATES) but not 1 (MASK_POOL_PERFORM_UPDATE)
Manager can modify last run time
Pool cannot execute performUpdate() due to missing permission
Inconsistent pool state
Potential manipulation of timing mechanics
Manual Review
Add MASK_POOL_PERFORM_UPDATE check:
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.