mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-01 12:38:40 +00:00
cmd/evm: always include error field in JSON output
This commit is contained in:
parent
1063416707
commit
ffc5899bad
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ type testResult struct {
|
||||||
Pass bool `json:"pass"`
|
Pass bool `json:"pass"`
|
||||||
Root *common.Hash `json:"stateRoot,omitempty"`
|
Root *common.Hash `json:"stateRoot,omitempty"`
|
||||||
Fork string `json:"fork"`
|
Fork string `json:"fork"`
|
||||||
Error string `json:"error,omitempty"`
|
Error string `json:"error"`
|
||||||
State *state.Dump `json:"state,omitempty"`
|
State *state.Dump `json:"state,omitempty"`
|
||||||
Stats *execStats `json:"benchStats,omitempty"`
|
Stats *execStats `json:"benchStats,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue