Skip to content

chore(deps): bump dfx to 0.32.0 (via snsdemo release-2026-06-10)#7903

Merged
yhabib merged 2 commits into
mainfrom
chore/bump-dfx-0.32.0
Jun 22, 2026
Merged

chore(deps): bump dfx to 0.32.0 (via snsdemo release-2026-06-10)#7903
yhabib merged 2 commits into
mainfrom
chore/bump-dfx-0.32.0

Conversation

@yhabib

@yhabib yhabib commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Motivation

Bump dfx to 0.32.0. dfx 0.32.0 reads a replica/pocket-ic state that the older snsdemo snapshot can't provide (CI fails with Error: Cannot find canister id), so the dfx bump has to come together with the matching snsdemo release.

release-2026-06-10 is the first snsdemo release built on dfx 0.32.0 (see dfinity/snsdemo#594), and it publishes its test snapshot as ubuntu-24.04.

Depends on #7905 (Linux runners / Docker base image on ubuntu 24.04), already merged.

Changes

  • dfx.json: dfx 0.31.00.32.0.
  • config.json: SNSDEMO_RELEASErelease-2026-06-10 (brings the snapshot generated with dfx 0.32.0).
  • start_dfx_snapshot: snapshot artifact snsdemo_snapshot_ubuntu-22.04.tar.xz…ubuntu-24.04.tar.xz, to match how snsdemo now publishes snapshots (since release-2026-06-03).
  • Regenerated the 4 e2e screenshot baselines for the new snapshot.

Tests

  • CI should pass.

Todos

  • Accessibility (a11y) – any impact?
  • Changelog – is it needed?

@yhabib yhabib requested a review from a team as a code owner June 8, 2026 13:30
@zeropath-ai

zeropath-ai Bot commented Jun 8, 2026

Copy link
Copy Markdown

No security or compliance issues detected. Reviewed everything up to 64f8c40.

Security Overview
Detected Code Changes
Change Type Relevant files
Configuration changes ► .github/actions/start_dfx_snapshot/action.yaml
    Update snapshot URL to ubuntu-24.04
► config.json
    Update SNSDEMO_RELEASE version
► dfx.json
    Update dfx version to 0.32.0

@yhabib yhabib force-pushed the chore/bump-dfx-0.32.0 branch 2 times, most recently from c16ce52 to b774e0d Compare June 8, 2026 14:02
@yhabib yhabib changed the base branch from main to ci/bump-ubuntu-24.04 June 8, 2026 14:03
@yhabib yhabib force-pushed the chore/bump-dfx-0.32.0 branch from b774e0d to 84a09ed Compare June 9, 2026 05:48
Base automatically changed from ci/bump-ubuntu-24.04 to main June 10, 2026 13:21
@yhabib yhabib force-pushed the chore/bump-dfx-0.32.0 branch 2 times, most recently from 470839c to 64f8c40 Compare June 11, 2026 09:33
@yhabib yhabib changed the title chore(deps): bump dfx to 0.32.0 chore(deps): bump dfx to 0.32.0 (via snsdemo release-2026-06-10) Jun 11, 2026
@yhabib

yhabib commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Blocked on dfinity/snsdemo#604.

All checks pass except the ckbtc.spec.ts › Test accounts requirements e2e test. Root cause is not in nns-dapp: dfx 0.32.0 renamed the local threshold-ECDSA key from dfx_test_keykey_1, but the ckBTC minter in the snsdemo release-2026-06-10 snapshot is still deployed with dfx_test_key, so get_btc_address traps and the "Get ckBTC" flow times out.

Holding this PR until a snsdemo release ships with the minter using key_1, then I'll bump SNSDEMO_RELEASE to that release.

@yhabib yhabib marked this pull request as draft June 12, 2026 13:27
yhabib added a commit to dfinity/snsdemo that referenced this pull request Jun 15, 2026
# Motivation

dfx 0.32.0 renamed the local threshold-ECDSA test key from
`dfx_test_key` to `key_1`. The ckBTC minter is still deployed with
`ecdsa_key_name = "dfx_test_key"`, so `get_btc_address` traps on
`ecdsa_public_key` with `ChainKeyError: Requested unknown threshold key
ecdsa:Secp256k1:dfx_test_key`. This breaks downstream consumers minting
test ckBTC against the snapshot and blocks the nns-dapp dfx 0.32.0 bump
(dfinity/nns-dapp#7903).

# Changes

- Switched the ckBTC minter `ecdsa_key_name` from `dfx_test_key` to
`key_1` to match the key dfx 0.32.0 provides.

Closes #604
@yhabib yhabib force-pushed the chore/bump-dfx-0.32.0 branch 2 times, most recently from 8822afe to 0c6ca16 Compare June 22, 2026 04:48
dfx 0.32.0 reads a replica/pocket-ic state that the older snsdemo
snapshot can't provide, so the dfx bump must come with the matching
snsdemo release (release-2026-06-10 is the first built on dfx 0.32.0).
That release also publishes the snapshot as ubuntu-24.04, so the
start_dfx_snapshot artifact name is updated to match.
@yhabib yhabib force-pushed the chore/bump-dfx-0.32.0 branch from 0c6ca16 to b9db3f7 Compare June 22, 2026 04:49
@yhabib yhabib marked this pull request as ready for review June 22, 2026 05:22
@zeropath-ai

zeropath-ai Bot commented Jun 22, 2026

Copy link
Copy Markdown

No security or compliance issues detected. Reviewed everything up to b9e9145.

Security Overview
Detected Code Changes
Change Type Relevant files
Configuration changes ► .github/actions/start_dfx_snapshot/action.yaml
    Update SNS demo snapshot URL to use ubuntu-24.04
► config.json
    Update SNSDEMO_RELEASE version
► dfx.json
    Update dfx version to 0.32.0

@yhabib yhabib added this pull request to the merge queue Jun 22, 2026
Merged via the queue into main with commit f2a5229 Jun 22, 2026
33 checks passed
@yhabib yhabib deleted the chore/bump-dfx-0.32.0 branch June 22, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants