From ffc5899bad5f84a1772584987b2dec3ca259d78a Mon Sep 17 00:00:00 2001 From: spencer-tb Date: Sun, 5 Apr 2026 19:45:53 +0100 Subject: [PATCH] cmd/evm: always include error field in JSON output --- cmd/evm/reporter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/evm/reporter.go b/cmd/evm/reporter.go index f6249e1843..d1e327932c 100644 --- a/cmd/evm/reporter.go +++ b/cmd/evm/reporter.go @@ -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"` }