mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(deps): bump some breaking deps (#11388)
This commit is contained in:
@ -60,7 +60,11 @@ serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
tracing.workspace = true
|
||||
backon.workspace = true
|
||||
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||
secp256k1 = { workspace = true, features = [
|
||||
"global-context",
|
||||
"rand-std",
|
||||
"recovery",
|
||||
] }
|
||||
|
||||
# io
|
||||
fdlimit.workspace = true
|
||||
@ -68,8 +72,8 @@ toml = { workspace = true, features = ["display"] }
|
||||
|
||||
# tui
|
||||
comfy-table = "7.0"
|
||||
crossterm = "0.27.0"
|
||||
ratatui = { version = "0.27", default-features = false, features = [
|
||||
crossterm = "0.28.0"
|
||||
ratatui = { version = "0.28", default-features = false, features = [
|
||||
"crossterm",
|
||||
] }
|
||||
|
||||
@ -88,5 +92,5 @@ dev = [
|
||||
"dep:arbitrary",
|
||||
"dep:proptest-arbitrary-interop",
|
||||
"reth-primitives/arbitrary",
|
||||
"reth-db-api/arbitrary"
|
||||
"reth-db-api/arbitrary",
|
||||
]
|
||||
|
||||
@ -347,7 +347,7 @@ where
|
||||
let outer_chunks = Layout::default()
|
||||
.direction(Direction::Vertical)
|
||||
.constraints([Constraint::Percentage(95), Constraint::Percentage(5)].as_ref())
|
||||
.split(f.size());
|
||||
.split(f.area());
|
||||
|
||||
// Columns
|
||||
{
|
||||
|
||||
@ -118,7 +118,7 @@ impl<C: ChainSpecParser<ChainSpec: EthChainSpec + EthereumHardforks>> Command<C>
|
||||
match self.command {
|
||||
Subcommands::Header { id } => {
|
||||
let header = (move || get_single_header(fetch_client.clone(), id))
|
||||
.retry(&backoff)
|
||||
.retry(backoff)
|
||||
.notify(|err, _| println!("Error requesting header: {err}. Retrying..."))
|
||||
.await?;
|
||||
println!("Successfully downloaded header: {header:?}");
|
||||
@ -132,7 +132,7 @@ impl<C: ChainSpecParser<ChainSpec: EthChainSpec + EthereumHardforks>> Command<C>
|
||||
let header = (move || {
|
||||
get_single_header(client.clone(), BlockHashOrNumber::Number(number))
|
||||
})
|
||||
.retry(&backoff)
|
||||
.retry(backoff)
|
||||
.notify(|err, _| println!("Error requesting header: {err}. Retrying..."))
|
||||
.await?;
|
||||
header.hash()
|
||||
@ -142,7 +142,7 @@ impl<C: ChainSpecParser<ChainSpec: EthChainSpec + EthereumHardforks>> Command<C>
|
||||
let client = fetch_client.clone();
|
||||
client.get_block_bodies(vec![hash])
|
||||
})
|
||||
.retry(&backoff)
|
||||
.retry(backoff)
|
||||
.notify(|err, _| println!("Error requesting block: {err}. Retrying..."))
|
||||
.await?
|
||||
.split();
|
||||
|
||||
Reference in New Issue
Block a user