From a735b80af6e648c0e6f7815995e5cf0a7e3fedcd Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Mon, 11 May 2026 13:50:46 -0400 Subject: [PATCH] remove unused code --- eth/tracers/api.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/eth/tracers/api.go b/eth/tracers/api.go index 9d51c5b8cf..d9e40f7ec1 100644 --- a/eth/tracers/api.go +++ b/eth/tracers/api.go @@ -520,7 +520,6 @@ func (api *API) IntermediateRoots(ctx context.Context, hash common.Hash, config vmctx = core.NewEVMBlockContext(block.Header(), api.chainContext(ctx), nil) deleteEmptyObjects = chainConfig.IsEIP158(block.Number()) evm = vm.NewEVM(vmctx, statedb, chainConfig, vm.Config{}) - logs []*types.Log ) defer evm.Release() // Run pre-execution system calls @@ -545,7 +544,6 @@ func (api *API) IntermediateRoots(ctx context.Context, hash common.Hash, config // Calling IntermediateRoot will internally call Finalize on the state // so any modifications are written to the trie roots = append(roots, statedb.IntermediateRoot(deleteEmptyObjects)) - logs = append(logs, statedb.GetLogs(tx.Hash(), block.NumberU64(), block.Hash(), block.Time())...) } return roots, nil }