Santa's List

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

Update all contracts to the new and same version of Solidity.

Update to a more current version of Solidity and have one version for all contracts.

Description

The code does not compile because there are different versions in the Solidity contracts. There should be one version and it is recommended to update to a more current and stable one.

@> pragma solidity 0.8.22;

Risk

Likelihood:

  • Reason 1 // Describe WHEN this will occur (avoid using "if" statements)

  • Reason 2

Impact:

  • Impact 1

  • Impact 2

Proof of Concept

Recommended Mitigation

- pragma solidity 0.8.22;
+ pragma solidity ^0.8.24;
Updates

Lead Judging Commences

ai-first-flight-judge Lead Judge about 3 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!