This PR improves the output of the markdown logger a bit.
Remove RStack field,
Move Stack last, since it may have very large vertical expansion
Make the pre- and post-exec metadata structured into a bullet-list
using the command go run ./cmd/evm/ --json --code 604019 run, with a hack to enable the markdown-output, here is the before (current master) and after (this PR).
Before
From: 0x000000000000000000000000000073656E646572
To: 0x0000000000000000000000007265636569766572
Data: ` Gas:10000000000 Value0` wei
This PR improves the output of the markdown logger a bit.
RStack
field,Stack
last, since it may have very large vertical expansionMake the pre- and post-exec metadata structured into a bullet-list
using the command
go run ./cmd/evm/ --json --code 604019 run
, with a hack to enable the markdown-output, here is the before (current master) and after (this PR).Before
From:
0x000000000000000000000000000073656E646572
To:0x0000000000000000000000007265636569766572
Data:` Gas:
10000000000Value
0` weiOutput:`
` Consumed gas:
6Error:
After
Pre-execution info:
0x000000000000000000000000000073656E646572
0x0000000000000000000000007265636569766572
10000000000
0
weiPost-execution info:
6
<nil>