cmd/evm: always include error field in JSON output

This commit is contained in:
spencer-tb 2026-04-05 19:45:53 +01:00
parent 1063416707
commit ffc5899bad

View file

@ -37,7 +37,7 @@ type testResult struct {
Pass bool `json:"pass"`
Root *common.Hash `json:"stateRoot,omitempty"`
Fork string `json:"fork"`
Error string `json:"error,omitempty"`
Error string `json:"error"`
State *state.Dump `json:"state,omitempty"`
Stats *execStats `json:"benchStats,omitempty"`
}