The raffle has no state
players can enter the raffle at any time, including when the raffle winner is being selected. this would result in new players being deleted from the player array and not being able to get a refund.
there should be a raffle state to track if the raffle is open or if it is drawing,
it should not allow players to enter the raffle while the winner is being selected.
players losing their entry fee and having no chance to win, unfair raffle
VSCode
implement a raffle state enum and only allow players to enter if the raffle is open, and change state to Drawing while it is being drawn.
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.