Skip to content

fix(ckbtc): use key_1 ecdsa key name for dfx 0.32.0#605

Merged
yhabib merged 1 commit into
mainfrom
fix-ckbtc-minter-ecdsa-key-1
Jun 15, 2026
Merged

fix(ckbtc): use key_1 ecdsa key name for dfx 0.32.0#605
yhabib merged 1 commit into
mainfrom
fix-ckbtc-minter-ecdsa-key-1

Conversation

@yhabib

@yhabib yhabib commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

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

dfx 0.32.0 renamed the local threshold-ECDSA test key from
dfx_test_key to key_1. The ckBTC minter was still deployed with
ecdsa_key_name = "dfx_test_key", so get_btc_address trapped on
ecdsa_public_key with ChainKeyError: Requested unknown threshold
key ecdsa:Secp256k1:dfx_test_key.

Closes #604
@yhabib yhabib requested a review from a team as a code owner June 12, 2026 13:35
@yhabib yhabib enabled auto-merge (squash) June 14, 2026 05:52
@yhabib yhabib merged commit f2fb32e into main Jun 15, 2026
17 checks passed
@yhabib yhabib deleted the fix-ckbtc-minter-ecdsa-key-1 branch June 15, 2026 10:02
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.

ckBTC minter traps on get_btc_address since dfx 0.32.0: ecdsa key 'dfx_test_key' renamed to 'key_1'

2 participants