From 979662aafb152bfd856f2a174547d09b164bb429 Mon Sep 17 00:00:00 2001 From: DFINITY bot <58022693+dfinity-bot@users.noreply.github.com> Date: Mon, 13 Nov 2023 10:03:27 +0100 Subject: [PATCH 1/2] chore: Update Bitcoin Canister to release/2023-10-13 (#3439) Co-authored-by: github-actions --- nix/sources.json | 12 ++++++------ src/dfx/assets/dfx-asset-sources.toml | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/nix/sources.json b/nix/sources.json index 72e8ea5b82..deb446e03e 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -6,10 +6,10 @@ "homepage": "https://rustsec.org", "owner": "RustSec", "repo": "advisory-db", - "rev": "0c251c3c9a1b08e08ef5946d4c2d133fe1bc213e", - "sha256": "1nqzy1ky570zdkkdc9q7cpi5ys9cxnkyjhzvic1fzfcrrlz92kzd", + "rev": "0f4e16f7cd4339870985903cde44ea45ffe265c5", + "sha256": "03692n3y0q1ig2bp7dvpppkyn155rqjidhwxndla108q5bgw4p2y", "type": "tarball", - "url": "https://github.com/RustSec/advisory-db/archive/0c251c3c9a1b08e08ef5946d4c2d133fe1bc213e.tar.gz", + "url": "https://github.com/RustSec/advisory-db/archive/0f4e16f7cd4339870985903cde44ea45ffe265c5.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "canister_sandbox-x86_64-darwin": { @@ -66,11 +66,11 @@ }, "ic-btc-canister": { "owner": "dfinity", - "sha256": "0izvazr0cpdwjga12zim2cwp3rgm5n3w7ag5yplfl8rxrhwk65f4", + "sha256": "1b34jpxkk72h07ls0fspwrgmndmj7xhlivdhn82msvgz8mx69x89", "type": "file", - "url": "https://github.com/dfinity/bitcoin-canister/releases/download/release%2F2023-03-31/ic-btc-canister.wasm.gz", + "url": "https://github.com/dfinity/bitcoin-canister/releases/download/release%2F2023-10-13/ic-btc-canister.wasm.gz", "url_template": "https://github.com/dfinity/bitcoin-canister/releases/download//ic-btc-canister.wasm.gz", - "version": "release%2F2023-03-31" + "version": "release%2F2023-10-13" }, "ic-https-outcalls-adapter-x86_64-darwin": { "builtin": false, diff --git a/src/dfx/assets/dfx-asset-sources.toml b/src/dfx/assets/dfx-asset-sources.toml index a44888a10e..72d769dad7 100644 --- a/src/dfx/assets/dfx-asset-sources.toml +++ b/src/dfx/assets/dfx-asset-sources.toml @@ -56,8 +56,8 @@ url = 'https://github.com/dfinity/motoko/releases/download/0.10.1/motoko-base-li sha256 = '27563ee89ad2b6c24642ccd9b569836cef2a0316d33bc3d2b4cc61ed7ec1017e' [x86_64-darwin.ic-btc-canister] -url = 'https://github.com/dfinity/bitcoin-canister/releases/download/release%2F2023-03-31/ic-btc-canister.wasm.gz' -sha256 = 'c4153339cc3d23eae8f5e5a9c3872df5e5713913357e11d493bc5d06f257fb47' +url = 'https://github.com/dfinity/bitcoin-canister/releases/download/release%2F2023-10-13/ic-btc-canister.wasm.gz' +sha256 = '09f5647a45ff6d5d05b2b0ed48613fb2365b5fe6573ba0e901509c39fb9564ac' [x86_64-linux.ic-ref] url = 'https://download.dfinity.systems/ic-ref/ic-ref-0.0.1-a9f73dba-x86_64-linux.tar.gz' @@ -114,5 +114,5 @@ url = 'https://github.com/dfinity/motoko/releases/download/0.10.1/motoko-base-li sha256 = '27563ee89ad2b6c24642ccd9b569836cef2a0316d33bc3d2b4cc61ed7ec1017e' [x86_64-linux.ic-btc-canister] -url = 'https://github.com/dfinity/bitcoin-canister/releases/download/release%2F2023-03-31/ic-btc-canister.wasm.gz' -sha256 = 'c4153339cc3d23eae8f5e5a9c3872df5e5713913357e11d493bc5d06f257fb47' +url = 'https://github.com/dfinity/bitcoin-canister/releases/download/release%2F2023-10-13/ic-btc-canister.wasm.gz' +sha256 = '09f5647a45ff6d5d05b2b0ed48613fb2365b5fe6573ba0e901509c39fb9564ac' From 24d46decdb2df6052580cdeb8bde8935225f2016 Mon Sep 17 00:00:00 2001 From: DFINITY bot <58022693+dfinity-bot@users.noreply.github.com> Date: Tue, 14 Nov 2023 12:56:31 +0100 Subject: [PATCH 2/2] chore: update Motoko version to 0.10.2 (#3441) ## Suggested [CHANGELOG.md](https://github.com/dfinity/sdk/edit/chore-update-motoko-0.10.2/CHANGELOG.md) changes ``` ## Dependencies ### Motoko Updated Motoko to [0.10.2](https://github.com/dfinity/motoko/releases/tag/0.10.2) --- CHANGELOG.md | 6 +++++- nix/sources.json | 24 ++++++++++++------------ scripts/workflows/provision-darwin.sh | 3 ++- scripts/workflows/provision-linux.sh | 3 ++- src/dfx/assets/dfx-asset-sources.toml | 16 ++++++++-------- 5 files changed, 29 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e459166cb6..eab86c5ab8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,7 +43,7 @@ Added the following subcommands: ### Motoko -Updated Motoko to [0.10.1](https://github.com/dfinity/motoko/releases/tag/0.10.1) +Updated Motoko to [0.10.2](https://github.com/dfinity/motoko/releases/tag/0.10.2) ### Frontend canister @@ -70,6 +70,10 @@ This incorporates the following executed proposals: - [124858](https://dashboard.internetcomputer.org/proposal/124858) - [124857](https://dashboard.internetcomputer.org/proposal/124857) +### Bitcoin canister + +Updated Bitcoin canister to [release/2023-10-13](https://github.com/dfinity/bitcoin-canister/releases/tag/release%2F2023-10-13) + # 0.15.1 ### feat: Added support for reserved_cycles and reserved_cycles_limit diff --git a/nix/sources.json b/nix/sources.json index deb446e03e..e73f22befb 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -6,10 +6,10 @@ "homepage": "https://rustsec.org", "owner": "RustSec", "repo": "advisory-db", - "rev": "0f4e16f7cd4339870985903cde44ea45ffe265c5", - "sha256": "03692n3y0q1ig2bp7dvpppkyn155rqjidhwxndla108q5bgw4p2y", + "rev": "3338fcfb59cea5fcd7d2a4e7fe24cbc7cb778003", + "sha256": "0fw5xrzafv061jj3lzrnqarbjcm1irzvl338yhkzw1k8firmki7d", "type": "tarball", - "url": "https://github.com/RustSec/advisory-db/archive/0f4e16f7cd4339870985903cde44ea45ffe265c5.tar.gz", + "url": "https://github.com/RustSec/advisory-db/archive/3338fcfb59cea5fcd7d2a4e7fe24cbc7cb778003.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "canister_sandbox-x86_64-darwin": { @@ -160,27 +160,27 @@ "builtin": false, "description": "The Motoko base library", "owner": "dfinity", - "sha256": "0b8lsxb3j7qj6kzb32fbkf0a018jkisapcb8szwl8ad023lv3xv3", + "sha256": "12z4mr3r63nnncjqxrsxjhr1z2p8adg7zp48wbacb42jhs0mkfvl", "type": "tarball", - "url": "https://github.com/dfinity/motoko/releases/download/0.10.1/motoko-base-library.tar.gz", + "url": "https://github.com/dfinity/motoko/releases/download/0.10.2/motoko-base-library.tar.gz", "url_template": "https://github.com/dfinity/motoko/releases/download//motoko-base-library.tar.gz", - "version": "0.10.1" + "version": "0.10.2" }, "motoko-x86_64-darwin": { "builtin": false, - "sha256": "1inc2x9misqazgswfz7irvsjp4dkvab87j66yklnvy51w6pi3r7b", + "sha256": "1x49qwzrxc6dj5gik2hpi8l3xdnggqj2v9yvb6sfb7ff6gx3avc6", "type": "file", - "url": "https://github.com/dfinity/motoko/releases/download/0.10.1/motoko-Darwin-x86_64-0.10.1.tar.gz", + "url": "https://github.com/dfinity/motoko/releases/download/0.10.2/motoko-Darwin-x86_64-0.10.2.tar.gz", "url_template": "https://github.com/dfinity/motoko/releases/download//motoko-Darwin-x86_64-.tar.gz", - "version": "0.10.1" + "version": "0.10.2" }, "motoko-x86_64-linux": { "builtin": false, - "sha256": "11jx3r0lw41x7xqajqqc7s9wvkr9kfpg5h38vr9bcvwfndg49flc", + "sha256": "1a1yv2awrd053qk3h9a34y887j2vfhb0ckrk25kjjx4ifdygp8ys", "type": "file", - "url": "https://github.com/dfinity/motoko/releases/download/0.10.1/motoko-Linux-x86_64-0.10.1.tar.gz", + "url": "https://github.com/dfinity/motoko/releases/download/0.10.2/motoko-Linux-x86_64-0.10.2.tar.gz", "url_template": "https://github.com/dfinity/motoko/releases/download//motoko-Linux-x86_64-.tar.gz", - "version": "0.10.1" + "version": "0.10.2" }, "replica-x86_64-darwin": { "builtin": false, diff --git a/scripts/workflows/provision-darwin.sh b/scripts/workflows/provision-darwin.sh index 38fb86c9ab..73df981f86 100755 --- a/scripts/workflows/provision-darwin.sh +++ b/scripts/workflows/provision-darwin.sh @@ -27,7 +27,8 @@ if [ "$E2E_TEST" = "tests-dfx/certificate.bash" ]; then brew install mitmproxy fi if [ "$E2E_TEST" = "tests-dfx/deps.bash" ]; then - cargo install ic-wasm + cargo install cargo-binstall + cargo binstall -y ic-wasm fi # Exit temporary directory. diff --git a/scripts/workflows/provision-linux.sh b/scripts/workflows/provision-linux.sh index 9e2b26f111..f00de0f386 100755 --- a/scripts/workflows/provision-linux.sh +++ b/scripts/workflows/provision-linux.sh @@ -36,7 +36,8 @@ if [ "$E2E_TEST" = "tests-dfx/identity_encryption.bash" ] || [ "$E2E_TEST" = "te sudo apt-get install --yes expect fi if [ "$E2E_TEST" = "tests-dfx/deps.bash" ]; then - cargo install ic-wasm + cargo install cargo-binstall + cargo binstall -y ic-wasm fi # Set environment variables. diff --git a/src/dfx/assets/dfx-asset-sources.toml b/src/dfx/assets/dfx-asset-sources.toml index 72d769dad7..5cd20632b0 100644 --- a/src/dfx/assets/dfx-asset-sources.toml +++ b/src/dfx/assets/dfx-asset-sources.toml @@ -30,8 +30,8 @@ url = 'https://download.dfinity.systems/ic/80a6745673a28ee53d257b3fe19dcd6b7efa9 sha256 = 'd42213aea42f1ae55623e7e437ef683e99c0a3a98c1bae7dc24db7c1577005e9' [x86_64-darwin.motoko] -url = 'https://github.com/dfinity/motoko/releases/download/0.10.1/motoko-Darwin-x86_64-0.10.1.tar.gz' -sha256 = 'ebe411afe1a1f86de9f4c6c88396dab3912bf5cef17cc7f5fb0aeb585317ccc6' +url = 'https://github.com/dfinity/motoko/releases/download/0.10.2/motoko-Darwin-x86_64-0.10.2.tar.gz' +sha256 = '866d35fa33ce9de5b459dba72d247ecfb63e288a178a195f91cdb09e3fc789f4' # The replica and canister_sandbox binaries must have the same revision. [x86_64-darwin.replica] @@ -52,8 +52,8 @@ url = 'https://download.dfinity.systems/ic/80a6745673a28ee53d257b3fe19dcd6b7efa9 sha256 = '73a6d72d82025abb58c28d6ada411ac40ed5b482017f409133f7ac5562899990' [x86_64-darwin.motoko-base] -url = 'https://github.com/dfinity/motoko/releases/download/0.10.1/motoko-base-library.tar.gz' -sha256 = '27563ee89ad2b6c24642ccd9b569836cef2a0316d33bc3d2b4cc61ed7ec1017e' +url = 'https://github.com/dfinity/motoko/releases/download/0.10.2/motoko-base-library.tar.gz' +sha256 = 'cfa7950a3f452b0d8f42320061be09176a7aecee5a7851d913a1517a8116fd46' [x86_64-darwin.ic-btc-canister] url = 'https://github.com/dfinity/bitcoin-canister/releases/download/release%2F2023-10-13/ic-btc-canister.wasm.gz' @@ -88,8 +88,8 @@ url = 'https://download.dfinity.systems/ic/80a6745673a28ee53d257b3fe19dcd6b7efa9 sha256 = 'eb5ea6cd768fda12d00f370665db132d66c262b35f1a513c2807f78881c1cb7a' [x86_64-linux.motoko] -url = 'https://github.com/dfinity/motoko/releases/download/0.10.1/motoko-Linux-x86_64-0.10.1.tar.gz' -sha256 = '8cba445eb38e6fb652de68c0f2ae9b29cfcd933e0c63a9703f3d104e411e5d86' +url = 'https://github.com/dfinity/motoko/releases/download/0.10.2/motoko-Linux-x86_64-0.10.2.tar.gz' +sha256 = 'daa3fb7c739174296711334f0616745bc8839027432538261e05b4cc95d83ea8' # The replica and canister_sandbox binaries must have the same revision. [x86_64-linux.replica] @@ -110,8 +110,8 @@ url = 'https://download.dfinity.systems/ic/80a6745673a28ee53d257b3fe19dcd6b7efa9 sha256 = 'a9e30c500fb108ab5247db0827868fb74914939a04519d08943440f12b020db8' [x86_64-linux.motoko-base] -url = 'https://github.com/dfinity/motoko/releases/download/0.10.1/motoko-base-library.tar.gz' -sha256 = '27563ee89ad2b6c24642ccd9b569836cef2a0316d33bc3d2b4cc61ed7ec1017e' +url = 'https://github.com/dfinity/motoko/releases/download/0.10.2/motoko-base-library.tar.gz' +sha256 = 'cfa7950a3f452b0d8f42320061be09176a7aecee5a7851d913a1517a8116fd46' [x86_64-linux.ic-btc-canister] url = 'https://github.com/dfinity/bitcoin-canister/releases/download/release%2F2023-10-13/ic-btc-canister.wasm.gz'