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

Use of floating pragma

Summary

The AssetToken contract implementation adopts a non-fixed pragma directive.

Vulnerability Details

The practice of using non-fixed pragmas may lead to compromised or malfunctioning contracts.

Impact

The adoption of non-fixed pragmas opens the door to potential inconsistencies and security weaknesses stemming from variations across Solidity compiler releases. There is a tangible risk that these contracts could be deployed using a superseded compiler iteration, or across diverse blockchain environments, potentially embedding flaws that undermine contract integrity.

Tools Used

Manual Review

Recommendations

It is advisable to anchor the Solidity pragma to the specific compiler version verified during contract testing.

Updates

Lead Judging Commences

0xnevi Lead Judge
over 1 year ago
0xnevi 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.