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

There is no guarantee that PuppyRaffle::selectWinner() will be called every X seconds even if there are more than or eq to 4 players.

Summary

There is no guarantee that the selectWinner() function will be called every X seconds.

Vulnerability Details

If no one calls the selectWinner function then the lottery will never happen and no one guarantees that.

Tools Used

Manual Review

Recommendations

To use chainlink automation to call the function after every X seconds.

Updates

Lead Judging Commences

patrickalphac Lead Judge
over 1 year ago
Hamiltonite Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other
shikhar229169 Submitter
over 1 year ago
patrickalphac Lead Judge
over 1 year ago
Hamiltonite Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other
Hamiltonite Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

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