mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
primitives: rm alloy BlockId reexport (#12303)
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
use alloy_eips::BlockId;
|
||||
use alloy_primitives::{Address, Bytes, B256};
|
||||
use alloy_rpc_types::{Block, Bundle, StateContext};
|
||||
use alloy_rpc_types_debug::ExecutionWitness;
|
||||
@ -6,7 +7,7 @@ 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_primitives::BlockNumberOrTag;
|
||||
|
||||
/// Debug rpc interface.
|
||||
#[cfg_attr(not(feature = "client"), rpc(server, namespace = "debug"))]
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
use alloy_eips::BlockId;
|
||||
use alloy_json_rpc::RpcObject;
|
||||
use alloy_primitives::{Address, Bytes, TxHash, B256};
|
||||
use alloy_rpc_types::Header;
|
||||
@ -6,7 +7,6 @@ use alloy_rpc_types_trace::otterscan::{
|
||||
TransactionsWithReceipts,
|
||||
};
|
||||
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
|
||||
use reth_primitives::BlockId;
|
||||
|
||||
/// Otterscan rpc interface.
|
||||
#[cfg_attr(not(feature = "client"), rpc(server, namespace = "ots"))]
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
use alloy_eips::BlockId;
|
||||
use alloy_primitives::{Address, U256};
|
||||
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
|
||||
use reth_primitives::BlockId;
|
||||
use std::collections::HashMap;
|
||||
|
||||
/// Reth API namespace for reth-specific methods
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
use alloy_eips::BlockId;
|
||||
use alloy_primitives::{map::HashSet, Bytes, B256};
|
||||
use alloy_rpc_types::{state::StateOverride, BlockOverrides, Index};
|
||||
use alloy_rpc_types_eth::transaction::TransactionRequest;
|
||||
@ -7,7 +8,6 @@ use alloy_rpc_types_trace::{
|
||||
parity::*,
|
||||
};
|
||||
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
|
||||
use reth_primitives::BlockId;
|
||||
|
||||
/// Ethereum trace API
|
||||
#[cfg_attr(not(feature = "client"), rpc(server, namespace = "trace"))]
|
||||
|
||||
Reference in New Issue
Block a user