mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-07 21:45:24 -05:00
rpc: rm useless alloy_rpc_types_trace reexport (#11096)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
This commit is contained in:
@@ -1,15 +1,11 @@
|
||||
use alloy_primitives::{Address, Bytes, B256};
|
||||
use alloy_rpc_types_eth::transaction::TransactionRequest;
|
||||
use alloy_rpc_types_trace::geth::{
|
||||
BlockTraceResult, GethDebugTracingCallOptions, GethDebugTracingOptions, GethTrace, TraceResult,
|
||||
};
|
||||
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
|
||||
use reth_primitives::{BlockId, BlockNumberOrTag};
|
||||
use reth_rpc_types::{
|
||||
debug::ExecutionWitness,
|
||||
trace::geth::{
|
||||
BlockTraceResult, GethDebugTracingCallOptions, GethDebugTracingOptions, GethTrace,
|
||||
TraceResult,
|
||||
},
|
||||
Block, Bundle, StateContext,
|
||||
};
|
||||
use reth_rpc_types::{debug::ExecutionWitness, Block, Bundle, StateContext};
|
||||
|
||||
/// Debug rpc interface.
|
||||
#[cfg_attr(not(feature = "client"), rpc(server, namespace = "debug"))]
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
use alloy_json_rpc::RpcObject;
|
||||
use alloy_primitives::{Address, Bytes, TxHash, B256};
|
||||
use alloy_rpc_types_trace::otterscan::{
|
||||
BlockDetails, ContractCreator, InternalOperation, OtsBlockTransactions, TraceEntry,
|
||||
TransactionsWithReceipts,
|
||||
};
|
||||
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
|
||||
use reth_primitives::BlockId;
|
||||
use reth_rpc_types::{
|
||||
trace::otterscan::{
|
||||
BlockDetails, ContractCreator, InternalOperation, OtsBlockTransactions, TraceEntry,
|
||||
TransactionsWithReceipts,
|
||||
},
|
||||
Header,
|
||||
};
|
||||
use reth_rpc_types::Header;
|
||||
|
||||
/// Otterscan rpc interface.
|
||||
#[cfg_attr(not(feature = "client"), rpc(server, namespace = "ots"))]
|
||||
|
||||
@@ -1,16 +1,13 @@
|
||||
use alloy_primitives::{Bytes, B256};
|
||||
use alloy_rpc_types_eth::transaction::TransactionRequest;
|
||||
use alloy_rpc_types_trace::{
|
||||
filter::TraceFilter,
|
||||
opcode::{BlockOpcodeGas, TransactionOpcodeGas},
|
||||
parity::*,
|
||||
};
|
||||
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
|
||||
use reth_primitives::BlockId;
|
||||
use reth_rpc_types::{
|
||||
state::StateOverride,
|
||||
trace::{
|
||||
filter::TraceFilter,
|
||||
opcode::{BlockOpcodeGas, TransactionOpcodeGas},
|
||||
parity::*,
|
||||
},
|
||||
BlockOverrides, Index,
|
||||
};
|
||||
use reth_rpc_types::{state::StateOverride, BlockOverrides, Index};
|
||||
use std::collections::HashSet;
|
||||
|
||||
/// Ethereum trace API
|
||||
|
||||
Reference in New Issue
Block a user