From fb4dc11ad36443bd827de59e8cd65436f8c53053 Mon Sep 17 00:00:00 2001 From: gregorydemay Date: Wed, 11 Feb 2026 10:01:23 +0100 Subject: [PATCH 1/4] DEFI-2566: update to non-released ic-canister-runtime dependency --- Cargo.lock | 19 ++++++++++++++++--- Cargo.toml | 2 +- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7e313cea..84099fb9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1727,7 +1727,7 @@ dependencies = [ "getrandom 0.2.17", "hex", "http", - "ic-canister-runtime", + "ic-canister-runtime 0.1.2 (git+https://github.com/dfinity/canhttp.git?branch=gdemay%2FDEFI-2566-stopping)", "ic-cdk", "ic-crypto-test-utils-reproducible-rng", "ic-error-types", @@ -1771,7 +1771,7 @@ dependencies = [ "async-trait", "candid", "evm_rpc_types", - "ic-canister-runtime", + "ic-canister-runtime 0.1.2 (git+https://github.com/dfinity/canhttp.git?branch=gdemay%2FDEFI-2566-stopping)", "serde", "serde_json", "strum 0.27.2", @@ -2264,6 +2264,19 @@ name = "ic-canister-runtime" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21294a9ff21dec8e57315788ebaa6fe999cbf9b61a201943985299c49ef9b1ff" +dependencies = [ + "async-trait", + "candid", + "ic-cdk", + "ic-error-types", + "serde", + "thiserror 2.0.18", +] + +[[package]] +name = "ic-canister-runtime" +version = "0.1.2" +source = "git+https://github.com/dfinity/canhttp.git?branch=gdemay%2FDEFI-2566-stopping#f8eec859504fe009711d6183c91b326ed0f2e216" dependencies = [ "async-trait", "candid", @@ -2435,7 +2448,7 @@ dependencies = [ "async-trait", "candid", "canhttp", - "ic-canister-runtime", + "ic-canister-runtime 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "ic-cdk", "ic-error-types", "pocket-ic", diff --git a/Cargo.toml b/Cargo.toml index d3f69366..b4e51958 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -87,7 +87,7 @@ ethnum = { version = "1.5.2", features = ["serde"] } getrandom = { version = "0.2", features = ["custom"] } hex = "0.4.3" http = "1.4.0" -ic-canister-runtime = "0.1.2" +ic-canister-runtime = { git = "https://github.com/dfinity/canhttp.git", branch = "gdemay/DEFI-2566-stopping" } ic-cdk = "0.19.0" ic-cdk-bindgen = "0.1" ic-certified-map = "0.4" From 94a38c2f02abcb4e6590ae860d3572e3a193a8a4 Mon Sep 17 00:00:00 2001 From: gregorydemay Date: Wed, 11 Feb 2026 10:11:28 +0100 Subject: [PATCH 2/4] DEFI-2566: update to non-released ic-pocket-canister-runtime and runtime dependencies --- Cargo.lock | 26 +++++--------------------- Cargo.toml | 4 ++-- 2 files changed, 7 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 84099fb9..5ddb3b2f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -952,8 +952,7 @@ dependencies = [ [[package]] name = "canhttp" version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbc8ab5b0f21e91df6387c5a53af0b6228cb6b5db9ed3ed4f12f08329028f43" +source = "git+https://github.com/dfinity/canhttp.git?branch=gdemay%2FDEFI-2566-stopping#f8eec859504fe009711d6183c91b326ed0f2e216" dependencies = [ "assert_matches", "ciborium", @@ -1727,7 +1726,7 @@ dependencies = [ "getrandom 0.2.17", "hex", "http", - "ic-canister-runtime 0.1.2 (git+https://github.com/dfinity/canhttp.git?branch=gdemay%2FDEFI-2566-stopping)", + "ic-canister-runtime", "ic-cdk", "ic-crypto-test-utils-reproducible-rng", "ic-error-types", @@ -1771,7 +1770,7 @@ dependencies = [ "async-trait", "candid", "evm_rpc_types", - "ic-canister-runtime 0.1.2 (git+https://github.com/dfinity/canhttp.git?branch=gdemay%2FDEFI-2566-stopping)", + "ic-canister-runtime", "serde", "serde_json", "strum 0.27.2", @@ -2259,20 +2258,6 @@ dependencies = [ "serde", ] -[[package]] -name = "ic-canister-runtime" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21294a9ff21dec8e57315788ebaa6fe999cbf9b61a201943985299c49ef9b1ff" -dependencies = [ - "async-trait", - "candid", - "ic-cdk", - "ic-error-types", - "serde", - "thiserror 2.0.18", -] - [[package]] name = "ic-canister-runtime" version = "0.1.2" @@ -2442,13 +2427,12 @@ checksum = "8b5c7628eac357aecda461130f8074468be5aa4d258a002032d82d817f79f1f8" [[package]] name = "ic-pocket-canister-runtime" version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ebbe23cfb4a3ab3e700505a8b1ab66ba0c4f6231e6dbdac11063529717c70fd" +source = "git+https://github.com/dfinity/canhttp.git?branch=gdemay%2FDEFI-2566-stopping#f8eec859504fe009711d6183c91b326ed0f2e216" dependencies = [ "async-trait", "candid", "canhttp", - "ic-canister-runtime 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "ic-canister-runtime", "ic-cdk", "ic-error-types", "pocket-ic", diff --git a/Cargo.toml b/Cargo.toml index b4e51958..d232dbd4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,7 +78,7 @@ alloy-sol-types = "1.5.4" assert_matches = "1.5.0" async-trait = "0.1.89" candid = { version = "0.10.20" } -canhttp = { version = "0.5.0", features = ["json", "multi"] } +canhttp = { git = "https://github.com/dfinity/canhttp.git", branch = "gdemay/DEFI-2566-stopping", features = ["json", "multi"] } canlog = { version = "0.2.0", features = ["derive"] } candid_parser = { version = "0.3.0" } derive_more = { version = "2.1.1", features = ["from", "into"] } @@ -97,7 +97,7 @@ ic-ethereum-types = "1.0.0" ic-management-canister-types = "0.5.0" ic-metrics-assert = { version = "0.4.0", features = ["pocket_ic"] } ic-metrics-encoder = "1.1" -ic-pocket-canister-runtime = "0.3.0" +ic-pocket-canister-runtime = { git = "https://github.com/dfinity/canhttp.git", branch = "gdemay/DEFI-2566-stopping" } ic-stable-structures = "0.6.9" maplit = "1.0.2" minicbor = { version = "1.1.0", features = ["alloc", "derive"] } From 8a5c9be04b464cc916d5b3cdd7cb6dd7a137df67 Mon Sep 17 00:00:00 2001 From: gregorydemay Date: Wed, 18 Feb 2026 08:03:13 +0100 Subject: [PATCH 3/4] DEFI-2566: update to release --- Cargo.lock | 15 +++++++++------ Cargo.toml | 6 +++--- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5ddb3b2f..c1a98d5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -951,8 +951,9 @@ dependencies = [ [[package]] name = "canhttp" -version = "0.5.0" -source = "git+https://github.com/dfinity/canhttp.git?branch=gdemay%2FDEFI-2566-stopping#f8eec859504fe009711d6183c91b326ed0f2e216" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de1e0d5fadebcd23ac73e532af6f64777fce85f92a635945ef796c002aaf2ae" dependencies = [ "assert_matches", "ciborium", @@ -2260,8 +2261,9 @@ dependencies = [ [[package]] name = "ic-canister-runtime" -version = "0.1.2" -source = "git+https://github.com/dfinity/canhttp.git?branch=gdemay%2FDEFI-2566-stopping#f8eec859504fe009711d6183c91b326ed0f2e216" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03ed95be893b8d9b7309dcfd34aac7af9414f18ea8f14f71a065f89f5b94583c" dependencies = [ "async-trait", "candid", @@ -2426,8 +2428,9 @@ checksum = "8b5c7628eac357aecda461130f8074468be5aa4d258a002032d82d817f79f1f8" [[package]] name = "ic-pocket-canister-runtime" -version = "0.3.0" -source = "git+https://github.com/dfinity/canhttp.git?branch=gdemay%2FDEFI-2566-stopping#f8eec859504fe009711d6183c91b326ed0f2e216" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a5b0a7a699cca04dc47afa223318eea8af44a8dd1ce941c7353f20ca05577cc" dependencies = [ "async-trait", "candid", diff --git a/Cargo.toml b/Cargo.toml index d232dbd4..5024328b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,7 +78,7 @@ alloy-sol-types = "1.5.4" assert_matches = "1.5.0" async-trait = "0.1.89" candid = { version = "0.10.20" } -canhttp = { git = "https://github.com/dfinity/canhttp.git", branch = "gdemay/DEFI-2566-stopping", features = ["json", "multi"] } +canhttp = { version = "0.5.1", features = ["json", "multi"] } canlog = { version = "0.2.0", features = ["derive"] } candid_parser = { version = "0.3.0" } derive_more = { version = "2.1.1", features = ["from", "into"] } @@ -87,7 +87,7 @@ ethnum = { version = "1.5.2", features = ["serde"] } getrandom = { version = "0.2", features = ["custom"] } hex = "0.4.3" http = "1.4.0" -ic-canister-runtime = { git = "https://github.com/dfinity/canhttp.git", branch = "gdemay/DEFI-2566-stopping" } +ic-canister-runtime = {version = "0.2.0"} ic-cdk = "0.19.0" ic-cdk-bindgen = "0.1" ic-certified-map = "0.4" @@ -97,7 +97,7 @@ ic-ethereum-types = "1.0.0" ic-management-canister-types = "0.5.0" ic-metrics-assert = { version = "0.4.0", features = ["pocket_ic"] } ic-metrics-encoder = "1.1" -ic-pocket-canister-runtime = { git = "https://github.com/dfinity/canhttp.git", branch = "gdemay/DEFI-2566-stopping" } +ic-pocket-canister-runtime = {version = "0.4.0"} ic-stable-structures = "0.6.9" maplit = "1.0.2" minicbor = { version = "1.1.0", features = ["alloc", "derive"] } From 5c0b2c47c3076ef8f04b21ae1026a4baad8858e4 Mon Sep 17 00:00:00 2001 From: gregorydemay Date: Wed, 18 Feb 2026 10:16:33 +0100 Subject: [PATCH 4/4] DEFI-2566: remove spurious version --- Cargo.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5024328b..cb04828d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -77,17 +77,17 @@ alloy-sol-macro = "1.5.4" alloy-sol-types = "1.5.4" assert_matches = "1.5.0" async-trait = "0.1.89" -candid = { version = "0.10.20" } +candid = "0.10.20" canhttp = { version = "0.5.1", features = ["json", "multi"] } canlog = { version = "0.2.0", features = ["derive"] } -candid_parser = { version = "0.3.0" } +candid_parser = "0.3.0" derive_more = { version = "2.1.1", features = ["from", "into"] } ethers-core = "2.0" ethnum = { version = "1.5.2", features = ["serde"] } getrandom = { version = "0.2", features = ["custom"] } hex = "0.4.3" http = "1.4.0" -ic-canister-runtime = {version = "0.2.0"} +ic-canister-runtime = "0.2.0" ic-cdk = "0.19.0" ic-cdk-bindgen = "0.1" ic-certified-map = "0.4" @@ -97,7 +97,7 @@ ic-ethereum-types = "1.0.0" ic-management-canister-types = "0.5.0" ic-metrics-assert = { version = "0.4.0", features = ["pocket_ic"] } ic-metrics-encoder = "1.1" -ic-pocket-canister-runtime = {version = "0.4.0"} +ic-pocket-canister-runtime = "0.4.0" ic-stable-structures = "0.6.9" maplit = "1.0.2" minicbor = { version = "1.1.0", features = ["alloc", "derive"] }