Snowman Merkle Airdrop

First Flight #42
Beginner FriendlyFoundrySolidityNFT
100 EXP
View results
Submission Details
Impact: low
Likelihood: low
Invalid

[L-1] Non-specific version of solc can lead to unexpected compiler behaviour

[L-1] Non-specific version of solc can lead to unexpected compiler behaviour

Description

  • Solidity updates and patch versions may introcude new changes in compiler behaviour, optimizations that may introduce bugs in the contract due to unexpected compiler behaviour

// SPDX-License-Identifier: SEE LICENSE IN LICENSE
@> pragma solidity ^0.8.24;

Risk

Likelihood:

  • Whenever the contracts are compiled with newer versions of compiler

Impact:

  • Unexpected behaviour

Recommended Mitigation

// SPDX-License-Identifier: SEE LICENSE IN LICENSE
-pragma solidity ^0.8.24;
+pragma solidity 0.8.24;
Updates

Lead Judging Commences

yeahchibyke Lead Judge 5 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.