fix: ensure we're skipping invalid tx kinds (#10095)

This commit is contained in:
Matthias Seitz
2024-08-05 20:30:38 +02:00
committed by GitHub
parent c3b334bca9
commit b9ff65511d

View File

@ -419,7 +419,8 @@ where
// A sequencer's block should never contain blob or deposit transactions from the pool. // A sequencer's block should never contain blob or deposit transactions from the pool.
if pool_tx.is_eip4844() || pool_tx.tx_type() == TxType::Deposit as u8 { if pool_tx.is_eip4844() || pool_tx.tx_type() == TxType::Deposit as u8 {
best_txs.mark_invalid(&pool_tx) best_txs.mark_invalid(&pool_tx);
continue
} }
// check if the job was cancelled, if so we can exit early // check if the job was cancelled, if so we can exit early