The contract can be blocked if the winner cannot receive ether.
In the fulfillRandomWords()
function ether is sent to the winner by the send
function. However, this function may be reverted if the receiver is a contract that has revert in the fallback()
or receive()
function. In that case VRF Coordinator will not perform a second rawFulfillRandomWords
and contract functionality will be blocked.
High.
VSCode.
Consider change to "Withdrawal" 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.