GivingThanks

First Flight #28
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Solidity pragma should be specific, not wide

Summary

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

Vulnerability Details

Found in src/CharityRegistry.sol & src/GivingThanks.sol

pragma solidity ^0.8.0;

They use a floating version of the pragma.

Impact

The solidity compiler version may not be the latest and thus may not have the latest security patches. This could lead to vulnerabilities in the contract.

Tools Used

aderyn

Recommendations

Use the latest pragma version that allows any of these versions.

Updates

Lead Judging Commences

n0kto Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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