mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(sdk): add helper trait to node API to simplify type definition (#10616)
This commit is contained in:
@ -4,12 +4,15 @@ use alloy_primitives::{Bytes, B256};
|
||||
use reth::{
|
||||
builder::{rpc::RpcRegistry, FullNodeComponents},
|
||||
rpc::api::{
|
||||
eth::helpers::{EthApiSpec, EthTransactions, TraceExt},
|
||||
eth::{
|
||||
helpers::{EthApiSpec, EthTransactions, TraceExt},
|
||||
EthApiTypes,
|
||||
},
|
||||
DebugApiServer,
|
||||
},
|
||||
};
|
||||
use reth_chainspec::EthereumHardforks;
|
||||
use reth_node_builder::{EthApiTypes, NodeTypes};
|
||||
use reth_node_builder::NodeTypes;
|
||||
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct RpcTestContext<Node: FullNodeComponents, EthApi: EthApiTypes> {
|
||||
|
||||
Reference in New Issue
Block a user