reth_rpc/eth/helpers/
block.rs1use reth_rpc_convert::RpcConvert;
4use reth_rpc_eth_api::{
5 helpers::{EthBlocks, LoadBlock, LoadPendingBlock},
6 FromEvmError, RpcNodeCore,
7};
8use reth_rpc_eth_types::EthApiError;
9
10use crate::EthApi;
11
12impl<N, Rpc> EthBlocks for EthApi<N, Rpc>
13where
14 N: RpcNodeCore,
15 EthApiError: FromEvmError<N::Evm>,
16 Rpc: RpcConvert<Primitives = N::Primitives, Error = EthApiError>,
17{
18}
19
20impl<N, Rpc> LoadBlock for EthApi<N, Rpc>
21where
22 Self: LoadPendingBlock,
23 N: RpcNodeCore,
24 Rpc: RpcConvert<Primitives = N::Primitives, Error = EthApiError>,
25{
26}