diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index cf1d036c..95358ba5 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -74,7 +74,7 @@ jobs: path: state.tar.xz retention-days: 3 demo_latest: - if: false # Claim that snsdemo works with the latest IC repo commit (true) or acknowledge that it doesn't (false). + if: true # Claim that snsdemo works with the latest IC repo commit (true) or acknowledge that it doesn't (false). runs-on: ${{ matrix.os }} strategy: fail-fast: false diff --git a/bin/dfx-network-deploy b/bin/dfx-network-deploy index e3578fa1..19ad31a5 100755 --- a/bin/dfx-network-deploy +++ b/bin/dfx-network-deploy @@ -56,6 +56,7 @@ if [[ "$DFX_NETWORK" == "local" ]]; then curl "https://download.dfinity.systems/ic/${DFX_IC_COMMIT}/canisters/sns-wasm-canister.wasm.gz" | gunzip >"${WASM_DIR}/sns-wasm-canister.wasm" dfx start --clean --background + dfx-nns-wasm-download --ic_commit "$DFX_IC_COMMIT" --download-dir "$(dfx cache show)/wasms" dfx nns install dfx-nns-import diff --git a/bin/dfx-nns-wasm-download b/bin/dfx-nns-wasm-download index 5999f871..663d35ee 100755 --- a/bin/dfx-nns-wasm-download +++ b/bin/dfx-nns-wasm-download @@ -28,7 +28,7 @@ help_text() { Default: '$DOWNLOAD_DIR' The download dir is printed on stdout for use by other programs. - --commit + --ic_commit Commit in the IC repo. Note: Not all commits are available as artifacts to download. @@ -54,7 +54,7 @@ while (($# > 0)); do } >&2 shift 1 ;; - --ic-commit) + --ic_commit) DFX_IC_COMMIT="$1" shift 1 ;; @@ -137,7 +137,7 @@ get_wasm governance-canister_test.wasm nns-governance.wasm governance-canister.w get_wasm ledger-canister_notify-method.wasm nns-ledger.wasm get_wasm root-canister.wasm nns-root.wasm get_wasm cycles-minting-canister.wasm nns-cmc.wasm -get_wasm lifeline.wasm nns-lifeline.wasm +get_wasm lifeline_canister.wasm nns-lifeline.wasm lifeline.wasm get_wasm sns-wasm-canister.wasm nns-sns-wasm.wasm get_wasm genesis-token-canister.wasm get_wasm identity-canister.wasm