Open relyt29 opened 5 years ago
cc @njgheorghita I think this indicates that there is more to do in the eth-tester update.
Still hard pinned to the Byzantium VM.
@pipermerriam Fix is here - was able to get the test passing in the above script by updating the default vm rules to Constantinople. Will merge / cut release if it looks 👍 - we'll also need to cut new web3 releases (v4 & v5) so the fix is available via pip install web3[tester]
Thanks for writing this up @relyt29 ! It really helps get things moving.
pip freeze
):What is wrong?
Here are two separate compiles of a contract from solidity. One was compiled with solc version 0.5.7+commit.6da8b019.Emscripten.clang and another with solc version 0.5.3+commit.10d17f24.Emscripten.clang - both were made with the compiler on remix.ethereum.org. One works just fine, the other has an opcode which causes an exception in pyevm.
First the solidity source:
And now the python used to run it:
And finally, the error that you get: