From d61d8d0b3d1c21540c2a90be8911193e22ab43b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20M=C3=B6ller?= Date: Mon, 7 Oct 2024 14:40:26 +0200 Subject: [PATCH] Update comment --- packages/evm/jsonrpc/tracer_call.go | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/evm/jsonrpc/tracer_call.go b/packages/evm/jsonrpc/tracer_call.go index fc8b55ba37..ea4cc260fe 100644 --- a/packages/evm/jsonrpc/tracer_call.go +++ b/packages/evm/jsonrpc/tracer_call.go @@ -53,6 +53,7 @@ type CallFrame struct { /* MarshalJSON / UnMarshalJSON functions are only there to return/take `Type` as a string (like `call`). Otherwise, it would simply return a number. +It returns the type in lowercase as it was before. But EVM internal functions require uppercase, so it's converted to that in UnMarshal. */ func (f CallFrame) MarshalJSON() ([]byte, error) { type Alias CallFrame