Skip to content

Commit

Permalink
chore: relax trait bound for EthTransactions (#11571)
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg authored Oct 8, 2024
1 parent 4163835 commit cb431f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/rpc/rpc-eth-api/src/helpers/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ use reth_transaction_pool::{PoolTransaction, TransactionOrigin, TransactionPool}
use crate::{FromEthApiError, FullEthApiTypes, IntoEthApiError, RpcReceipt, RpcTransaction};

use super::{
Call, EthApiSpec, EthSigner, LoadBlock, LoadFee, LoadPendingBlock, LoadReceipt, LoadState,
SpawnBlocking,
Call, EthApiSpec, EthSigner, LoadBlock, LoadPendingBlock, LoadReceipt, LoadState, SpawnBlocking,
};

/// Transaction related functions for the [`EthApiServer`](crate::EthApiServer) trait in
Expand Down Expand Up @@ -344,7 +343,7 @@ pub trait EthTransactions: LoadTransaction {
mut request: TransactionRequest,
) -> impl Future<Output = Result<B256, Self::Error>> + Send
where
Self: EthApiSpec + LoadBlock + LoadPendingBlock + LoadFee + Call,
Self: EthApiSpec + LoadBlock + LoadPendingBlock + Call,
{
async move {
let from = match request.from {
Expand Down

0 comments on commit cb431f1

Please sign in to comment.