The function enterRaffle
checks for duplicates by looping through the players
storage variable. This will require more gas as the array grows and potentially exceeding block gas limit.
enterRaffle
function vulnerable to DoS attack by increasing the players
storage variable size
No new players can enter the raffle until a winner is selected and the players
storage variable cleared.
Foundry
Slither
Add a mapping storage variable that maps a player's address to it's active status.
Note: Additional logic is required to reset player active status when a winner is selected.
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.