DeFiHardhat
12,000 USDC
View results
Submission Details
Severity: low
Invalid

Floating pragma is used

Summary

Floating pragma is used.

Vulnerability Details

Contracts should be deployed with the same compiler version and flags that they have been tested the most with. Locking the pragma helps ensure that contracts do not accidentally get deployed using, for example, the latest compiler which may have higher risks of undiscovered bugs.
In this case the ^0.8.20 can compile the contract with the latest solidity version which may have a bug.

Impact

Latest version of compiler will be used to compile the contract which may contains a bug.

Tools Used

Manual Review

Recommendations

Do not use floating pragma.

Updates

Lead Judging Commences

giovannidisiena Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Informational/Invalid

Support

FAQs

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