The MartenitsaEvent::stopEvent
is intended to stop the event and remove the producer
role from the participants.
Inside its definition, the stopEvent
function loops over the participants
array which is not bounded.
This could result in the gas consumed by the stopEvent
function to exceed the gas block limit and thus
reverting the transaction.
The event cannot be stopped and the producer
role cannot be removed from the participants.
Manual review.
Consider running the logic inside the stopEvent
function in batches to make sure
the gas consumed is limited.
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.