Skip to content

Commit

Permalink
eth/tracers: trace system tx should add intrinsicGas
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx committed Sep 7, 2023
1 parent 9f14ab7 commit c611ed1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion eth/tracers/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,6 @@ func (api *API) traceTx(ctx context.Context, message core.Message, txctx *Contex
statedb.AddBalance(vmctx.Coinbase, balance)
}
intrinsicGas, _ = core.IntrinsicGas(message.Data(), message.AccessList(), false, true, true)
log.Info(fmt.Sprintf("result.UsedGas = %d", intrinsicGas))
}

// Call Prepare to clear out the statedb access list
Expand Down

0 comments on commit c611ed1

Please sign in to comment.