chore(sdk): add helper trait to node API to simplify type definition (#10616)

This commit is contained in:
Emilia Hane
2024-10-26 18:55:26 +08:00
committed by GitHub
parent ac329bfce1
commit 44e4c47803
18 changed files with 105 additions and 61 deletions

View File

@ -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> {