From 30a615b4c3aafd0d395309035d58b86ff53c8eb0 Mon Sep 17 00:00:00 2001 From: maskpp Date: Wed, 19 Jun 2024 21:59:30 +0800 Subject: [PATCH] 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 --- miner/taiko_worker.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/miner/taiko_worker.go b/miner/taiko_worker.go index 872fb49ba8ad..01b2cded9dfe 100644 --- a/miner/taiko_worker.go +++ b/miner/taiko_worker.go @@ -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)