Skip to content

Commit a710d48

Browse files
mraszykclaude
andcommitted
chore: bump ic-management-canister-types to 0.8.0 and agent-rs to 0.48.1
Bump `ic-management-canister-types` 0.7.1 -> 0.8.0 and the agent-rs crates (`ic-agent`, `ic-utils`, `ic-transport-types`, `ic-identity-hsm`) 0.47.3 -> 0.48.1, and fix the resulting build breakages: - ic-pub-key: `ic-vetkeys` 0.7.0 is still built against `ic-management-canister-types` 0.7.1, so `for_mainnet_key` expects the 0.7.1 `VetKDKeyId`. Bridge the two by rebuilding the key id from its fields via `ic-cdk-management-canister` (added as an optional dependency gated behind the `vetkeys` feature). - canister_test: add the new `snapshot_visibility` field to `CanisterSettings`. - system-test driver: add the new `permissions` field to `ic_agent::identity::Delegation`. - consensus upgrade test: `ic_utils` still depends on the older `ic-management-canister-types`, so call the management canister directly via the agent instead of its typed `take_canister_snapshot` helper. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 00f0a73 commit a710d48

11 files changed

Lines changed: 907 additions & 194 deletions

File tree

Cargo.Bazel.json.lock

Lines changed: 506 additions & 26 deletions
Large diffs are not rendered by default.

Cargo.Bazel.toml.lock

Lines changed: 123 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3785,7 +3785,7 @@ dependencies = [
37853785
"hyper-rustls 0.27.7",
37863786
"hyper-socks2",
37873787
"hyper-util",
3788-
"ic-agent",
3788+
"ic-agent 0.48.1",
37893789
"ic-bn-lib",
37903790
"ic-bn-lib-common",
37913791
"ic-btc-interface",
@@ -3795,6 +3795,7 @@ dependencies = [
37953795
"ic-cbor",
37963796
"ic-cdk 0.19.0",
37973797
"ic-cdk-executor",
3798+
"ic-cdk-management-canister",
37983799
"ic-cdk-timers",
37993800
"ic-certificate-verification",
38003801
"ic-certification",
@@ -3806,15 +3807,15 @@ dependencies = [
38063807
"ic-gateway",
38073808
"ic-http-certification",
38083809
"ic-identity-hsm",
3809-
"ic-management-canister-types 0.7.1",
3810+
"ic-management-canister-types 0.8.0",
38103811
"ic-metrics-encoder",
38113812
"ic-response-verification",
38123813
"ic-sha3",
38133814
"ic-stable-structures 0.6.8",
38143815
"ic-stable-structures 0.7.0",
38153816
"ic-test-state-machine-client",
3816-
"ic-transport-types",
3817-
"ic-utils",
3817+
"ic-transport-types 0.48.1",
3818+
"ic-utils 0.48.1",
38183819
"ic-verify-bls-signature",
38193820
"ic-vetkeys",
38203821
"ic-wasm",
@@ -4093,7 +4094,7 @@ dependencies = [
40934094
"libc",
40944095
"option-ext",
40954096
"redox_users 0.5.0",
4096-
"windows-sys 0.59.0",
4097+
"windows-sys 0.61.2",
40974098
]
40984099

40994100
[[package]]
@@ -5938,7 +5939,7 @@ dependencies = [
59385939
"libc",
59395940
"percent-encoding",
59405941
"pin-project-lite",
5941-
"socket2 0.5.9",
5942+
"socket2 0.6.1",
59425943
"system-configuration 0.7.0",
59435944
"tokio",
59445945
"tower-layer",
@@ -5995,7 +5996,57 @@ dependencies = [
59955996
"http-body-util",
59965997
"ic-certification",
59975998
"ic-ed25519",
5998-
"ic-transport-types",
5999+
"ic-transport-types 0.47.3",
6000+
"ic-verify-bls-signature",
6001+
"ic_principal",
6002+
"k256",
6003+
"leb128",
6004+
"p256",
6005+
"pem",
6006+
"pkcs8",
6007+
"rand 0.10.1",
6008+
"rangemap",
6009+
"reqwest 0.13.4",
6010+
"sec1",
6011+
"serde",
6012+
"serde_bytes",
6013+
"serde_cbor",
6014+
"serde_repr",
6015+
"sha2 0.10.9",
6016+
"stop-token",
6017+
"thiserror 2.0.18",
6018+
"time",
6019+
"tokio",
6020+
"tower-service",
6021+
"url",
6022+
]
6023+
6024+
[[package]]
6025+
name = "ic-agent"
6026+
version = "0.48.1"
6027+
source = "registry+https://github.com/rust-lang/crates.io-index"
6028+
checksum = "0844c80b49056ad4117e7abba251ee98758599e7bd8461775a1349251a8263b1"
6029+
dependencies = [
6030+
"arc-swap",
6031+
"async-channel 2.5.0",
6032+
"async-lock",
6033+
"async-trait",
6034+
"async-watch",
6035+
"backoff",
6036+
"bytes",
6037+
"cached 0.56.0",
6038+
"candid",
6039+
"ecdsa",
6040+
"ed25519-consensus",
6041+
"elliptic-curve",
6042+
"futures-util",
6043+
"hex",
6044+
"http 1.3.1",
6045+
"http-body 1.0.1",
6046+
"http-body-util",
6047+
"ic-certification",
6048+
"ic-ed25519",
6049+
"ic-transport-types 0.48.1",
59996050
"ic-verify-bls-signature",
60006051
"ic_principal",
60016052
"k256",
@@ -6055,7 +6106,7 @@ dependencies = [
60556106
"hyper 1.8.1",
60566107
"hyper-rustls 0.27.7",
60576108
"hyper-util",
6058-
"ic-agent",
6109+
"ic-agent 0.47.3",
60596110
"ic-bn-lib-common",
60606111
"indoc 2.0.7",
60616112
"instant-acme",
@@ -6126,7 +6177,7 @@ dependencies = [
61266177
"humantime",
61276178
"hyper 1.8.1",
61286179
"hyper-util",
6129-
"ic-agent",
6180+
"ic-agent 0.47.3",
61306181
"instant-acme",
61316182
"parse-size",
61326183
"prometheus 0.14.0",
@@ -6513,7 +6564,7 @@ dependencies = [
65136564
"ic-custom-domains-backend",
65146565
"ic-custom-domains-base",
65156566
"ic-http-gateway-protocol",
6516-
"ic-transport-types",
6567+
"ic-transport-types 0.47.3",
65176568
"isbot",
65186569
"itertools 0.15.0",
65196570
"lazy_static",
@@ -6574,21 +6625,21 @@ dependencies = [
65746625
"http 1.3.1",
65756626
"http-body 1.0.1",
65766627
"http-body-util",
6577-
"ic-agent",
6628+
"ic-agent 0.47.3",
65786629
"ic-http-certification",
65796630
"ic-response-verification",
6580-
"ic-utils",
6631+
"ic-utils 0.47.3",
65816632
"thiserror 1.0.68",
65826633
]
65836634

65846635
[[package]]
65856636
name = "ic-identity-hsm"
6586-
version = "0.47.3"
6637+
version = "0.48.1"
65876638
source = "registry+https://github.com/rust-lang/crates.io-index"
6588-
checksum = "577e4411ea208f0bf7e6bf13535660df682fada94f45fbbc79b7e34c946a06ae"
6639+
checksum = "32ebd639a70743d6ccb972d4a04b5773c4a8b138f5ed8fead34063906e871dc9"
65896640
dependencies = [
65906641
"hex",
6591-
"ic-agent",
6642+
"ic-agent 0.48.1",
65926643
"pkcs11",
65936644
"sha2 0.10.9",
65946645
"simple_asn1",
@@ -6617,6 +6668,17 @@ dependencies = [
66176668
"serde_bytes",
66186669
]
66196670

6671+
[[package]]
6672+
name = "ic-management-canister-types"
6673+
version = "0.8.0"
6674+
source = "registry+https://github.com/rust-lang/crates.io-index"
6675+
checksum = "3187ba94198a8df0e38a478f289812fcead6a86c658b9552b00f1f8081f06bb3"
6676+
dependencies = [
6677+
"candid",
6678+
"serde",
6679+
"serde_bytes",
6680+
]
6681+
66206682
[[package]]
66216683
name = "ic-metrics-encoder"
66226684
version = "1.1.1"
@@ -6714,6 +6776,24 @@ dependencies = [
67146776
"thiserror 2.0.18",
67156777
]
67166778

6779+
[[package]]
6780+
name = "ic-transport-types"
6781+
version = "0.48.1"
6782+
source = "registry+https://github.com/rust-lang/crates.io-index"
6783+
checksum = "f7caf62ab0d7e00d0d4926ae9cb81c42ab5fb84e9d8d9b183bfa42ab12180d2f"
6784+
dependencies = [
6785+
"candid",
6786+
"hex",
6787+
"ic-certification",
6788+
"leb128",
6789+
"serde",
6790+
"serde_bytes",
6791+
"serde_cbor",
6792+
"serde_repr",
6793+
"sha2 0.10.9",
6794+
"thiserror 2.0.18",
6795+
]
6796+
67176797
[[package]]
67186798
name = "ic-utils"
67196799
version = "0.47.3"
@@ -6723,7 +6803,29 @@ dependencies = [
67236803
"async-trait",
67246804
"candid",
67256805
"futures-util",
6726-
"ic-agent",
6806+
"ic-agent 0.47.3",
6807+
"ic-management-canister-types 0.7.1",
6808+
"once_cell",
6809+
"semver",
6810+
"serde",
6811+
"serde_bytes",
6812+
"sha2 0.10.9",
6813+
"strum 0.28.0",
6814+
"strum_macros 0.28.0",
6815+
"thiserror 2.0.18",
6816+
"time",
6817+
]
6818+
6819+
[[package]]
6820+
name = "ic-utils"
6821+
version = "0.48.1"
6822+
source = "registry+https://github.com/rust-lang/crates.io-index"
6823+
checksum = "baa00e2c777d214553cc86160d358e1820063745bbe89c4d6fa61184182b01ec"
6824+
dependencies = [
6825+
"async-trait",
6826+
"candid",
6827+
"futures-util",
6828+
"ic-agent 0.48.1",
67276829
"ic-management-canister-types 0.7.1",
67286830
"once_cell",
67296831
"semver",
@@ -10787,7 +10889,7 @@ dependencies = [
1078710889
"quinn-udp",
1078810890
"rustc-hash 2.1.1",
1078910891
"rustls 0.23.27",
10790-
"socket2 0.5.9",
10892+
"socket2 0.6.1",
1079110893
"thiserror 2.0.18",
1079210894
"tokio",
1079310895
"tracing",
@@ -11819,7 +11921,7 @@ dependencies = [
1181911921
"errno 0.3.10",
1182011922
"libc",
1182111923
"linux-raw-sys 0.12.1",
11822-
"windows-sys 0.59.0",
11924+
"windows-sys 0.61.2",
1182311925
]
1182411926

1182511927
[[package]]
@@ -11962,7 +12064,7 @@ dependencies = [
1196212064
"security-framework 3.5.1",
1196312065
"security-framework-sys",
1196412066
"webpki-root-certs",
11965-
"windows-sys 0.59.0",
12067+
"windows-sys 0.61.2",
1196612068
]
1196712069

1196812070
[[package]]
@@ -11983,7 +12085,7 @@ dependencies = [
1198312085
"security-framework 3.5.1",
1198412086
"security-framework-sys",
1198512087
"webpki-root-certs",
11986-
"windows-sys 0.59.0",
12088+
"windows-sys 0.61.2",
1198712089
]
1198812090

1198912091
[[package]]
@@ -13657,7 +13759,7 @@ dependencies = [
1365713759
"getrandom 0.3.4",
1365813760
"once_cell",
1365913761
"rustix 1.1.4",
13660-
"windows-sys 0.59.0",
13762+
"windows-sys 0.61.2",
1366113763
]
1366213764

1366313765
[[package]]

0 commit comments

Comments
 (0)