Skip to content

Commit

Permalink
fix for bad history
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx committed Oct 16, 2024
1 parent d808fa8 commit f72d080
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/state/exec3/historical_trace_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ func (rw *HistoricalTraceWorker) RunTxTask(txTask *state.TxTask) {
} else {
txTask.Failed = applyRes.Failed()
txTask.UsedGas = applyRes.UsedGas
log.Info("Exec one tx", "txTask.TxIndex", txTask.TxIndex, " txTask.Failed", txTask.Failed, "txTask.BlockNum", txTask.BlockNum)
// Update the state with pending changes
ibs.SoftFinalise()
txTask.Logs = ibs.GetRawLogs(txTask.TxIndex)
Expand Down

0 comments on commit f72d080

Please sign in to comment.