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

Solidity pragma should be specific, not wide

Summary

Solidity pragma should be specific, not wide

Vulnerability Details

Consider using a specific version of Solidity in your contracts instead of a wide version.To avoid unnecessary behavior

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import {Streets} from "./Streets.sol";

Impact

To avoid unnecessary behavior

Tools Used

manual audit

Recommendations

Instead of pragma solidity ^0.8.0;, use pragma solidity 0.8.0;

Updates

Lead Judging Commences

inallhonesty 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.