From 286ffe2cbfd6e1b234c9ab3976b4daa60c8a24ce Mon Sep 17 00:00:00 2001 From: David Date: Sat, 4 May 2024 21:55:01 +0800 Subject: [PATCH] feat(miner): change invalid transaction log level to `DEBUG` (#224) --- miner/taiko_worker.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miner/taiko_worker.go b/miner/taiko_worker.go index 93874e4030d4..393f1c1d90b2 100644 --- a/miner/taiko_worker.go +++ b/miner/taiko_worker.go @@ -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++