Beginner FriendlyDeFiFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Different versions of solidity are used across the project some are pinned and others are not

Description
The project uses multiple different versions of solidity in various files, this could lead to inconsistent behaviour across platforms and environments.

Impact
Difficult to debug as code execution behaviour can vary across different environments.

Proof of Concept

Base.t.sol uses: pragma solidity ^0.8.13;
EmergencyMigration.s.sol uses: pragma solidity ^0.8.24;
CrimeMoney.sol uses: pragma solidity 0.8.24;
Kernel.sol uses: pragma solidity ^0.8.15;

Recommended mitigation

  • Ensure all versions of solidity are consistent across the protocol.

  • Use a specific version rather than floating version numbers.

  • Use the most recent version that is compatible with the library and consider upgrading it if needed.

References
N/A

Tools Used

  • Manual Review

  • VSCode search

Updates

Lead Judging Commences

n0kto Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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