-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
evm run --bench
segfaults in Fatalf
#30778
Comments
evm run --banch
segfaults in Fatalf
evm run --bEnch
segfaults in Fatalf
evm run --bEnch
segfaults in Fatalf
evm run --bench
segfaults in Fatalf
FYI the older versions not in the PPA, there are no |
|
However, if I omit the name of the code file (and just put a |
The
|
Ah, I was referencing the wrong evm binary. Yes, I can reproduce the crash locally. |
This doesn't seem right and contradicts the help. Also it used to work in the previous version :) To me it seems like a bug |
Ah right, thanks for looking into it! |
The following command:
evm run --bench --nomemory=false --noreturndata=false --codefile - --prestate /tmp/genesis.json --sender 0000000000000000000000000000000000000000 --input cde4efa9
/tmp/genesis.json
:Fixture:
6080604052348015600e575f80fd5b50600436106026575f3560e01c8063cde4efa914602a575b5f80fd5b60306032565b005b5f8054906101000a900460ff16155f806101000a81548160ff02191690831515021790555056fea264697066735822122046c92dd2fd612b1ed93d184dad4c49f61c44690722c4a6c7c746ebeb0aadeb4a64736f6c63430008190033
Results in:
The bug is introduced with this PR: https://github.com/ethereum/go-ethereum/pull/30442/files#diff-48d6c3d5b7c9c1d0bd83fa0d5ac8fe38ce3ce34aaf39f22d00e84fcf61b249b4
The lines in the stack trace do seem off too.
The text was updated successfully, but these errors were encountered: