chore(deps): bump some breaking deps (#11388)

This commit is contained in:
DaniPopes
2024-10-01 19:26:47 +02:00
committed by GitHub
parent 707067ab4d
commit fbc01d6cfa
13 changed files with 166 additions and 121 deletions

View File

@ -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",
]

View File

@ -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
{

View File

@ -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();