From e4b2b1edf34aefa9c72ece823e45915cdfd68d00 Mon Sep 17 00:00:00 2001 From: Huber Date: Sat, 7 Feb 2026 21:12:23 +0200 Subject: [PATCH] feat(txpool): add missing no_eip7702/set_eip7702 builder methods (#21926) --- crates/transaction-pool/src/validate/eth.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) 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)