-
Notifications
You must be signed in to change notification settings - Fork 325
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
test-hevm fails but test-ethrun pass with contract calling library #34
Comments
This is still failing in hevm 0.24. Additionally, using the following simple test code:
and
All the tests will fail with VMError. For instance:
|
Thanks for the simple example. This does appear broken somehow. Can you confirm your solc version? |
Sure, I'm using:
|
Thanks. This turns out to be an error in Hevm's gas semantics for delegatecalls, and also likely an error in the yellow paper's definition of delegatecall. We'll patch it and make a new release after a bit more investigation. |
fixed by #158 |
@ggrieco-tob if there are still issues please let us know |
I will be happy to test it, but I'm having trouble to install it from source (using stack). Do you know when this new release will be added into stackage? |
Issue by alext234
Wednesday Mar 14, 2018 at 09:11 GMT
Originally opened as dapphub/dapp#82
With the following simple test code:
And
dapp test-ethrun
passes butdapp test-hevm
fails with out of gas (at the place when it calls the library)The text was updated successfully, but these errors were encountered: