From f579767c4fd6f71d30156970115e2fb62a18e070 Mon Sep 17 00:00:00 2001 From: Valentin Staykov <79150443+V-Staykov@users.noreply.github.com> Date: Thu, 8 Aug 2024 17:39:33 +0300 Subject: [PATCH] print memory field even if empty (#942) --- eth/tracers/logger/json_stream_zkevm.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/eth/tracers/logger/json_stream_zkevm.go b/eth/tracers/logger/json_stream_zkevm.go index b9e0f7ff512..d3ddf441f3b 100644 --- a/eth/tracers/logger/json_stream_zkevm.go +++ b/eth/tracers/logger/json_stream_zkevm.go @@ -220,9 +220,6 @@ func (l *JsonStreamLogger_ZkEvm) writeMemory(memory *vm.Memory) { } } - if len(filteredByteLines) == 0 { - return - } l.stream.WriteMore() l.stream.WriteObjectField("memory") l.stream.WriteArrayStart()