MyCut

AI First Flight #8
Beginner FriendlyFoundry
EXP
View results
Submission Details
Impact: low
Likelihood: high
Invalid

Solidity pragma should be specific, not wide

Solidity pragma should be specific, not wide


Consider using a specific version of Solidity in your contracts instead of a wide version. For example, instead of pragma solidity ^0.8.20;, use pragma solidity 0.8.20;

Instances:

  • ContestManager.sol (line 2)

  • Pot.sol (line 2)

// Root cause in the codebase with @> marks to highlight the relevant secti

Proof of Concept

Recommended Mitigation

- pragma solidity ^0.8.20;
+ pragma solidity 0.8.20;
Updates

Lead Judging Commences

ai-first-flight-judge Lead Judge about 4 hours ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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

Give us feedback!