Eggstravaganza

First Flight #37
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: low
Invalid

Unspecific Solidity Pragma

Impact: This issue can lead to unexpected behavior if the compiler version used changes in the future. While the code may work as expected with the specified version range (e.g., ^0.8.23), the pragma can allow the contract to compile with newer versions that might introduce breaking changes or unexpected behavior. This can result in subtle bugs or vulnerabilities that are difficult to detect. Furthermore, using an imprecise version can make it harder to verify the contract's security and functionality with specific compiler version

Recommended Mitigation: Consider using a specific version of Solidity in your contracts instead of a wide version. For example, instead of pragma solidity ^0.8.23;, use pragma solidity 0.8.23;

Updates

Lead Judging Commences

m3dython Lead Judge 2 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Floating Pragma

Floating pragma usage could lead to compilation inconsistencies

Floating Pragma

Floating pragma usage could lead to compilation inconsistencies

Support

FAQs

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