forked from ethereum/solidity
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this.balance in Truffle #122
Labels
bug
Something isn't working
Comments
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: