Multiple Solidity pragma in repo/vader-bond/contracts/test/TestToken.sol #74
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
VaderBond
Handle
fatima_naz
Vulnerability details
Impact
In repo/vader-bond/contracts/test/TestToken.sol
pragma solidity 0.7.6;
It is better to use one Solidity compiler version across all contracts instead of different versions with different bugs and security checks.
Proof of Concept
https://github.com/crytic/slither/wiki/Detector-Documentation#different-pragma-directives-are-used
Tools Used
Recommended Mitigation Steps
pragma solidity =0.8.9;
The text was updated successfully, but these errors were encountered: