Shanghai hardfork not supported, invalid opcodes in solidity 0.8.20+ generated code #2268
Closed
reachjason
started this conversation in
Feature requests (Needs)
Replies: 2 comments
-
More like a feature request. Reference: https://ethereum.stackexchange.com/questions/150281/invalid-opcode-opcode-0x5f-not-defined |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @reachjason, For now please resort to setting the EVM version explicitly: https://docs.soliditylang.org/en/v0.8.20/using-the-compiler.html#setting-the-evm-version-to-target |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Expected Behavior
The smart contract deploys successfully
Actual Behavior
i get the following error : "invalid opcode: opcode 0x5f not defined"
Steps to reproduce the behavior
Try deploying a contract using remix and latest solidity versions.
Beta Was this translation helpful? Give feedback.
All reactions