Producers are able to vote for MartenitsaTokens, contrary to the specified protocol design.
The MartenitsaVoting::voteForMartenitsa
currently allows anyone to vote on MartenitsaTokens, contrary to the intended system design which specifies that only non-producer users are eligible to vote.
Allowing producers to vote may result in biased outcomes in voting contests, as producers could potentially vote for their own entries or manipulate the results to favor certain outcomes. This could damage the integrity and credibility of the voting process, leading to reduced trust among participants.
Foundry, manual review
Implement an additional check in the MartenitsaVoting::voteForMartenitsa
function to verify that the caller is not a producer before allowing them to vote.
Note: make sure to include MartenitsaToken
as a storage variable beforehand.
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.