From 0a6c9e9f14098e41d8c7a649d34dd0fb0e5c144e Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Wed, 6 Dec 2023 18:11:09 +0800 Subject: [PATCH] Release `v0.9.3` (#681) --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- lib/core/src/node/mod.rs | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 58aabd12..6dfb5031 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -355,7 +355,7 @@ checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" [[package]] name = "cmd-impl" -version = "0.9.2" +version = "0.9.3" dependencies = [ "quote", "syn 2.0.39", @@ -1731,7 +1731,7 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "subalfred" -version = "0.9.2" +version = "0.9.3" dependencies = [ "anyhow", "array-bytes", @@ -1752,7 +1752,7 @@ dependencies = [ [[package]] name = "subalfred-core" -version = "0.9.2" +version = "0.9.3" dependencies = [ "array-bytes", "async-trait", @@ -1785,7 +1785,7 @@ dependencies = [ [[package]] name = "subalfred-util" -version = "0.9.2" +version = "0.9.3" dependencies = [ "tracing", "tracing-test", diff --git a/Cargo.toml b/Cargo.toml index c781136d..55c003c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ edition = "2021" homepage = "https://hack.ink/subalfred" license = "GPL-3.0" repository = "https://github.com/hack-ink/subalfred" -version = "0.9.2" +version = "0.9.3" [workspace.dependencies] # crates.io diff --git a/lib/core/src/node/mod.rs b/lib/core/src/node/mod.rs index 9b10ee42..84778447 100644 --- a/lib/core/src/node/mod.rs +++ b/lib/core/src/node/mod.rs @@ -95,7 +95,7 @@ pub async fn find_runtime_upgrade_block( let best_finalized_hash = client.get_finalized_head().await?; let mut left = 0; let mut right = - u32::try_from_hex(&client.get_header::(Some(best_finalized_hash)).await?.number) + u32::try_from_hex(client.get_header::(Some(best_finalized_hash)).await?.number) .map_err(|_| error::almost_impossible(E_BLOCK_NUMBER_IS_NON_HEX))?; let mut mid = right / 2;