Skip to content

Commit

Permalink
chore: bump subxt version
Browse files Browse the repository at this point in the history
  • Loading branch information
pepoviola committed Jun 22, 2024
1 parent 9f75af0 commit 285754a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions crates/orchestrator/src/network/parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")?;
Expand Down Expand Up @@ -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 }
Expand Down

0 comments on commit 285754a

Please sign in to comment.