Open xermicus opened 1 day ago
FYI the older versions not in the PPA, there are no evm
binaries provided and there is no 1.14.11
release branch. So anyone hitting a bug in the latest release is supposed to manually bisect the codebase to find a working commit and install it on their own? This can't be it, or how would anyone get an older release installed?
--codefile -
- this part seems wrong? If I put the name of the code file, the benchmark runs fine on my machine.
However, if I omit the name of the code file (and just put a -
as you did), the execution spins forever for me....
The evm
cmd help says:
--codefile value
File containing EVM code. If '-' is specified, code is read from stdin
Ah, I was referencing the wrong evm binary. Yes, I can reproduce the crash locally.
However, if I omit the name of the code file (and just put a
-
as you did), the execution spins forever for me....
evm run --bench --nomemory=false --noreturndata=false - --prestate /tmp/genesis.json --sender 0000000000000000000000000000000000000000 --input cde4efa9 open -: no such file or directory
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, I was referencing the wrong evm binary. Yes, I can reproduce the crash locally.
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.