MartenitsaEvent::stopEvent
go through the all list of new producers (participants).
If there are too many participant the function will go over the block gas limit and would be impossible to call without reverting.
Likelyhood: Medium
Only holders of 1 HealthToken
can participate, but buying 3 Martenitsa tokens is enough to have this token.
Impact: High
Denial of service of stopEvent
, all participants will stay Producers for ever, breaking the protocol
Limit the number of participant.
Alternatively put the mapping
cleaning in another function with a starting index and a ending index to proceed even big arrays.
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.