Proposal: Daml upgrade migration planner
OPENPull Request
daml-tooling
Development Fund Proposal Submission
Proposal file: /proposals/daml-upgrade-migration-planner.md
---
Summary
This proposal introduces the Daml Upgrade Migration Planner, a CLI-first common-good tool designed to automate and derisk smart contract upgrades on Canton. It connects to a live participant, evaluates existing package and vetting state against newly proposed DARs, and computes a deterministic, reviewable migration plan mapping out exact upload orders, multi-synchronizer vetting steps, and topology serials for safe rollback.
---
Checklist
- [x] Proposal file added under
/proposals/ - [x] Milestones and funding amounts defined
- [x] Acceptance criteria included
- [x] Alignment with Canton priorities described
---
Notes for Reviewers
- Focus on tooling over APIs: The tool wraps and orchestrates existing Canton primitives (
dpm upgrade-check,ValidateDarFile, and Admin APIdry_run) into a single planning workflow rather than re-inventing Daml-LF validation. - Bounded Scope: The tool strictly focuses on single-participant migration planning through JSON/Markdown output. Distributed multi-participant coordination and mutative release orchestration are explicitly framed as follow-up grant opportunities.
- Operational Realism: The design natively recognizes Canton's rollback asymmetry, planning for the fact that package uploads are irreversible, but vetting topology changes can be safely rolled back using CAS topology serials.