diff --git a/crates/transaction-pool/src/validate/eth.rs b/crates/transaction-pool/src/validate/eth.rs index f30b24c59b..9d35153cc1 100644 --- a/crates/transaction-pool/src/validate/eth.rs +++ b/crates/transaction-pool/src/validate/eth.rs @@ -31,10 +31,7 @@ use reth_revm::optimism::RethL1BlockInfo; /// Validator for Ethereum transactions. #[derive(Debug, Clone)] -pub struct EthTransactionValidator -where - Client: BlockReaderIdExt, -{ +pub struct EthTransactionValidator { /// The type that performs the actual validation. inner: Arc>, } @@ -98,10 +95,7 @@ where /// A [TransactionValidator] implementation that validates ethereum transaction. #[derive(Debug)] -pub(crate) struct EthTransactionValidatorInner -where - Client: BlockReaderIdExt, -{ +pub(crate) struct EthTransactionValidatorInner { /// Spec of the chain chain_spec: Arc, /// This type fetches account info from the db @@ -130,10 +124,7 @@ where // === impl EthTransactionValidatorInner === -impl EthTransactionValidatorInner -where - Client: BlockReaderIdExt, -{ +impl EthTransactionValidatorInner { /// Returns the configured chain id pub(crate) fn chain_id(&self) -> u64 { self.chain_spec.chain().id() @@ -605,7 +596,6 @@ impl EthTransactionValidatorBuilder { blob_store: S, ) -> EthTransactionValidator where - Client: BlockReaderIdExt, S: BlobStore, { let Self { @@ -656,7 +646,6 @@ impl EthTransactionValidatorBuilder { blob_store: S, ) -> TransactionValidationTaskExecutor> where - Client: BlockReaderIdExt, T: TaskSpawner, S: BlobStore, {