fix: Fill precompiles in tracing APIs

This commit is contained in:
sprites0
2025-09-04 18:35:20 -04:00
parent f6432498d8
commit b37a30fb37
4 changed files with 117 additions and 34 deletions

View File

@ -1,21 +1,21 @@
use crate::node::rpc::HlEthApi;
use crate::node::rpc::{HlEthApi, HlRpcNodeCore};
use alloy_primitives::{Bytes, B256};
use reth::rpc::server_types::eth::EthApiError;
use reth_rpc_eth_api::{
helpers::{spec::SignersForRpc, EthTransactions, LoadTransaction},
RpcConvert, RpcNodeCore,
RpcConvert,
};
impl<N, Rpc> LoadTransaction for HlEthApi<N, Rpc>
where
N: RpcNodeCore,
N: HlRpcNodeCore,
Rpc: RpcConvert<Primitives = N::Primitives, Error = EthApiError>,
{
}
impl<N, Rpc> EthTransactions for HlEthApi<N, Rpc>
where
N: RpcNodeCore,
N: HlRpcNodeCore,
Rpc: RpcConvert<Primitives = N::Primitives, Error = EthApiError>,
{
fn signers(&self) -> &SignersForRpc<Self::Provider, Self::NetworkTypes> {