Open hats-bug-reporter[bot] opened 1 year ago
Github username: @https://github.com/maarcweiss Submission hash (on-chain): 0x5977d80151c25b70d73ea26c293f6ce1acfeeba5628bced2cd3baf3c3e0f11f6 Severity: low
Description: Description\ DappnodeSmoothingPool has the version pragma fixed to be compiled using Solidity 0.8.21. https://github.com/dappnode/mev-sp-contracts/blob/3929e24ea288d697d38948b8690c8c2028e5042b/contracts/DappnodeSmoothingPool.sol#L2
This new version of the compiler uses the new PUSH0 opcode introduced in the Shanghai hard fork, which is now the default EVM version in the compiler and the one currently used to compile the project.
Recommendation\ Change the Solidity compiler version to 0.8.19 or define an evm version, which is compatible across all of the intended chains to be supported by the protocol (see https://book.getfoundry.sh/reference/config/solidity-compiler?highlight=evm_vers#evm_version).
This contract is meant to be deployed on ethereum mainnet.
Github username: @https://github.com/maarcweiss Submission hash (on-chain): 0x5977d80151c25b70d73ea26c293f6ce1acfeeba5628bced2cd3baf3c3e0f11f6 Severity: low
Description: Description\ DappnodeSmoothingPool has the version pragma fixed to be compiled using Solidity 0.8.21. https://github.com/dappnode/mev-sp-contracts/blob/3929e24ea288d697d38948b8690c8c2028e5042b/contracts/DappnodeSmoothingPool.sol#L2
This new version of the compiler uses the new PUSH0 opcode introduced in the Shanghai hard fork, which is now the default EVM version in the compiler and the one currently used to compile the project.
Recommendation\ Change the Solidity compiler version to 0.8.19 or define an evm version, which is compatible across all of the intended chains to be supported by the protocol (see https://book.getfoundry.sh/reference/config/solidity-compiler?highlight=evm_vers#evm_version).