Skip to content

Commit

Permalink
feat(taiko_worker): skip blob transactions (ethereum#280)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
mask-pp and davidtaikocha authored Jun 19, 2024
1 parent 451a668 commit 30a615b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions miner/taiko_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 30a615b

Please sign in to comment.