From 7b76a1e00fe2da5eb8cabd7d4e00bd9b9dfe6774 Mon Sep 17 00:00:00 2001 From: Arsenii Kulikov Date: Tue, 22 Jul 2025 11:47:27 +0300 Subject: [PATCH] chore: relax EthereumEthApiBuilder bound (#17546) --- crates/ethereum/node/src/node.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/ethereum/node/src/node.rs b/crates/ethereum/node/src/node.rs index f74db2fdc9..ccaf9e209a 100644 --- a/crates/ethereum/node/src/node.rs +++ b/crates/ethereum/node/src/node.rs @@ -5,6 +5,7 @@ use crate::{EthEngineTypes, EthEvmConfig}; use alloy_eips::{eip7840::BlobParams, merge::EPOCH_SLOTS}; use alloy_network::Ethereum; use alloy_rpc_types_engine::ExecutionData; +use alloy_rpc_types_eth::TransactionRequest; use reth_chainspec::{ChainSpec, EthChainSpec, EthereumHardforks, Hardforks}; use reth_engine_local::LocalPayloadAttributesBuilder; use reth_engine_primitives::EngineTypes; @@ -41,7 +42,7 @@ use reth_rpc::{ }; use reth_rpc_api::servers::BlockSubmissionValidationApiServer; use reth_rpc_builder::{config::RethRpcServerConfig, middleware::RethRpcMiddleware}; -use reth_rpc_eth_api::{helpers::pending_block::BuildPendingEnv, RpcConvert}; +use reth_rpc_eth_api::{helpers::pending_block::BuildPendingEnv, RpcConvert, SignableTxRequest}; use reth_rpc_eth_types::{error::FromEvmError, EthApiError}; use reth_rpc_server_types::RethRpcModule; use reth_tracing::tracing::{debug, info}; @@ -141,7 +142,7 @@ pub struct EthereumEthApiBuilder; impl EthApiBuilder for EthereumEthApiBuilder where N: FullNodeComponents< - Types: NodeTypes, + Types: NodeTypes, Evm: ConfigureEvm>>, >, EthRpcConverterFor: RpcConvert< @@ -150,6 +151,7 @@ where Error = EthApiError, Network = Ethereum, >, + TransactionRequest: SignableTxRequest>, EthApiError: FromEvmError, { type EthApi = EthApiFor;