mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm redundant trait bound (#11940)
This commit is contained in:
@ -21,8 +21,8 @@ use reth_evm::{
|
||||
};
|
||||
use reth_primitives::{Block, BlockId, BlockNumberOrTag, TransactionSignedEcRecovered};
|
||||
use reth_provider::{
|
||||
BlockReaderIdExt, ChainSpecProvider, EvmEnvProvider, HeaderProvider, StateProofProvider,
|
||||
StateProviderFactory, TransactionVariant,
|
||||
BlockReaderIdExt, ChainSpecProvider, HeaderProvider, StateProofProvider, StateProviderFactory,
|
||||
TransactionVariant,
|
||||
};
|
||||
use reth_revm::database::StateProviderDatabase;
|
||||
use reth_rpc_api::DebugApiServer;
|
||||
@ -81,7 +81,6 @@ where
|
||||
+ HeaderProvider
|
||||
+ ChainSpecProvider<ChainSpec: EthereumHardforks>
|
||||
+ StateProviderFactory
|
||||
+ EvmEnvProvider
|
||||
+ 'static,
|
||||
Eth: EthApiTypes + TraceExt + 'static,
|
||||
BlockExecutor: BlockExecutorProvider,
|
||||
@ -842,7 +841,6 @@ where
|
||||
+ HeaderProvider
|
||||
+ ChainSpecProvider<ChainSpec: EthereumHardforks>
|
||||
+ StateProviderFactory
|
||||
+ EvmEnvProvider
|
||||
+ 'static,
|
||||
Eth: EthApiSpec + EthTransactions + TraceExt + 'static,
|
||||
BlockExecutor: BlockExecutorProvider,
|
||||
@ -979,15 +977,6 @@ where
|
||||
.map_err(Into::into)
|
||||
}
|
||||
|
||||
/// Handler for `debug_executionWitness`
|
||||
async fn debug_execution_witness(
|
||||
&self,
|
||||
block: BlockNumberOrTag,
|
||||
) -> RpcResult<ExecutionWitness> {
|
||||
let _permit = self.acquire_trace_permit().await;
|
||||
Self::debug_execution_witness(self, block).await.map_err(Into::into)
|
||||
}
|
||||
|
||||
/// Handler for `debug_traceCall`
|
||||
async fn debug_trace_call(
|
||||
&self,
|
||||
@ -1011,6 +1000,15 @@ where
|
||||
Self::debug_trace_call_many(self, bundles, state_context, opts).await.map_err(Into::into)
|
||||
}
|
||||
|
||||
/// Handler for `debug_executionWitness`
|
||||
async fn debug_execution_witness(
|
||||
&self,
|
||||
block: BlockNumberOrTag,
|
||||
) -> RpcResult<ExecutionWitness> {
|
||||
let _permit = self.acquire_trace_permit().await;
|
||||
Self::debug_execution_witness(self, block).await.map_err(Into::into)
|
||||
}
|
||||
|
||||
async fn debug_backtrace_at(&self, _location: &str) -> RpcResult<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user