Skip to content

Commit

Permalink
chore: change to permanent cycles ledger url (#3457)
Browse files Browse the repository at this point in the history
Now that the cycles ledger repo is open-sourced we can use it as the place to download the cycles ledger wasm
  • Loading branch information
sesi200 authored Nov 29, 2023
1 parent 76d0f3e commit 0626571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/utils/cycles-ledger.bash
Original file line number Diff line number Diff line change
@@ -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() {
Expand All @@ -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

Expand Down

0 comments on commit 0626571

Please sign in to comment.