Skip to content

Commit

Permalink
Remove dependency of ethereum
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx committed Oct 15, 2024
1 parent 4d53090 commit 62c2583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/state/exec3/historical_trace_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func (rw *HistoricalTraceWorker) RunTxTask(txTask *state.TxTask) {
if rw.vmConfig.TraceJumpDest {
txContext.TxHash = txTask.Tx.Hash()
}
rw.evm.ResetBetweenBlocks(txTask.EvmBlockContext, core.NewEVMTxContext(msg), ibs, *rw.vmConfig, rules)
rw.evm.ResetBetweenBlocks(txTask.EvmBlockContext, txContext, ibs, *rw.vmConfig, rules)
// Increment the nonce for the next transaction
ibs.SetNonce(msg.From(), ibs.GetNonce(msg.From())+1)
ret, leftOverGas, err := rw.evm.Call(
Expand Down

0 comments on commit 62c2583

Please sign in to comment.