DatingDapp

First Flight #33
Beginner FriendlyFoundrySolidityNFT
100 EXP
View results
Submission Details
Severity: low
Invalid

Floating pragma version

Summary

All three smart contracts LikeRegistry.sol, MultiSig.sol & SoulboundProfileNFT.sol doesn't have locked pragma version. This means that these contracts can be deployed with pragma version between 0.8.19 and the latest version.

Impact

Leaving the smart contracts with floating pragma can lead to smart contract deployment with outdated or problematic compiler versions, introducing bugs and compromising the security of smart contracts.

Recommendations

Use strict pragma by defining a specific version.

// SPDX-License-Identifier: MIT
pragma solidity 0.8.19; // USE STRICT VERSION INSTEAD OF ^0.8.19;
Updates

Appeal created

n0kto Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Informational or Gas

Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.

Support

FAQs

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