The ContestManager
contract lacks a mechanism to remove or manage the lifecycle of contests, leading to potential inefficiencies and storage bloat.
Contests are stored indefinitely in the contests
array without a removal mechanism and there are no means to differentiate between active and inactive contests.
Accumulation of inactive contests could lead to unforeseen vulnerabilities.
Unmanaged contests could be targeted in attacks or misuse. Also persistent storage of inactive contests increases gas costs for interactions.
Manual Review
Introduce a function to remove contests from the contests array. Also add states to contests (e.g., Active, Closed, Removed) and ensure proper state transitions.
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.