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

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