Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: low
Invalid

Return value of `def request_raffle_winner() -> uint256` may be incorrect in the time window until fulfilled by VRF Coordinator

Return value of def request_raffle_winner() -> uint256 may be incorrect in the time window until fulfilled by VRF Coordinator:

We return the NFT ID of the winner-to-be. This means that the NFT ID will only be valid after VRF Coordinator calls rawFulfillRandomWords on the vyper contract and the ERC721._mint doesn't revert.

We cannot assume that requestRandomWords will always be followed by rawFulfillRandomWords from Chainlink Nodes because sometimes the subscription can also expire

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Too generic

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.