diff --git a/crates/transaction-pool/src/validate/eth.rs b/crates/transaction-pool/src/validate/eth.rs index a464b9ec98..8dd22adc07 100644 --- a/crates/transaction-pool/src/validate/eth.rs +++ b/crates/transaction-pool/src/validate/eth.rs @@ -1083,6 +1083,17 @@ impl EthTransactionValidatorBuilder { self } + /// Disables the support for EIP-7702 transactions. + pub const fn no_eip7702(self) -> Self { + self.set_eip7702(false) + } + + /// Set the support for EIP-7702 transactions. + pub const fn set_eip7702(mut self, eip7702: bool) -> Self { + self.eip7702 = eip7702; + self + } + /// Disables EIP-7594 blob sidecar support. /// /// When disabled, EIP-7594 (v1) blob sidecars are always rejected and EIP-4844 (v0)