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

Using older version of solidity, can have potential bug like overflow or underflow

Summary

PuppyRaffle contract is using older solidity version that can potential bugs like overflow and underflow.

Vulnerability Details

Impact

Loss of fee because fee is typecasted from uint256 to uint64 and version 0.7.6 doesn't provide protection against overflow and underflow.

Tools Used

Manual Review

Recommendations

Use latest version of solidity or atleast version grater than 0.8.0

Updates

Lead Judging Commences

Hamiltonite Lead Judge about 2 years ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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

Give us feedback!