Skip to content

Integrate CDM contract deploy commands#196

Merged
charlesHetterich merged 9 commits into
mainfrom
integrate-cdm
May 21, 2026
Merged

Integrate CDM contract deploy commands#196
charlesHetterich merged 9 commits into
mainfrom
integrate-cdm

Conversation

@charlesHetterich
Copy link
Copy Markdown
Collaborator

@charlesHetterich charlesHetterich commented May 21, 2026

Summary

  • remove the legacy in-repo contract deployment flow from dot deploy --contracts and add CDM-backed dot contract deploy / dot contract install commands
  • call @dotdm/contracts directly for deploy so dot owns chain clients, signer selection, UI, and cleanup while CDM owns build/deploy/install logic
  • upgrade to current @dotdm/contracts / @dotdm/env registry defaults and stop relying on the deprecated registry export
  • route Asset Hub deploy/register through the selected dot signer and Bulletin metadata publish through the Bulletin allowance signer, including smart-contract allowance preflight for phone sessions
  • add --signer dev|phone for contract deploy; dev mode mirrors dot deploy --signer dev by using bulletin-deploy’s default mnemonic/env overrides unless --suri is passed
  • replace the legacy contract table with a compact CDM-style Ink table using shared UI primitives, full signer/registry/address display, and real links for registry txs + metadata CIDs

Known Limitation

  • dot contract deploy --signer phone / mobile signing is wired but not currently usable for real contract deploys: the Asset Hub deploy+register transaction payload is too large for the current mobile signer. Use --signer dev or --signer dev --suri <suri> until the mobile app supports larger Asset Hub contract deployment transactions.

Verification

  • pnpm format:check
  • pnpm lint:license
  • pnpm test
  • pnpm build

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 21, 2026

Dev build ready — try this branch:

curl -fsSL https://raw.githubusercontent.com/paritytech/playground-cli/main/install.sh | VERSION=dev/integrate-cdm bash

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 21, 2026

E2E Test Pass · ✅ PASS

Tag: e2e-ci-pr · Branch: integrate-cdm · Commit: 4a8d876 · Run logs

Cell Result Time
pr-deploy-frontend ✅ PASS 3m38s
pr-mod ✅ PASS 1m55s
pr-deploy-cdm ✅ PASS 2m01s
pr-init-session ✅ PASS 1m41s
pr-deploy-foundry ✅ PASS 0m42s
pr-preflight ✅ PASS 1m30s
pr-install ✅ PASS 0m45s
${{ matrix.cell }} ⏭️ SKIP 0m00s
${{ matrix.cell }} ⏭️ SKIP 0m00s

Sentry traces: view spans for this run

return `${(bytes / 1_000_000).toFixed(1)}MB`;
}

function truncateMiddle(value: string, maxLength: number): string {
@charlesHetterich charlesHetterich merged commit f2cbf56 into main May 21, 2026
19 checks passed
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