From bb6da287fe18b66b766db0c3ca8136272cbef999 Mon Sep 17 00:00:00 2001 From: Javier Viola <363911+pepoviola@users.noreply.github.com> Date: Sat, 22 Jun 2024 15:03:38 +0200 Subject: [PATCH] chore: bump `subxt` version (#237) --- Cargo.toml | 4 ++-- crates/orchestrator/src/network/parachain.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 34617f0b8..0e5f1550d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,8 +45,8 @@ sha2 = { version = "0.10.2", default-features = false } hex = "0.4" sp-core = "31.0.0" libp2p = { version = "0.52" } -subxt = { version = "0.35.3", features = ["substrate-compat"] } -subxt-signer = { version = "0.35.3", features = ["subxt"] } +subxt = { version = "0.37", features = ["substrate-compat"] } +subxt-signer = { version = "0.37", features = ["subxt"] } tracing = "0.1.35" kube = "0.87.1" k8s-openapi = "0.20.0" diff --git a/crates/orchestrator/src/network/parachain.rs b/crates/orchestrator/src/network/parachain.rs index 3033599da..976e368e6 100644 --- a/crates/orchestrator/src/network/parachain.rs +++ b/crates/orchestrator/src/network/parachain.rs @@ -98,7 +98,7 @@ impl Parachain { // get the seed let sudo: Keypair; if let Some(possible_seed) = options.seed { - sudo = Keypair::from_seed(possible_seed) + sudo = Keypair::from_secret_key(possible_seed) .expect(&format!("seed should return a Keypair {THIS_IS_A_BUG}")); } else { let uri = SecretUri::from_str("//Alice")?; @@ -153,8 +153,8 @@ impl Parachain { while let Some(status) = tx.next().await { match status? { TxStatus::InBestBlock(tx_in_block) | TxStatus::InFinalizedBlock(tx_in_block) => { - let result = tx_in_block.wait_for_success().await?; - info!("In block: {:#?}", result.block_hash()); + let _result = tx_in_block.wait_for_success().await?; + info!("In block: {:#?}", tx_in_block.block_hash()); }, TxStatus::Error { message } | TxStatus::Invalid { message }