Skip to content

Commit 756a613

Browse files
committed
chore: bump agent version to 0.47.0
1 parent 1277428 commit 756a613

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ glob = "0.3.2"
4646
handlebars = "6.3.2"
4747
hex = { version = "0.4.3", features = ["serde"] }
4848
httptest = "0.16.3"
49-
ic-agent = { version = "0.46.0" }
50-
ic-asset = "0.28.0"
49+
ic-agent = { version = "0.47.0" }
50+
ic-asset = "0.29.0"
5151
ic-ed25519 = "0.6.0"
5252
ic-ledger-types = "0.16.0"
5353
ic-management-canister-types = { version = "0.7.1" }
54-
ic-utils = { version = "0.46.0" }
54+
ic-utils = { version = "0.47.0" }
5555
icp = { path = "crates/icp" }
5656
icp-canister-interfaces = { path = "crates/icp-canister-interfaces" }
57-
ic-identity-hsm = "0.46.0"
57+
ic-identity-hsm = "0.47.0"
5858
icrc-ledger-types = "0.1.10"
5959
indicatif = "0.18.0"
6060
indoc = "2.0.6"

crates/icp-cli/src/operations/create.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use icp_canister_interfaces::{
1515
};
1616
use rand::seq::IndexedRandom;
1717
use snafu::{OptionExt, ResultExt, Snafu};
18+
use tracing::debug;
1819
use std::sync::Arc;
1920
use tokio::sync::OnceCell;
2021

@@ -107,11 +108,14 @@ impl CreateOperation {
107108
.get_subnet_by_id(&selected_subnet)
108109
.await
109110
.context(GetSubnetSnafu)?;
111+
debug!("Found subnet type: {subnet_info:?}");
110112
let cid = if let Some(SubnetType::Unknown(kind)) = subnet_info.subnet_type()
111113
&& kind == "cloud_engine"
112114
{
115+
debug!("Attempting to create a canister on a cloud engine");
113116
self.create_mgmt(settings, &subnet_info).await?
114117
} else {
118+
debug!("Attempting to create a canister through the ledger");
115119
self.create_ledger(settings, selected_subnet).await?
116120
};
117121
Ok(cid)

0 commit comments

Comments
 (0)