Function enterRaffle
can be blocked if two users are called refund or attacked called refund from two added accounts
In enterRaffle
checked that array players
stored as a state variable has no duplicated addresses. However this array can contain two zero addresses if two users called refund
. In this case function enterRaffle
will fail in require(players[i] != players[j], "PuppyRaffle: Duplicate player");
because it contains two zero addresses.
Contract entering blockage by anyone
Skip zero addresses in duplications check
reentrancy in refund() function
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.