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

Not all EVM compatible chains supports Solidity pragma 0.8.20

Summary

The contracts are using Solidity version 0.8.20 with its default Shanghai EVM version. The Shanghai fork introduced the
PUSH0 opcode and was only supported on certain chains

Impact

The contracts use solidity version 0.8.20, which can generate PUSH0 opcode. This opcode is not supported in all chains, and can cause the contracts to fail on deployment.

Tools Used

Manual review

Recommendations

Consider changing the EVM version from Shanghai to a widely supported version.

Updates

Lead Judging Commences

bube Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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