mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-26 23:58:46 -05:00
chore: relax trait bound for EthTransactions (#11571)
This commit is contained in:
@@ -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
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user