15,000 USDC
View results
Submission Details
Severity: low
Valid

Use of Floating Pragma

Summary

Every contract within the system has floating pragma pragma solidity ^0.8.18;.

Vulnerability Details

It is essential to deploy contracts with the identical compiler version and flags used during thorough testing. Locking the pragma in this manner safeguards against accidental deployment using outdated compiler versions, which could potentially introduce bugs and negatively impact the contract system.

Impact

Could potentially introduce bugs and negatively impact the contract system.

Tools Used

VSCode

Recommendations

Consider changing from pragma solidity ^0.8.18; to pragma solidity 0.8.18; for uniformity and adherence to the chosen compiler version. This approach ensures a more controlled and stable development environment.

Support

FAQs

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