There is a potential Denial Of Service when voting for a Martenitsa token.
In MartenitsaVoting.sol
, voteForMartenitsa()
pushes tokenId
to _tokenIds
on each vote, regardless of repeated votes on the same tokenId
. This can cause _tokenIds
to grow excessively, leading to high gas costs and potential DOS if it surpasses the block gas limit.
High gas costs at least, DOS at worst.
Manual review.
Use a mapping to track whether a tokenId
has been voted for.
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.