From d0755a687e8297f0aaab43a450b26917ad258cd3 Mon Sep 17 00:00:00 2001 From: shahafn Date: Wed, 8 Jan 2025 18:58:11 +0200 Subject: [PATCH] Fixing uncaught error --- eth/tracers/native/erc7562.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eth/tracers/native/erc7562.go b/eth/tracers/native/erc7562.go index 845ec544e3..cd1a48975f 100644 --- a/eth/tracers/native/erc7562.go +++ b/eth/tracers/native/erc7562.go @@ -327,6 +327,9 @@ func (t *erc7562Tracer) GetResult() (json.RawMessage, error) { } callFrameJSON, err := json.Marshal(t.callstackWithOpcodes[0]) + if err != nil { + return nil, err + } // Unmarshal the generated JSON into a map var resultMap map[string]interface{}