You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When handling overflow in mload, keccak256, the Optimizer can enable the code to run normally. However, when dealing with mstore, and extcodecopy opcodes, the Optimizer fails to prevent code execution rollback.
Environment
Compiler version: 0.8.25
Target EVM version (as per compiler settings): No restrictions
Description
When handling overflow in mload, keccak256, the Optimizer can enable the code to run normally. However, when dealing with mstore, and extcodecopy opcodes, the Optimizer fails to prevent code execution rollback.
Environment
Steps to Reproduce
Compile with different compilation conditions.
mload
keccak256
mstore
extcodecopy
mstore
From the above, we can see that the Optimizer's optimization effectiveness varies for different opcodes.
The text was updated successfully, but these errors were encountered: