A Contest having high prize pool/funds will attract a lot of participant and higher participation will increase winner length [Also Malicious can use so many accounts to participate and gaining some percentage for every account] making distribute function out of gas and locking money in contract
SEE SUMMARY
both described cases can increase winner's length. Which will make impossible to execute distribute function to work due to out of gas error.
Also I'm thinking to bigger picture as Sparkn pointed out they will be doing government funded projects so pretty sure there will be a lot of participation and chances of winner length very often
Severity- high
likelihood- high
https://github.com/Cyfrin/2023-08-sparkn/blob/main/src/Distributor.sol#L143-L151C10
Distribution of reward for contest won't be possible by distribute function
Manual
it is always advised to follow withdraw pattern when protocol want to send funds to higher number of participants
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.