diff --git a/eth/tracers/api_blocktrace.go b/eth/tracers/api_blocktrace.go index 2ea45694961d..47bf7ea971c4 100644 --- a/eth/tracers/api_blocktrace.go +++ b/eth/tracers/api_blocktrace.go @@ -367,6 +367,9 @@ func (api *API) getTxResult(env *traceEnv, state *state.StateDB, index int, bloc env.sMu.Lock() m[keyStr] = wrappedProof if zktrieTracer.Available() { + if isDelete { + zktrieTracer.MarkDeletion(key) + } env.zkTrieTracer[addrStr].Merge(zktrieTracer) } env.sMu.Unlock()