From c3c282827b5c0b7a34ad96aa437c0f289ac7bfe2 Mon Sep 17 00:00:00 2001 From: Chase Wright Date: Fri, 27 Mar 2026 13:07:53 -0500 Subject: [PATCH] Update eth/tracers/logger/logger.go Co-authored-by: Sina M <1591639+s1na@users.noreply.github.com> --- eth/tracers/logger/logger.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eth/tracers/logger/logger.go b/eth/tracers/logger/logger.go index 3294baaaac..cd6e03a500 100644 --- a/eth/tracers/logger/logger.go +++ b/eth/tracers/logger/logger.go @@ -157,6 +157,9 @@ type structLogLegacy struct { } func formatMemoryWord(chunk []byte) string { + if len(chunk) == 32 { + return hexutil.Encode(chunk) + } var word [32]byte copy(word[:], chunk) return hexutil.Encode(word[:])