The last step in fulfillRandomWords
is the send
call which is supposed to send eth to the winner's contract
Root cause:
The problem is that the 3rd parameter gas defaults to 0 as per the docs (snippet below). So this may cause the transaction to revert and the contract will stuck in RaffleState.CALCULATING
stage until the gas prices come down
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.