Skip to main content

System Version

A System Version is how far an organisation's on-chain components have advanced against the current module set, and migrating repoints those that fell behind.
Migrating repoints an organisation's own registry row, not the Directory's.A vessel labelled Organisation's add-on registry holds one focal row for an add-on, keyed by a fixed type id, xvp-settlement. The row's implementation pointer targets a quiet card labelled V1 implementation, superseded. An accent arrow labelled the migration call repoints this row shows the pointer moving to an emphasised card labelled V2 implementation, current, same id. A separate dashed note below states that installing this add-on again with that same type id instead fails, because a version bump updates the existing row rather than creating a second one.Organisation's add-on registryAdd-on registry rowtype id: xvp-settlementfixed, never changes.V1 implementationsupersededV2 implementationcurrent, same idthe migration callrepoints this rowInstalling this add-on again fails instead of adding a rowa version bump updates the row. It does not create a second one.Migrating repoints an organisation's own registry row, not the Directory's.A vessel labelled Organisation's add-on registry holds one focal row for an add-on, keyed by a fixed type id, xvp-settlement. Below it sits a quiet V1 implementation card marked superseded, and below that an emphasised V2 implementation card marked current, same id, reached by an accent arrow that bypasses the V1 card. A label beneath the V2 card names the mechanism as the call repointing the row. Outside the vessel, a dashed note states that installing this add-on again with that same type id instead fails, because a version bump updates the existing row rather than creating a second one.Organisation'sadd-on registryAdd-on registry rowtype id: xvp-settlementfixed, never changes.V1 implementationsupersededV2 implementationcurrent, same idthis call repoints the rowInstalling this add-on again failsinstead of adding a rowa version bump updates the row.It does not create a second one.

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:

API status
Console state
Meaning
up-to-date
“Up to date”
Deployed address matches the Directory, or the Directory defines no expectation for this component.
update-available
“Upgrade available”
A component is deployed, but its address differs from the Directory's current target.
new
“Not installed”
The Directory expects this component, and the organisation has not deployed it.

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:

Run state
Migration API reports
A second start request
Running
Running
Joins this run
Waiting
Running
Joins this run
Suspended
Running
Joins this run
Completed
Succeeded
Starts a new run
Failed
Failed
Starts a new 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.

  1. Review the release notes and current deployed state.
  2. Validate the upgrade against representative state on a local chain fork.
  3. Have an authorised operator start the migration.
  4. Complete signing policy approvals for each transaction.
  5. 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.”

Was this page helpful?