A type ID keys one Directory row and one organisation registry row, and migrating repoints only the organisation's row in place without adding a second.
Every component keeps one fixed type ID across versions, so a migration repoints the existing registry row instead of registering a competing entry.
DALP compares each deployed component against the Directory's current module set and shows “Up to date”, “Upgrade available”, or “Not installed” in the Console, plus two exception states.
Comparing requires the admin or System manager role, starting a migration requires the System manager role, and each migration runs as a signed background workflow that you validate before production.
Staying current is a repoint, not a rebuild
A system version shows whether an organisation's deployed smart contracts match the current module set in the network's Directory, the on-chain catalogue of current implementation addresses per component type.
Deployed contracts stay pinned to the implementations they launched with until an authorised operator starts a migration on System updates. Security fixes, new features, and newly standardised compliance controls reach an organisation's chain only when that migration runs.
Because a component's registry identity never changes, repointing updates contract logic in place without redeploying the organisation's system or changing contract addresses that counterparties already integrate against.
Starting a migration
Operators inspect and start migrations on System updates, which lists every component with its Component, State, Tokens affected, and Area (such as token factories, add-ons, or compliance modules). A step that needs a further role, such as the Compliance manager role for a global compliance module replacement or the verification policy manager role for the investor eligibility signatures, runs only when the signing wallet holds it. Otherwise the run skips that step, and any step that depends on it, and names the role.
Starting a migration signs on-chain transactions from the organisation's wallet and requires three checks first:
- The signing wallet holds the System manager role on the system's access manager. A caller with only the admin role is refused with “Starting a system update needs the system manager role.”
- The wallet holds the Organisation identity manager role on the system's access manager.
- The operator completes wallet verification, such as entering a transaction PIN.
A migration runs as a durable background workflow so operators can leave the page and return to live progress. If a migration is already running, waiting, or suspended for the organisation, a second start request joins that active run rather than launching a competing one.
How registry repointing works
Each organisation owns an on-chain add-on registry separate from the shared network Directory. Migrations update only the organisation's registry to match the Directory and never modify the Directory itself.
Every tracked component has a stable type ID (for example, the fixed hash of "xvp-settlement"). First-time installation calls registerSystemAddon, which reverts if that type ID is already registered and active (calling it on an archived type ID unarchives it). Upgrading instead calls setAddonImplementation to overwrite the implementation address stored at the existing row.
Add-on proxies resolve logic through that row on every call, so they adopt the new version immediately. Factory-style add-ons carry a separate instance implementation that the migration syncs in its own step, allowing the factory row and its deployed instances to lag independently while sharing one type ID. On chain, any wallet holding the System manager role can repoint a row in one call with no delay, so apply custody approvals where multi-party sign-off is required.
Status checks compare deployed addresses against the Directory's expected addresses:
The Console also reports “Needs compliance manager” when a global compliance module replacement lacks that role on the signing wallet, and “Not verified” when token versions cannot be read.
Reading migration status and runs
A comparison call returns components grouped identically to the Console with up-to-date, update-available, or new. Because the check compares addresses only, it indicates whether a repoint is available rather than what changed in the new logic. Review release notes or source diffs for behaviour changes.
The migration workflow tracks each run by organisation, allowing disconnected clients to reconnect and observe the same run:
A run transitions between running, waiting, and suspended until it finishes or fails. Retrying after a failure starts a new run rather than resuming the failed one. The workflow signs transactions through the organisation's configured submission signer per network, and if a signer cannot resolve, non-critical steps such as feed backfill degrade without aborting the whole run.
Three details affect what a migration updates:
- Experimental components: skipped by default and left pending unless the organisation opts in.
- Background-synced components: a small set of internal components repoint during migration without appearing as visible rows in the comparison table.
- Unsupported factory interfaces: if a factory-style add-on lacks the interface required for an instance update, the workflow logs the skip and continues without surfacing it in the Console.
Authorise and validate an upgrade before production
Both Console operators and authorised API callers can trigger migrations under the configured signing and approval policy. Validate every module set against representative state before upgrading production, such as on a local fork of the chain, because the migration API verifies permissions rather than running deployment-specific fork tests.
- Review the release notes and current deployed state.
- Validate the upgrade against representative state on a local chain fork.
- Have an authorised operator start the migration.
- Complete signing policy approvals for each transaction.
- Verify the workflow outcome and resulting component addresses.
Retain fork validation results, workflow outcomes, initiating actor details, and on-chain implementation-change events together with your change-approval record.
Frequently asked questions
Does migrating change a component's address that other systems integrate against?
No. Migrating overwrites the implementation address stored on the registry row while keeping the row's address and deployed proxy addresses unchanged. Review release notes for behaviour and interface compatibility before upgrading, because a stable address does not guarantee unchanged logic.
Can a chain skip a version and jump straight to the latest?
Yes. The registry compares its deployed address directly against the Directory's current target and repoints in one step. Check the release notes for any source-level assumptions the new implementation makes about prior state.
Do you have to start a migration to see whether a component has an update available?
No. Comparing reads current on-chain state without signing transactions or committing changes. It still requires the admin or System manager role on the selected wallet, and refuses callers without it with “System updates need the admin or system manager role.”