use std::time::Duration; use crate::node::rpc::{HlEthApi, HlRpcNodeCore}; use alloy_primitives::{B256, Bytes}; use reth::rpc::server_types::eth::EthApiError; use reth_rpc_eth_api::{ RpcConvert, helpers::{EthTransactions, LoadTransaction, spec::SignersForRpc}, }; impl LoadTransaction for HlEthApi where N: HlRpcNodeCore, Rpc: RpcConvert, { } impl EthTransactions for HlEthApi where N: HlRpcNodeCore, Rpc: RpcConvert, { fn signers(&self) -> &SignersForRpc { self.inner.eth_api.signers() } async fn send_raw_transaction(&self, _tx: Bytes) -> Result { unreachable!() } fn send_raw_transaction_sync_timeout(&self) -> Duration { self.inner.eth_api.send_raw_transaction_sync_timeout() } }