Skip to content

chore: migrate rust/threshold-ecdsa to icp-cli#1410

Draft
marc0olo wants to merge 1 commit into
masterfrom
chore/migrate-rust-threshold-ecdsa-to-icp-cli
Draft

chore: migrate rust/threshold-ecdsa to icp-cli#1410
marc0olo wants to merge 1 commit into
masterfrom
chore/migrate-rust-threshold-ecdsa-to-icp-cli

Conversation

@marc0olo

Copy link
Copy Markdown
Member

Summary

  • Replaces dfx.json with icp.yaml using @dfinity/rust@v3.3.0
  • Moves src/ecdsa_example_rust/backend/, renames package to backend
  • Migrates management canister ECDSA calls from removed ic_cdk::api::management_canister::ecdsa to ic-cdk-management-canister = "0.1.1"
  • Updates Makefile with numbered test target calling icp canister call backend
  • Updates test.sh to use icp canister call instead of dfx canister call
  • Adds rust-threshold-ecdsa CI job to the existing threshold-ecdsa.yml workflow (container ghcr.io/dfinity/icp-dev-env-rust:1.0.0)
  • Deletes dfx.json, BUILD.md, .devcontainer/, stale Cargo.lock
  • Preserves domain-specific README content: key ID variants, derivation path explanation, signing model, secp256k1 verification example

Test plan

  • icp network start -d && icp deploy succeeds in rust/threshold-ecdsa/
  • make test passes: public key returned, signature returned, secp256k1 verification passes
  • CI job rust-threshold-ecdsa passes in the workflow

🤖 Generated with Claude Code

Replace dfx.json with icp.yaml (@dfinity/rust@v3.3.0), move
src/ecdsa_example_rust/ to backend/, update Cargo.toml to workspace +
backend package named "backend", migrate management canister ECDSA calls
to ic-cdk-management-canister, update Makefile/test.sh/README for
icp-cli, add rust-threshold-ecdsa CI job to threshold-ecdsa workflow,
delete dfx.json, BUILD.md, .devcontainer/, and stale Cargo.lock.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant