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:
maskpp 2024-06-19 21:59:30 +08:00 committed by GitHub
parent 451a668d79
commit 30a615b4c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -183,6 +183,11 @@ func (w *worker) sealBlockWith(
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)
if err != nil {
log.Debug("Skip an invalid proposed transaction", "hash", tx.Hash(), "reason", err)