mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
rpc: rm useless alloy_rpc_types_trace reexport (#11096)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
This commit is contained in:
@ -24,6 +24,7 @@ alloy-eips.workspace = true
|
||||
alloy-json-rpc.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
alloy-rpc-types-eth.workspace = true
|
||||
alloy-rpc-types-trace.workspace = true
|
||||
alloy-rpc-types-anvil.workspace = true
|
||||
alloy-rpc-types-mev.workspace = true
|
||||
alloy-rpc-types-txpool.workspace = true
|
||||
|
||||
@ -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