diff --git a/crates/transaction-pool/src/validate/eth.rs b/crates/transaction-pool/src/validate/eth.rs index 9e657ba1ed..fa9c32e329 100644 --- a/crates/transaction-pool/src/validate/eth.rs +++ b/crates/transaction-pool/src/validate/eth.rs @@ -992,7 +992,8 @@ impl EthTransactionValidatorBuilder { /// Configures validation rules based on the head block's timestamp. /// - /// For example, whether the Shanghai and Cancun hardfork is activated at launch. + /// For example, whether the Shanghai and Cancun hardfork is activated at launch, or max blob + /// counts. pub fn with_head_timestamp(mut self, timestamp: u64) -> Self where Client: ChainSpecProvider, @@ -1067,15 +1068,10 @@ impl EthTransactionValidatorBuilder { max_tx_input_bytes, max_tx_gas_limit, disable_balance_check, - .. + max_blob_count, + additional_tasks: _, } = self; - let max_blob_count = if prague { - BlobParams::prague().max_blobs_per_tx - } else { - BlobParams::cancun().max_blobs_per_tx - }; - let fork_tracker = ForkTracker { shanghai: AtomicBool::new(shanghai), cancun: AtomicBool::new(cancun),