enterRaffle function not following Checks,Effects,Interaction pattern
Check for duplicates should occur before pushing new players into the array. it could loop through the newPlayers array
and check for duplicates first and it could revert before adding new players.
Checks -> Effects -> Interactions should be followed
players being added to the array and then having to roll back the changes if they are duplicate
VSCode
check for duplicates before adding to array, this is more efficient and follows the Checks -> Effects -> Interactions pattern
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.