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

[L-1] Floating Pragma could lead to unintended behavior

Summary

Floating Pragma can lead to unexpected behavior which can be quite risky when new compiler version introduces.

Vulnerability Details

Floating Pragma found in VotingBooth.sol at line number 2 as pragma solidity ^0.8.23 can be risky when new compiler version introduces.

Impact

Floating Pragma in VotingBooth.sol can lead to unexpected behavior if future compiler versions introduce breaking changes which can impact security, functionality, and gas costs.

Tools Used

Manual Review

Recommendations

Replace the floating pragma with a specific version within the compatible range (0.8.23 in this case) to minimize risk and future upgrade burdens.

Updates

Lead Judging Commences

0xnevi Lead Judge
over 1 year ago
0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

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