From 1fa2e26de6454020be37ef0e95507276701c6977 Mon Sep 17 00:00:00 2001 From: DFINITY bot <58022693+dfinity-bot@users.noreply.github.com> Date: Tue, 22 Oct 2024 01:12:49 +0200 Subject: [PATCH] chore: update replica version to 3c76b914 (#3956) --- Cargo.lock | 164 ++++++++++++++++++++++---- e2e/tests-dfx/create.bash | 7 +- nix/sources.json | 132 ++++++++++----------- src/dfx/Cargo.toml | 2 +- src/dfx/assets/dfx-asset-sources.toml | 90 +++++++------- src/dfx/src/actors/pocketic.rs | 3 +- 6 files changed, 262 insertions(+), 136 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c9213a6ab9..ae2d90d494 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1548,9 +1548,9 @@ dependencies = [ "hex", "humantime", "hyper-rustls 0.24.2", - "ic-agent", + "ic-agent 0.38.0", "ic-asset", - "ic-cdk", + "ic-cdk 0.13.5", "ic-identity-hsm", "ic-utils 0.38.0", "ic-wasm", @@ -1626,7 +1626,7 @@ dependencies = [ "handlebars", "hex", "humantime-serde", - "ic-agent", + "ic-agent 0.38.0", "ic-identity-hsm", "ic-utils 0.38.0", "itertools 0.10.5", @@ -2512,6 +2512,17 @@ dependencies = [ "http 1.1.0", ] +[[package]] +name = "http-body-to-bytes" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17a08236c6f51c2ee95d840f45acf8fa9e339390e00b4ef640857b2f2a534d70" +dependencies = [ + "bytes", + "http-body 1.0.0", + "http-body-util", +] + [[package]] name = "http-body-util" version = "0.1.1" @@ -2673,6 +2684,53 @@ dependencies = [ "cc", ] +[[package]] +name = "ic-agent" +version = "0.37.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fd3fdf5e5c4f4a9fe5ca612f0febd22dcb161d2f2b75b0142326732be5e4978" +dependencies = [ + "async-lock 3.3.0", + "backoff", + "cached 0.52.0", + "candid", + "ed25519-consensus", + "futures-util", + "hex", + "http 1.1.0", + "http-body 1.0.0", + "http-body-to-bytes", + "http-body-util", + "hyper 1.3.1", + "hyper-rustls 0.27.2", + "hyper-util", + "ic-certification 2.5.0", + "ic-transport-types 0.37.1", + "ic-verify-bls-signature", + "k256 0.13.3", + "leb128", + "p256", + "pem 3.0.4", + "pkcs8 0.10.2", + "rand", + "rangemap", + "reqwest", + "ring 0.17.8", + "rustls-webpki 0.102.3", + "sec1 0.7.3", + "serde", + "serde_bytes", + "serde_cbor", + "serde_repr", + "sha2 0.10.8", + "simple_asn1", + "thiserror", + "time", + "tokio", + "tower", + "url", +] + [[package]] name = "ic-agent" version = "0.38.0" @@ -2689,7 +2747,7 @@ dependencies = [ "http 1.1.0", "http-body 1.0.0", "ic-certification 2.5.0", - "ic-transport-types", + "ic-transport-types 0.38.0", "ic-verify-bls-signature", "k256 0.13.3", "leb128", @@ -2728,7 +2786,7 @@ dependencies = [ "futures-intrusive", "globset", "hex", - "ic-agent", + "ic-agent 0.38.0", "ic-utils 0.38.0", "itertools 0.10.5", "json5", @@ -2811,8 +2869,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b1da6a25b045f9da3c9459c0cb2b0700ac368ee16382975a17185a23b9c18ab" dependencies = [ "candid", - "ic-cdk-macros", - "ic0", + "ic-cdk-macros 0.13.2", + "ic0 0.21.1", + "serde", + "serde_bytes", +] + +[[package]] +name = "ic-cdk" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd8ecacd682fa05a985253592963306cb9799622d7b1cce4b1edb89c6ec85be1" +dependencies = [ + "candid", + "ic-cdk-macros 0.16.0", + "ic0 0.23.0", "serde", "serde_bytes", ] @@ -2827,10 +2898,24 @@ dependencies = [ "proc-macro2", "quote", "serde", - "serde_tokenstream", + "serde_tokenstream 0.1.7", "syn 1.0.109", ] +[[package]] +name = "ic-cdk-macros" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d4d857135deef20cc7ea8f3869a30cd9cfeb1392b3a81043790b2cd82adc3e0" +dependencies = [ + "candid", + "proc-macro2", + "quote", + "serde", + "serde_tokenstream 0.2.2", + "syn 2.0.61", +] + [[package]] name = "ic-certificate-verification" version = "2.4.0" @@ -2906,7 +2991,7 @@ dependencies = [ "candid", "candid_parser", "hex", - "ic-cdk", + "ic-cdk 0.13.5", "ic-certification 2.5.0", "ic-certification-testing", "ic-crypto-tree-hash", @@ -3076,7 +3161,7 @@ name = "ic-frontend-canister" version = "0.2.5" dependencies = [ "candid", - "ic-cdk", + "ic-cdk 0.13.5", "ic-certified-assets", ] @@ -3121,7 +3206,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe9975ba49e50ccf10d8268b168b9a35da165904f56725a333e8294d7e5f1d92" dependencies = [ "hex", - "ic-agent", + "ic-agent 0.38.0", "pkcs11", "sha2 0.10.8", "simple_asn1", @@ -3215,6 +3300,23 @@ dependencies = [ "wsl", ] +[[package]] +name = "ic-transport-types" +version = "0.37.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "875dc4704780383112e8e8b5063a1b98de114321d0c7d3e7f635dcf360a57fba" +dependencies = [ + "candid", + "hex", + "ic-certification 2.5.0", + "leb128", + "serde", + "serde_bytes", + "serde_repr", + "sha2 0.10.8", + "thiserror", +] + [[package]] name = "ic-transport-types" version = "0.38.0" @@ -3294,7 +3396,7 @@ dependencies = [ "async-trait", "candid", "futures-util", - "ic-agent", + "ic-agent 0.38.0", "once_cell", "semver", "serde", @@ -3346,6 +3448,12 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a54b5297861c651551676e8c43df805dad175cc33bc97dbd992edbbb85dcbcdf" +[[package]] +name = "ic0" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de254dd67bbd58073e23dc1c8553ba12fa1dc610a19de94ad2bbcd0460c067f" + [[package]] name = "ic_bls12_381" version = "0.8.0" @@ -3416,7 +3524,7 @@ dependencies = [ "clap", "delay", "humantime", - "ic-agent", + "ic-agent 0.38.0", "ic-asset", "ic-utils 0.38.0", "libflate 1.4.0", @@ -4566,20 +4674,24 @@ dependencies = [ [[package]] name = "pocket-ic" -version = "4.0.0" -source = "git+https://github.com/dfinity/ic?rev=179973553248415fc85679d853b48b0e0ec231c6#179973553248415fc85679d853b48b0e0ec231c6" +version = "5.0.0" +source = "git+https://github.com/dfinity/ic?rev=3c76b9142f67da01393d9280c705f88b6e522a93#3c76b9142f67da01393d9280c705f88b6e522a93" dependencies = [ "base64 0.13.1", "candid", "hex", - "ic-cdk", + "ic-agent 0.37.1", + "ic-cdk 0.16.0", + "ic-transport-types 0.37.1", "reqwest", "schemars", "serde", "serde_bytes", + "serde_cbor", "serde_json", "sha2 0.10.8", "slog", + "thiserror", "tokio", "tracing", "tracing-appender", @@ -5613,6 +5725,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "serde_tokenstream" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64060d864397305347a78851c51588fd283767e7e7589829e8121d65512340f1" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "syn 2.0.61", +] + [[package]] name = "serde_urlencoded" version = "0.7.1" @@ -6113,18 +6237,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.60" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" +checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.60" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" +checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" dependencies = [ "proc-macro2", "quote", diff --git a/e2e/tests-dfx/create.bash b/e2e/tests-dfx/create.bash index 881bee09fa..fbbe866d4d 100644 --- a/e2e/tests-dfx/create.bash +++ b/e2e/tests-dfx/create.bash @@ -417,14 +417,15 @@ function textual_decode() { CANISTER_ID_BASE64="$(textual_decode "${CANISTER_ID}" | xxd -r -p | base64)" # fetch topology from PocketIC server TOPOLOGY="$(curl "http://127.0.0.1:$(dfx info replica-port)/instances/0/read/topology")" + echo "${TOPOLOGY}" # find application subnet id in the topology - for subnet_id in $(echo "${TOPOLOGY}" | jq keys[]) + for subnet_id in $(echo "${TOPOLOGY}" | jq '.subnet_configs | keys[]') do - SUBNET_KIND="$(echo "$TOPOLOGY" | jq -r ".${subnet_id}.\"subnet_kind\"")" + SUBNET_KIND="$(echo "$TOPOLOGY" | jq -r ".subnet_configs.${subnet_id}.\"subnet_kind\"")" if [ "${SUBNET_KIND}" == "Application" ] then # find the expected canister id as the beginning of the first canister range of the app subnet - EXPECTED_CANISTER_ID_BASE64="$(echo "$TOPOLOGY" | jq -r ".${subnet_id}.\"canister_ranges\"[0].\"start\".\"canister_id\"")" + EXPECTED_CANISTER_ID_BASE64="$(echo "$TOPOLOGY" | jq -r ".subnet_configs.${subnet_id}.\"canister_ranges\"[0].\"start\".\"canister_id\"")" fi done # check if the actual canister id matches the expected canister id diff --git a/nix/sources.json b/nix/sources.json index e14ac2bde3..9a74c1c6f1 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -2,71 +2,71 @@ "canister_sandbox-x86_64-darwin": { "builtin": false, "description": "The canister_sandbox binary. It must be updated together with the replica binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "1a0b0xbpqr68p6zffc0di3f6i3zzap5n1xyl6gcjgrhklilnmfxj", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "0y7zs1njdvzs971r0l1wjmbgwa4alc99mlqssd6lg67548g8pbdn", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/canister_sandbox.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/canister_sandbox.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-darwin/canister_sandbox.gz" }, "canister_sandbox-x86_64-linux": { "builtin": false, "description": "The canister_sandbox binary. It must be updated together with the replica binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "1rzy24mhrvx3whi130nifxwplpqh1k2r7ld00c5imkzcl4d1lcv4", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "1rb3r9h2pfqsvbdr716s7k9gh3by3c1ap5ab6jgg0qci6fyh5ls0", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/canister_sandbox.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/canister_sandbox.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-linux/canister_sandbox.gz" }, "compiler_sandbox-x86_64-darwin": { "builtin": false, "description": "The compiler_sandbox binary. It must be updated together with the replica binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "0a24bc330ym0prlfkghgbxmndvyh13cwxdf76pgikw6804d6s5a6", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "028vy5pz7m17rx10iqyj0qsnlns5qq6zxmplx0jc0gg9f8hdlmfd", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/compiler_sandbox.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/compiler_sandbox.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-darwin/compiler_sandbox.gz" }, "compiler_sandbox-x86_64-linux": { "builtin": false, "description": "The compiler_sandbox binary. It must be updated together with the replica binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "0wwwwvcyhyzcvril477bchbpif1a1s702fy4sv69ni9wz1vr25a6", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "0shc1l0k8b23rabln81vzfj17ah71dqji1dw44hhbm835gfz1sf9", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/compiler_sandbox.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/compiler_sandbox.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-linux/compiler_sandbox.gz" }, "ic-admin-x86_64-darwin": { "builtin": false, "description": "The ic-admin binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "004wk976w6dw6cd1k08c5ca7ylbdkjgqa28f3cwr6nghafq8ik1m", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "1r4rsmvj408l1cyb9ih59xf0dr0z708s9qwnlby0a1lcyfarbd0c", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/ic-admin.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/ic-admin.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-darwin/ic-admin.gz" }, "ic-admin-x86_64-linux": { "builtin": false, "description": "The ic-admin binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "1z5gnz7ydm86npbybcklcd0w0w7m3hniqln0rgqmr6frncj6d9kh", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "1q96fmqd0l5vqmvp0a9cm2rw3bgjr1xhvmyib00n5gks9ijivrgd", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/ic-admin.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/ic-admin.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-linux/ic-admin.gz" }, "ic-btc-adapter-x86_64-darwin": { "builtin": false, - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "0d85xfiwiffpsn1vdfid1bfb5qxss1n5kbj3fx8hhw3z34rgs65k", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "11z81llj7dk3p2xq4cdikic3gbpb25f4j1087fhdhwpsbjlrxiba", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/ic-btc-adapter.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/ic-btc-adapter.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-darwin/ic-btc-adapter.gz" }, "ic-btc-adapter-x86_64-linux": { "builtin": false, - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "0f2kwbgksgc0hzpxahxsfqsqv949cma3y40p4zmaafvqwx2ndarv", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "1s4m93ngbqpp5ab1qgb2g51hnk94jj7zsi9i7zl1psb9dgnkh5nz", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/ic-btc-adapter.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/ic-btc-adapter.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-linux/ic-btc-adapter.gz" }, "ic-btc-canister": { @@ -78,52 +78,52 @@ }, "ic-https-outcalls-adapter-x86_64-darwin": { "builtin": false, - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "0mizw7q2mmv1n8lby63n4w9x4lnkdxxq48dwhp6fhs1mlq59nvc5", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "1vskby9drh0jwyxafbnk11qj3pmf8p24hkcalr5d2m9s5lpigjhi", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/ic-https-outcalls-adapter.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/ic-https-outcalls-adapter.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-darwin/ic-https-outcalls-adapter.gz" }, "ic-https-outcalls-adapter-x86_64-linux": { "builtin": false, - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "0xivhcq195n0jrd67hmpsf5ab9rdcnylfq05799ym6qxx6pkmr69", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "1jcxr8lzgr77wm1d2ksfhv44nchqmx4dcgh2r0hbn4ck2zls1w6i", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/ic-https-outcalls-adapter.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/ic-https-outcalls-adapter.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-linux/ic-https-outcalls-adapter.gz" }, "ic-nns-init-x86_64-darwin": { "builtin": false, "description": "The ic-nns-init binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "0yg7mhcg98byxn69h32hb823r6sfm9nvz1i1gxl65w9516zsmppx", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "0pwm70vx0xbnv3kv4x64nszdihrx3kd7kwz9kid82v5xlpmlda0i", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/ic-nns-init.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/ic-nns-init.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-darwin/ic-nns-init.gz" }, "ic-nns-init-x86_64-linux": { "builtin": false, "description": "The ic-nns-init binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "095x9k6adarikw91g6c6p6l3mc0x92gyabclwicp7y587hw68app", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "00gvrh7iiv8wilhc39sarcaf5f5dsr5rcd5wy4rh8as7k39ykjki", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/ic-nns-init.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/ic-nns-init.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-linux/ic-nns-init.gz" }, "ic-starter-x86_64-darwin": { "builtin": false, - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "0a8mhbbsdgh2bs2hy3xawss6a4ig138hij5w1f2w4vwgagwfwj6w", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "1w1r21g5wbh0klzm59y30rx46z4izxblvp7jckddmqjsp98wwshm", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/ic-starter.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/ic-starter.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-darwin/ic-starter.gz" }, "ic-starter-x86_64-linux": { "builtin": false, - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "1m2p94hx12jxqby3s91k0aqb3iqy06xr6pdlkmi3dp7mq0bn0pny", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "1g0bvajccdaj3sjh9y28b7g6jlh841xs5n0xi76ffhzvxhkfvc1s", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/ic-starter.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/ic-starter.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-linux/ic-starter.gz" }, "motoko-base": { @@ -153,71 +153,71 @@ "version": "0.13.1" }, "pocket-ic-x86_64-darwin": { - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "0h4a96v20vvr5wlj3jixd0bfj22sczxl6q0cvcdwfv2irs7jfjxa", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "0ybw08pghwgcw3lqxgd41q0jc4qdyga2grcnfnqbiynrjrbyx8w9", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/pocket-ic.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/pocket-ic.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-darwin/pocket-ic.gz" }, "pocket-ic-x86_64-linux": { - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "1d7j76kv4zr8n58dhyrw5bvv945p9gkq7n9jxp2477rxg8932056", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "0a5s0vvyshg59h139lsxpikrvicml8az1rp5m1cwimh7djjc9acv", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/pocket-ic.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/pocket-ic.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-linux/pocket-ic.gz" }, "replica-x86_64-darwin": { "builtin": false, "description": "The replica binary. It must be updated together with the canister_sandbox binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "032c7nf0gdzqssbaxcp25f1fdgr9g7w49q5zl55by3rb0f7w227k", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "1i4ab9yjamip4ys969qy7q32qhh4dn7dzdljwwzbis78vh4crrzr", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/replica.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/replica.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-darwin/replica.gz" }, "replica-x86_64-linux": { "builtin": false, "description": "The replica binary. It must be updated together with the canister_sandbox binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "11cs8p01q8zz19smbc030pj14wh2i7fw84s3lrgg86qbvkpj5jzw", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "0vg22spwl8kz0dmknj7v88hgndv1qlvqby6ayb5hs8446rn73psh", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/replica.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/replica.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-linux/replica.gz" }, "sandbox_launcher-x86_64-darwin": { "builtin": false, "description": "The sandbox_launcher binary. It must be updated together with the replica binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "080dfr3kf0yash63n6d588sklxalzijd1x3c61xjvjnhs7vkkck3", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "01bzyx8faysx8mslvkiwcq21f3c5fbnhc73f703s22aav292afxv", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/sandbox_launcher.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/sandbox_launcher.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-darwin/sandbox_launcher.gz" }, "sandbox_launcher-x86_64-linux": { "builtin": false, "description": "The sandbox_launcher binary. It must be updated together with the replica binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "1b3igk4xg0g65701ig25vi122pm7wb4577cyh2qi7362pqp10dwy", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "128igib3yv995lznapd6x73lsnhnwpi0gf4vixia3413kr22kd1g", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/sandbox_launcher.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/sandbox_launcher.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-linux/sandbox_launcher.gz" }, "sns-x86_64-darwin": { "builtin": false, "description": "The sns binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "1rrml0xr3r57ixgg0km6d0jvmp1p8bfir9jv16wl8x7p4254ifqs", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "08grpjrxn7zzs3xvvfnds4h1vpwi4k7zlhzvs2jjk4ma064x0rdp", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/sns.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/sns.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-darwin/sns.gz" }, "sns-x86_64-linux": { "builtin": false, "description": "The sns binary.", - "rev": "0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a", - "sha256": "1m3vmb84hmwhxzpiik2rfdp70lr4id1jv9fip8p8ygxid4ira3yi", + "rev": "3c76b9142f67da01393d9280c705f88b6e522a93", + "sha256": "11lna989cdz371xy9ipgahdv4dsj4i9l44zagzjyvgq6rylfivi0", "type": "file", - "url": "https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/sns.gz", + "url": "https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/sns.gz", "url_template": "https://download.dfinity.systems/ic//binaries/x86_64-linux/sns.gz" } } diff --git a/src/dfx/Cargo.toml b/src/dfx/Cargo.toml index b87d9dc9a8..c41f86f13b 100644 --- a/src/dfx/Cargo.toml +++ b/src/dfx/Cargo.toml @@ -127,7 +127,7 @@ ci_info = "0.14" junction = "1.0.0" [target.'cfg(unix)'.dependencies] -pocket-ic = { git = "https://github.com/dfinity/ic", rev = "179973553248415fc85679d853b48b0e0ec231c6" } +pocket-ic = { git = "https://github.com/dfinity/ic", rev = "3c76b9142f67da01393d9280c705f88b6e522a93" } [dev-dependencies] env_logger = "0.10" diff --git a/src/dfx/assets/dfx-asset-sources.toml b/src/dfx/assets/dfx-asset-sources.toml index 73de34fc13..9dd71f3a95 100644 --- a/src/dfx/assets/dfx-asset-sources.toml +++ b/src/dfx/assets/dfx-asset-sources.toml @@ -1,25 +1,25 @@ # generated by write-dfx-asset-sources.sh -replica-rev = '0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a' +replica-rev = '3c76b9142f67da01393d9280c705f88b6e522a93' [x86_64-darwin.ic-admin] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/ic-admin.gz' -sha256 = '35cc88b053f05993391b0e09859f9c6d517f142b0c81191a33bc196e4e9a9c00' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/ic-admin.gz' +sha256 = '0cb49595f38c0605fca296e3a411381fe4065c4f05c6b43c0b14012277d599e4' [x86_64-darwin.ic-btc-adapter] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/ic-btc-adapter.gz' -sha256 = 'b318fd32197f7008517743ae596cd0bae3b2dc0a2dbab683d5d7b9c8a3eb0535' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/ic-btc-adapter.gz' +sha256 = '6ac59ea95cfa72d8a03b0804495c11ebae37589cb13182bbb863b623290de887' [x86_64-darwin.ic-https-outcalls-adapter] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/ic-https-outcalls-adapter.gz' -sha256 = '856d9b0aa63568e8cc85bc21827b6fd352d213277618bf28b261d72af0e13f56' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/ic-https-outcalls-adapter.gz' +sha256 = '11ca172f2d3a55d14aa68a4d48c445aede217108d32ea7bae712c0dc925f53ef' [x86_64-darwin.ic-nns-init] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/ic-nns-init.gz' -sha256 = 'fddeaabf0925f162687f2186bf6daa4e9b3c045a500c988ced7ea1f418ace779' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/ic-nns-init.gz' +sha256 = '11a846eba5bd6c815a9ce9f379da1c3dc3d8beb6c474b2e7d87675d03738955f' [x86_64-darwin.ic-starter] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/ic-starter.gz' -sha256 = 'dc48eef8538f6fc2850bbcc808d1082f1265b4e6aa0f0f855e02bea6d7821529' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/ic-starter.gz' +sha256 = '156ace51ba5ae2dada64f2dc4d57ff917c437a06c3a7523f9d002e5e5e1039f0' [x86_64-darwin.motoko] url = 'https://github.com/dfinity/motoko/releases/download/0.13.1/motoko-Darwin-x86_64-0.13.1.tar.gz' @@ -27,30 +27,30 @@ sha256 = '98549030e87d081ea86ab193adcce4c158c75cf525dea57773911d6c7b99e7bf' # The replica, canister_sandbox and compiler_sandbox binaries must have the same revision. [x86_64-darwin.replica] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/replica.gz' -sha256 = 'f308c18f032b0fbf4aa1bfe044f87929bfe6822be2b2ae96d6f8b7079c3d4c0c' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/replica.gz' +sha256 = 'f9e7cc08dce8e8b83ee792b6df8e6d04422c063e1e2793b4273756257d5a8ac4' # The replica, canister_sandbox and compiler_sandbox binaries must have the same revision. [x86_64-darwin.canister_sandbox] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/canister_sandbox.gz' -sha256 = 'b2bb6a69a413e627d933d4f760cb55ff8f68dc880d30e7beb9c8647c57070ba8' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/canister_sandbox.gz' +sha256 = 'b6ad8b1e22e598474dd31ad39a12a38a28fe56953c5090c349faef266dd0ff78' # The replica, canister_sandbox and compiler_sandbox binaries must have the same revision. [x86_64-darwin.compiler_sandbox] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/compiler_sandbox.gz' -sha256 = '46156d1a01c8f019df35c7b5ced908d0ef666b5f0fbee968bea07a30065b4428' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/compiler_sandbox.gz' +sha256 = 'cd55da2072e93dc024e8f4d6fe0dc6455b6a3506d2e30842cf27d4f36ff11b09' [x86_64-darwin.sandbox_launcher] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/sandbox_launcher.gz' -sha256 = '63b239f7d1d0ca2d7b306cf4d064fc54753a3542a5193b0cd4ca033747760d20' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/sandbox_launcher.gz' +sha256 = 'bb3b2592d84a09a107386e1c06ed72850d1704663cce4d75455d7be550f77f05' [x86_64-darwin.sns] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/sns.gz' -sha256 = '1abb488a20f77444b9095ba61cdd4237dcba2568a64ef05e8fa7e4913ba035e7' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/sns.gz' +sha256 = 'b765d08901aa9229a5d0fb43facf2491df1d20d1cdbabdfbd0ff1fdbb3bcf921' [x86_64-darwin.pocket-ic] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-darwin/pocket-ic.gz' -sha256 = 'aa4b278fce516cc71bdb0c6043fb675a08e916683dca21292f796f20b6498a40' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-darwin/pocket-ic.gz' +sha256 = '89a3ee5796d9fab8b07596e527d4f30d1326010ea4bd8ee9e0ec71f82e027c79' [x86_64-darwin.motoko-base] url = 'https://github.com/dfinity/motoko/releases/download/0.13.1/motoko-base-library.tar.gz' @@ -61,24 +61,24 @@ url = 'https://github.com/dfinity/bitcoin-canister/releases/download/release%2F2 sha256 = '09f5647a45ff6d5d05b2b0ed48613fb2365b5fe6573ba0e901509c39fb9564ac' [x86_64-linux.ic-admin] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/ic-admin.gz' -sha256 = '70a66624b3d9995cf1cbc0521c2d1cf570c0416374b2e5d7b506d5e6cfb7affc' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/ic-admin.gz' +sha256 = 'ede51d654c7abe620158d1d70d7bc8f2adc1b3a82c297077c5bb50d0707526e1' [x86_64-linux.ic-btc-adapter] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/ic-btc-adapter.gz' -sha256 = '3bab6645e7783ba5ea2717103f546589a48d3576ba43d5ef87803d3ddfe25338' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/ic-btc-adapter.gz' +sha256 = 'df1638ed6b69e91be83f3145fd8f94244d0b4379623d1c962af7e2f5ec4895e8' [x86_64-linux.ic-https-outcalls-adapter] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/ic-https-outcalls-adapter.gz' -sha256 = 'c9e43aafe91d9bea533a056047bd652da7a58ad3b7c2635a96c0961430833b76' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/ic-https-outcalls-adapter.gz' +sha256 = 'd1f0a0e9179311bb20c8023ed648af18324bc8864e4fd142e5e7e4f729ca9dc9' [x86_64-linux.ic-nns-init] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/ic-nns-init.gz' -sha256 = 'f72a64383ca8f87359e4942de59f481db03aa8b9869917129f31aba6cc4cbd24' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/ic-nns-init.gz' +sha256 = '71cae9d398472b0433f1bc34964bd6adb8e214cb4aa7c1208d1ced180fccfb01' [x86_64-linux.ic-starter] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/ic-starter.gz' -sha256 = 'de5e6017c0f5dc36629db45d93bb011ec7b1b00233243dfcc25d8ad0214957d4' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/ic-starter.gz' +sha256 = '3ab0ed26ecfb43e7cc891dd8a27b20085269de5948f804a51e5235c6a4da0bbc' [x86_64-linux.motoko] url = 'https://github.com/dfinity/motoko/releases/download/0.13.1/motoko-Linux-x86_64-0.13.1.tar.gz' @@ -86,30 +86,30 @@ sha256 = '69c99ce29424f7113db8b3c42f5703a9a10288fed998adc6fdd9c36263df267a' # The replica, canister_sandbox and compiler_sandbox binaries must have the same revision. [x86_64-linux.replica] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/replica.gz' -sha256 = 'fccb22efdc0b1bf45ea64313c4dd89027212e40503b055750aff231cc0459a85' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/replica.gz' +sha256 = '50df716c3684200dcbf2caf88537c56137fb2042fb483b6b037f22caaf16e26d' # The replica, canister_sandbox and compiler_sandbox binaries must have the same revision. [x86_64-linux.canister_sandbox] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/canister_sandbox.gz' -sha256 = '64331a1aa1eccf1a0b03a0d193c50c105f7a7977d1821122e4a3ef0c2b11fee7' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/canister_sandbox.gz' +sha256 = '40d302bd339161f09e344b95ab021b7e0df8d23cda8493dbda1abb2b60ca63e5' # The replica, canister_sandbox and compiler_sandbox binaries must have the same revision. [x86_64-linux.compiler_sandbox] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/compiler_sandbox.gz' -sha256 = '46159177f83c459bccd6c43b018e0e2ab8781764eb1c4263deec7be8d9e69c73' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/compiler_sandbox.gz' +sha256 = 'c9e9f0dd2b03d5052121bc8528710b07aa13a4fb3b204b97ca432c34010d0c6a' [x86_64-linux.sandbox_launcher] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/sandbox_launcher.gz' -sha256 = '9e37102ebec28c13b1809e9d53c8e2a75e2142dc45bc18c029e681d7c97c71ac' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/sandbox_launcher.gz' +sha256 = '2fb429449e2390a1628f9bb807e2e5165a4dc7e9a65d653f2d296d3f567c1189' [x86_64-linux.sns] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/sns.gz' -sha256 = 'd10f952369b13f8f2ebad1a52d438b2453706e7359cc18efef905748d0aa7bd4' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/sns.gz' +sha256 = '20eee8a8cf06bfede57fea134253245237b21b54efc6e47b38e3379650529686' [x86_64-linux.pocket-ic] -url = 'https://download.dfinity.systems/ic/0a6d829cddc1534c29e0d2c3c3ebd1024bff8d1a/binaries/x86_64-linux/pocket-ic.gz' -sha256 = 'a60031127a3d9f43c4ed32d983e74bb790b4f72a3c7bd850b1287fb2a739f2b4' +url = 'https://download.dfinity.systems/ic/3c76b9142f67da01393d9280c705f88b6e522a93/binaries/x86_64-linux/pocket-ic.gz' +sha256 = '9ba9c4a46c07d6c859a8e5e6f015a295c59d67bc5dd334024ce541edf706ba28' [x86_64-linux.motoko-base] url = 'https://github.com/dfinity/motoko/releases/download/0.13.1/motoko-base-library.tar.gz' diff --git a/src/dfx/src/actors/pocketic.rs b/src/dfx/src/actors/pocketic.rs index 3e8b2a8d3c..bac34f54ee 100644 --- a/src/dfx/src/actors/pocketic.rs +++ b/src/dfx/src/actors/pocketic.rs @@ -358,6 +358,7 @@ async fn initialize_pocketic( state_dir: Some(replica_config.state_manager.state_root.clone()), nonmainnet_features: true, log_level: Some(replica_config.log_level.to_ic_starter_string()), + bitcoind_addr: None, }) .send() .await? @@ -381,7 +382,7 @@ async fn initialize_pocketic( return Err(anyhow!("Internal error: PocketIC topology contains multiple subnets of the same subnet kind.")); } let subnet_id = subnets[0]; - let subnet_config = topology.0.get(&subnet_id).ok_or(anyhow!( + let subnet_config = topology.subnet_configs.get(&subnet_id).ok_or(anyhow!( "Internal error: subnet id {} not found in PocketIC topology", subnet_id ))?;