DeFiFoundry
50,000 USDC
View results
Submission Details
Severity: low
Invalid

Redundant 'pragma abicoder v2' Declaration in Solidity 0.8.0+ Versions

Summary

In Solidity versions 0.8.0 and above, the ABI encoder V2 (abicoder v2) is enabled by default. As a result, there is no need to explicitly declare pragma abicoder v2; within the contract. The presence of this declaration in the PerpetualVault contract represents redundant code. It is recommended to remove it to enhance code simplicity.

Vulnerability Details

N/A

Impact

N/A

Tools Used

Manual

Recommendations

Redundant 'pragma abicoder v2' Declaration in Solidity 0.8.0+ Versions

Updates

Lead Judging Commences

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