mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-12 15:03:45 +00:00
feat(taiko_worker): skip blob transactions (#280)
* ignore blob tx * close blob pool * temporarily change docker script * add log * revert change * change to use debug log * Update miner/taiko_worker.go --------- Co-authored-by: David <david@taiko.xyz>
This commit is contained in:
parent
451a668d79
commit
30a615b4c3
1 changed files with 5 additions and 0 deletions
|
|
@ -183,6 +183,11 @@ func (w *worker) sealBlockWith(
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Skip blob transactions
|
||||||
|
if tx.Type() == types.BlobTxType {
|
||||||
|
log.Debug("Skip a blob transaction", "hash", tx.Hash())
|
||||||
|
continue
|
||||||
|
}
|
||||||
sender, err := types.LatestSignerForChainID(w.chainConfig.ChainID).Sender(tx)
|
sender, err := types.LatestSignerForChainID(w.chainConfig.ChainID).Sender(tx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Debug("Skip an invalid proposed transaction", "hash", tx.Hash(), "reason", err)
|
log.Debug("Skip an invalid proposed transaction", "hash", tx.Hash(), "reason", err)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue