MyCut

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

Solidity pragma version is open to future version that might break the contract

Summary

The solidity version pragma solidity ^0.8.20 will be acceptable for future updates. This leaves room for future feature and bugs to be introduced in the contract that might cause vulnerabilities. Please see https://consensys.github.io/smart-contract-best-practices/development-recommendations/solidity-specific/locking-pragmas/

Vulnerability Details

A newer version of solidity might introduce a bug that makes this contract exploitable.

Impact

Tools Used

Recommendations

Lock the pragma version to the one you are testing on:
pragma solidity 0.8.20;

Updates

Lead Judging Commences

equious Lead Judge about 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.