Skip to content
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 with --json output spits out non-jsonl line #8924

Closed
namiloh opened this issue Dec 7, 2023 · 2 comments
Closed

evm with --json output spits out non-jsonl line #8924

namiloh opened this issue Dec 7, 2023 · 2 comments

Comments

@namiloh
Copy link

namiloh commented Dec 7, 2023

Commit f3822b1

Pretty similar to #7620, but much more irritating, since it happens very often.

[DBUG] [12-07|09:29:56.117] [db] open                                lable=inMem sizeLimit=2TB pageSize=4096

Example

$ ./eri_vm --json statetest /tmp/00000012-mixed-0.json
DBUG[12-07|09:33:09.050] [db] open                                lable=inMem sizeLimit=2TB pageSize=4096
DBUG[12-07|09:33:09.096] [db] open                                lable=inMem sizeLimit=2GB pageSize=4096
{"pc":0,"op":108,"gas":"0xf3cf98","gasCost":"0x3","memory":"0x","memSize":0,"stack":[],"returnStack":null,"returnData":"0x","depth":1,"refund":0,"opName":"PUSH13","error":""}
{"pc":14,"op":81,"gas":"0xf3cf95","gasCost":"0x3","memory":"0x","memSize":0,"stack":["0x1000000000000000000000000"],"returnStack":null,"returnData":"0x","depth":1,"refund":0,"opName":"MLOAD","error":"gas uint64 overflow"}
{"output":"","gasUsed":"0xf3cf98","error":"gas uint64 overflow"}
{"stateRoot": "0x965f3a5dc393c5eb867b36edf866fa95e2e066da2205769377cad18308f41aea"}
[
  {
    "name": "00000012-mixed-0",
    "pass": false,
    "stateRoot": "0x965f3a5dc393c5eb867b36edf866fa95e2e066da2205769377cad18308f41aea",
    "fork": "Cancun",
    "error": "post state root mismatch: got 965f3a5dc393c5eb867b36edf866fa95e2e066da2205769377cad18308f41aea, want 0000000000000000000000000000000000000000000000000000000000000000"
  }
]
@AskAlexSharov
Copy link
Collaborator

thank. here is the fix: #8925

@yperbasis
Copy link
Member

Please re-open this issue if it still happens with v2.59.2 or later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants