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
There is a Truffle test failing (Payable.sol). I isolated the issue, and seems like address(this).balance generates an invalid opcode. Even the following very simple example fails with Truffle:
Good catch, I was baffled at what's going on. If I change the version to petersburg the test passes. Let's keep this open, we need to upgrade to istanbul when truffle allows.
There is a Truffle test failing (
Payable.sol
). I isolated the issue, and seems likeaddress(this).balance
generates an invalid opcode. Even the following very simple example fails with Truffle:There was a change in v0.5.13 in the opcode:
So there might be some mismatch between the EVM version the compiler targets and the one we run using Truffle.
The text was updated successfully, but these errors were encountered: