From e76713a5c394675a74c06868b0371afd490a6117 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Tue, 21 May 2024 17:25:30 +0200 Subject: [PATCH] minor comment --- eth/tracers/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/eth/tracers/api.go b/eth/tracers/api.go index ec56dfa85f..30648c4753 100644 --- a/eth/tracers/api.go +++ b/eth/tracers/api.go @@ -981,6 +981,7 @@ func (api *API) traceTx(ctx context.Context, tx *types.Transaction, message *cor return nil, err } } + // The actual TxContext will be created as part of ApplyTransactionWithEVM. vmenv := vm.NewEVM(vmctx, vm.TxContext{GasPrice: message.GasPrice, BlobFeeCap: message.BlobGasFeeCap}, statedb, api.backend.ChainConfig(), vm.Config{Tracer: tracer.Hooks, NoBaseFee: true}) statedb.SetLogger(tracer.Hooks)