erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.09k stars 1.08k forks source link

Non-json output from `evm` tool #7508

Closed holiman closed 1 year ago

holiman commented 1 year ago

The evm binary should output only jsonlines output, but recently started outputting info baout [db] params:

Example:

$ /home/martin/workspace/erigon-evm --json --noreturndata --nomemory statetest /tmp/00000000-mixed-0.json
INFO[05-13|22:46:26.241] [db] params: growStep=1MB, mapsSize=2TB, shrinkThreshold=-1, pageSize=4KB, label=chaindata, WriteMap=false, Durable=false, NoReadahead=true,  
{"pc":0,"op":127,"gas":"0xf3d108","gasCost":"0x3","memory":"0x","memSize":0,"stack":[],"returnStack":null,"returnData":"0x","depth":1,"refund":0,"opName":"PUSH32","error":""}
{"pc":33,"op":108,"gas":"0xf3d105","gasCost":"0x3","memory":"0x","memSize":0,"stack":["0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"],"returnStack":null,"returnData":"0x","depth":1,"refund":0,"opName":"PUSH13","error":""}
AskAlexSharov commented 1 year ago

removed in devel