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

Incompatible `Solidity Version` for `Arbitrum One` Deployment

Summary

The contracts of the project specifies pragma solidity 0.8.22, which may not be compatible with the Arbitrum One network, the intended deployment environment. This version mismatch can lead to deployment issues and unexpected behavior.

Vulnerability Details

The contracts currently uses Solidity version 0.8.22, and the pragma statement is as follows:

pragma solidity 0.8.22;

However, certain blockchain networks, such as Arbitrum One, have specific requirements or supported Solidity versions. Using an incompatible Solidity version can result in deployment failures or unexpected behavior on the target network.

Proof of concept

In the arbitrum one documentation we can find references to the versions supported by this network: https://docs.arbitrum.io/for-devs/concepts/differences-between-arbitrum-ethereum/solidity-support

Impact

This issue has great impact, since it would prevent the deployment of contracts within the desired network for the project.

Tools Used

Manual review

Recommendations

It is strongly recommended to use network-compatible versions of solidity

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Incompatible Pragma Version on Arbi

Information on compatibility here: https://docs.arbitrum.io/for-devs/concepts/differences-between-arbitrum-ethereum/solidity-support Impact - failed deployment - Protocol would need to adjust their pragma versions to be compatible and redeploy

Support

FAQs

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