The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

LiquidationPool is using floating pragma

Summary

LiquidationPool is using floating pragma which is not recommended. It is advised to look the project to a specific version and test with that version before deployment to mainnet.

pragma solidity ^0.8.17;

Vulnerability Details

Contracts should be deployed with the same compiler version and flags used during development and testing. Locking the pragma helps to ensure
that contracts do not accidentally get deployed using another pragma. LiquidationPool is using floating pragma.

Impact

The compiler versions are addressing bugs and as such the behaviour of the compilers are changing overtime. So, it is recommended to lock to a specific version and test thoroughly with that version before deployment to minimise the possibility of unexpected behaviour.

Tools Used

Manual review.

Recommendations

Revise to below.

pragma solidity 0.8.17;
Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue
Assigned finding tags:

informational/invalid

Support

FAQs

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