Starting from Solidity 0.8.20, the compiler targets the Shanghai EVM, which includes the PUSH0
opcode. Not all blockchain networks, particularly some Layer 2 solutions, support this opcode.
Pragma Statement (Line 2):
Deployment Failures on Some Networks:
Attempting to deploy the contract on networks that do not support the Shanghai upgrade will result in deployment failures.
Limited Network Compatibility:
This restricts the contract's usability to only those networks that have implemented the latest EVM updates.
Specify Compatible EVM Version:
Set the compiler to target an EVM version compatible with the intended deployment networks.
In your compiler settings:
Use an Earlier Solidity Version if Necessary:
If deploying to networks without Shanghai support, consider using Solidity 0.8.19 or earlier.
Verify Network Support:
Before deployment, confirm that the target network supports the required EVM version and opcodes.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.