Tadle

Tadle
DeFiFoundry
27,750 USDC
View results
Submission Details
Severity: low
Invalid

Floating Pragma

Summary

Contracts should use strict versions of solidity to ensures that contracts are not deployed with a different version of solidity than they were tested with

Vulnerability Details

Contracts should be deployed with the same compiler version and flags that they have been tested with thoroughly. Locking the pragma helps to ensure that contracts do not accidentally get deployed using, for example, an outdated compiler version that might introduce bugs that affect the contract system negatively.

Impact

Deployed with a different version of solidity than they were tested with could lead to uninteded results.

Recommendations

Lock the pragma version and also consider known bugs (Solidity releases page) for the compiler version that is chosen.

- pragma solidity ^0.8.13;
+ pragma solidity 0.8.25;
Updates

Lead Judging Commences

0xnevi Lead Judge
about 1 year ago
0xnevi Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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