Skip to content

Commit

Permalink
feat: test hekla
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed May 2, 2024
1 parent a8051b3 commit ce5e011
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions miner/taiko_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func (w *worker) commitL2Transactions(
for {
// If we don't have enough gas for any further transactions then we're done.
if env.gasPool.Gas() < params.TxGas {
log.Trace("Not enough gas for further transactions", "have", env.gasPool, "want", params.TxGas)
log.Warn("Not enough gas for further transactions", "have", env.gasPool, "want", params.TxGas)
break
}

Expand All @@ -256,7 +256,7 @@ func (w *worker) commitL2Transactions(

b, err := encodeAndComporeessTxList(append(env.txs, tx))
if err != nil {
log.Trace("Failed to rlp encode and compress the pending transaction %s: %w", tx.Hash(), err)
log.Warn("Failed to rlp encode and compress the pending transaction %s: %w", tx.Hash(), err)
txs.Pop()
continue
}
Expand All @@ -267,7 +267,7 @@ func (w *worker) commitL2Transactions(
// Check whether the tx is replay protected. If we're not in the EIP155 hf
// phase, start ignoring the sender until we do.
if tx.Protected() && !w.chainConfig.IsEIP155(env.header.Number) {
log.Trace("Ignoring reply protected transaction", "hash", tx.Hash(), "eip155", w.chainConfig.EIP155Block)
log.Warn("Ignoring reply protected transaction", "hash", tx.Hash(), "eip155", w.chainConfig.EIP155Block)

txs.Pop()
continue
Expand All @@ -290,7 +290,7 @@ func (w *worker) commitL2Transactions(
default:
// Transaction is regarded as invalid, drop all consecutive transactions from
// the same sender because of `nonce-too-high` clause.
log.Info("Transaction failed, account skipped", "hash", ltx.Hash, "err", err)
log.Warn("Transaction failed, account skipped", "hash", ltx.Hash, "err", err)
txs.Pop()
}
}
Expand Down

0 comments on commit ce5e011

Please sign in to comment.