Skip to content

Commit

Permalink
feat(miner): change invalid transaction log level to DEBUG (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored May 4, 2024
1 parent 7e1b8b6 commit 286ffe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miner/taiko_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,14 @@ func (w *worker) sealBlockWith(
}
sender, err := types.LatestSignerForChainID(tx.ChainId()).Sender(tx)
if err != nil {
log.Info("Skip an invalid proposed transaction", "hash", tx.Hash(), "reason", err)
log.Debug("Skip an invalid proposed transaction", "hash", tx.Hash(), "reason", err)
continue
}

env.state.Prepare(rules, sender, blkMeta.Beneficiary, tx.To(), vm.ActivePrecompiles(rules), tx.AccessList())
env.state.SetTxContext(tx.Hash(), env.tcount)
if _, err := w.commitTransaction(env, tx); err != nil {
log.Info("Skip an invalid proposed transaction", "hash", tx.Hash(), "reason", err)
log.Debug("Skip an invalid proposed transaction", "hash", tx.Hash(), "reason", err)
continue
}
env.tcount++
Expand Down

0 comments on commit 286ffe2

Please sign in to comment.