Multiple contracts are deployed with pragma solidity ^0.8.19. This is inconsistent between (out of scope) contracts in the project as some use fixed pragma pragma solidity 0.8.19
Vulnerability Detail
Using unlocked pragma can cause contracts to compile with different solidity compiler versions than what was anticipated during development, testing, and deployment.
Impact
Inconsistency between compiler versions used for testing, development, and deployment can introduce unforeseen errors or changes in behavior introduced by different solidity versions.
DJINN
medium
Use of floating pragma
Summary
Multiple contracts are deployed with
pragma solidity ^0.8.19
. This is inconsistent between (out of scope) contracts in the project as some use fixed pragmapragma solidity 0.8.19
Vulnerability Detail
Using unlocked pragma can cause contracts to compile with different solidity compiler versions than what was anticipated during development, testing, and deployment.
Impact
Inconsistency between compiler versions used for testing, development, and deployment can introduce unforeseen errors or changes in behavior introduced by different solidity versions.
Code Snippet
Tool used
Manual Review
Recommendation
Avoid using floating pragma and instead choose a suitable solidity version for the project. Use fixed pragma instead.