mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: Upgrade to reth v1.8.2
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
use std::time::Duration;
|
||||
|
||||
use crate::node::rpc::{HlEthApi, HlRpcNodeCore};
|
||||
use alloy_primitives::{Bytes, B256};
|
||||
use alloy_primitives::{B256, Bytes};
|
||||
use reth::rpc::server_types::eth::EthApiError;
|
||||
use reth_rpc_eth_api::{
|
||||
helpers::{spec::SignersForRpc, EthTransactions, LoadTransaction},
|
||||
RpcConvert,
|
||||
helpers::{EthTransactions, LoadTransaction, spec::SignersForRpc},
|
||||
};
|
||||
|
||||
impl<N, Rpc> LoadTransaction for HlEthApi<N, Rpc>
|
||||
@ -25,4 +27,8 @@ where
|
||||
async fn send_raw_transaction(&self, _tx: Bytes) -> Result<B256, Self::Error> {
|
||||
unreachable!()
|
||||
}
|
||||
|
||||
fn send_raw_transaction_sync_timeout(&self) -> Duration {
|
||||
self.inner.eth_api.send_raw_transaction_sync_timeout()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user