From 0626571032b7f68b016e3d68cc7a428c74166be8 Mon Sep 17 00:00:00 2001 From: Severin Siffert Date: Wed, 29 Nov 2023 13:17:49 +0100 Subject: [PATCH] chore: change to permanent cycles ledger url (#3457) Now that the cycles ledger repo is open-sourced we can use it as the place to download the cycles ledger wasm --- e2e/utils/cycles-ledger.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/utils/cycles-ledger.bash b/e2e/utils/cycles-ledger.bash index c58fa1cde2..0409faa0e4 100644 --- a/e2e/utils/cycles-ledger.bash +++ b/e2e/utils/cycles-ledger.bash @@ -1,7 +1,7 @@ CYCLES_LEDGER_VERSION="0.2.1" build_artifact_url() { - echo "https://raw.githubusercontent.com/dfinity/sdk/cycles-ledger-prerelease/cycles-ledger-v$CYCLES_LEDGER_VERSION/${1}" + echo "https://github.com/dfinity/cycles-ledger/releases/download/cycles-ledger-v$CYCLES_LEDGER_VERSION/${1}" } downloaded_cycles_ledger_canisters_dir() { @@ -22,7 +22,7 @@ download_cycles_ledger_canisters() { for name in cycles-ledger cycles-depositor; do for ext in wasm.gz wasm.gz.sha256 did; do URL=$(build_artifact_url "${name}.${ext}") - curl -v --fail -o "$DOWNLOAD_DIR/${name}.${ext}" "$URL" + curl -v -L --fail -o "$DOWNLOAD_DIR/${name}.${ext}" "$URL" done done