Solc compiler version 0.8.20 switches the default target EVM version to Shanghai, which means that the generated bytecode will include PUSH0 opcodes. Be sure to select the appropriate EVM version in case you intend to deploy on a chain other than mainnet like L2 chains that may not support PUSH0, otherwise deployment of your contracts will fail.
Code Snippet
Found in src/interfaces/ITokenEscrow.sol Line: 2
c/interfaces/ITokenE
pragma solidity ^0.8.22;
Found in src/interfaces/lssvm2/CurveErrorCodes.sol Line: 2
Happy Green Chimpanzee
Low/Info
PUSH0 is not supported by all chains
Vulnerability Detail
Solc compiler version 0.8.20 switches the default target EVM version to Shanghai, which means that the generated bytecode will include PUSH0 opcodes. Be sure to select the appropriate EVM version in case you intend to deploy on a chain other than mainnet like L2 chains that may not support PUSH0, otherwise deployment of your contracts will fail.
Code Snippet
Found in src/interfaces/ITokenEscrow.sol Line: 2 c/interfaces/ITokenE
Found in src/interfaces/lssvm2/CurveErrorCodes.sol Line: 2
Tool used
Manual Review, VS Code