mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-02 09:33:46 +00:00
This PR attempts to clean up some ambiguities and quirks from recent changes to evm flag handling. This PR mainly focuses on `evm run` subcommand, to use the same flags for configuring tracing/output options as `statetest/blocktest` does. Additionally, it adds quite a lot of tests for expected outputs of the various subcommands, to avoid accidental changes. --------- Co-authored-by: Felix Lange <fjl@twurst.com>
16 lines
482 B
Text
16 lines
482 B
Text
Pre-execution info:
|
|
- from: `0x000000000000000000000000000073656E646572`
|
|
- to: `0x0000000000000000000000007265636569766572`
|
|
- data: ``
|
|
- gas: `10000000000`
|
|
- value: `0` wei
|
|
|
|
| Pc | Op | Cost | Refund | Stack |
|
|
|-------|-------------|------|-----------|-----------|
|
|
| 0 | PUSH1 | 3 | 0 | [] |
|
|
| 2 | STOP | 0 | 0 | [0x40] |
|
|
|
|
Post-execution info:
|
|
- output: ``
|
|
- consumed gas: `3`
|
|
- error: `<nil>`
|