Solidity 0.8.20, by default, targets the Shanghai version of the EVM, which includes the new PUSH0
opcode.
However, this opcode may not yet be implemented on all Layer-2 chains.
For instance Arbitrum does not yet support PUSH0
. See Documentation for more information.
As such, deploying contracts compiled with Solidity 0.8.20 on these chains could lead to failures.
| Line #2 |
| Line #2 |
| Line #2 |
| Line #2 |
| Line #2 |
| Line #2 |
| Line #2 |
| Line #2 |
| Line #2 |
| Line #2 |
| Line #2 |
| Line #2 |
| Line #2 |
| Line #2 |
To avoid this, consider specifying an older EVM version as the target, or ensure that the Layer-2 chain used supports the Shanghai EVM.
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.