From 86d57413acf6e56176aa9b6c8d90139234ad294d Mon Sep 17 00:00:00 2001 From: kbhat1 Date: Thu, 4 Apr 2024 09:56:24 -0400 Subject: [PATCH] Add from in log --- eth/tracers/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/tracers/api.go b/eth/tracers/api.go index 6b499d5ce6..ab4c20ff56 100644 --- a/eth/tracers/api.go +++ b/eth/tracers/api.go @@ -608,9 +608,9 @@ func (api *API) traceBlock(ctx context.Context, block *types.Block, config *Trac fmt.Printf("DEBUG - traceBlock - block %+v\n", block) fmt.Printf("DEBUG - traceBlock - txs %+v\n", txs) for i, tx := range txs { - fmt.Printf("DEBUG - traceBlock inner - tx %+v\n", tx.Hash()) // Generate the next state snapshot fast without tracing msg, _ := core.TransactionToMessage(tx, signer, block.BaseFee()) + fmt.Printf("DEBUG - traceBlock inner - From %+v tx %+v\n", msg.From, tx.Hash()) txctx := &Context{ BlockHash: blockHash, BlockNumber: block.Number(),