20,000 USDC
View results
Submission Details
Severity: gas
Valid

Floating pragma in all contracts

Summary

Floating pragma are used in all contracts instead of fixed pragma as recommended in the best practices.

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. For example, an outdated pragma version might introduce bugs that affect the contract system negatively or recently released pragma versions may have unknown security vulnerabilities.

Impact

Potential bugs introduction if contract deployed using another pragma than the one tested with.

Tools Used

Manual review

Recommendations

Consider locking the pragma in all the contracts to the 0.8.19 version.
It is not recommended to use a floating pragma in production.

Support

FAQs

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

Give us feedback!