Beginner FriendlyFoundryGameFi
100 EXP
View results
Submission Details
Severity: low
Invalid

Floating Pragma

Summary

Contracts should be deployed using the same compiler version/flags with which they have been tested. Locking the floating pragma, i.e. by not using ^ in pragma solidity ^0.8.21, ensures that contracts do not accidentally get deployed using an older compiler version with unfixed bugs.

Tools Used

Slither

Recommendations

Remove ^ in “pragma solidity ^0.8.21” and change it to “pragma solidity 0.8.21” to be consistent with the rest of the contracts.

Updates

Lead Judging Commences

bube Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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