selectWinner should update raffle state
when drawing the raffle, it should set to "drawing" state to prevent players from entering while the draw is being determined. Because the generation of random numbers using Chainlink VRF can take some time, we need to prevent new players from entering while this is being done.
new players entering while the draw is still being done will result in players losing their entry fee
VSCode
use a raffle state and set to drawing while winner is being selected
Root cause: bad RNG Impact: manipulate winner
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.