chore: cargo fix, fmt and misc fixes

This commit is contained in:
sprites0
2025-07-02 16:06:32 +00:00
parent 8c7e667891
commit f605c56bdf
4 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,5 @@
use clap::Parser;
use reth::builder::NodeHandle;
use reth_hl::tx_forwarder::{self, EthForwarderApiServer};
use reth_hl::{
chainspec::parser::HlChainSpecParser,
node::{
@ -8,6 +7,7 @@ use reth_hl::{
storage::tables::Tables,
HlNode,
},
tx_forwarder::{self, EthForwarderApiServer},
};
use tracing::info;

View File

@ -133,13 +133,12 @@ where
requests_hash,
};
let read_precompile_calls = ctx.read_precompile_calls.clone().into();
Ok(Self::Block {
header,
body: HlBlockBody {
inner: BlockBody { transactions, ommers: Default::default(), withdrawals },
sidecars: None,
read_precompile_calls: Some(read_precompile_calls),
read_precompile_calls: Some(ctx.read_precompile_calls.clone().into()),
},
})
}

View File

@ -6,8 +6,7 @@ use super::{
BlockSourceBoxed, CachedBlockSource, HlNodeBlockSource, LocalBlockSource, S3BlockSource,
},
};
use std::path::PathBuf;
use std::sync::Arc;
use std::{path::PathBuf, sync::Arc};
#[derive(Debug, Clone)]
pub struct BlockSourceConfig {

View File

@ -1,6 +1,8 @@
use std::io::{BufRead, BufReader};
use std::path::{Path, PathBuf};
use std::sync::Arc;
use std::{
io::{BufRead, BufReader},
path::{Path, PathBuf},
sync::Arc,
};
use eyre::ContextCompat;
use futures::future::BoxFuture;