Skip to main content

Upgrade a deployment to DALP 3.2

The operator runbook to move a self-hosted DALP 3.1 or 3.0 deployment to 3.2: backup, values to move, renamed workloads, the index rebuild and System updates.

This runbook moves a self-hosted DALP deployment from 3.1, or directly from 3.0, to 3.2 with Helm. Plan it as a maintenance window. The upgrade replaces the Platform API workloads and the workflow engine, does not carry running workflows across, and can be reversed only by restoring your pre-upgrade database backup (see Rolling back).

API, SDK and CLI changes are covered in Upgrade an integration to DALP 3.2. One change affects every API key holder: when a user resets their password, or a platform administrator sets it, 3.2 turns off all of that user's API keys, matching self-service password changes in 3.1.

Notify integration teams before the window and share Every password change turns off API keys. For details on the migration Job that runs on every upgrade, see Upgrades and migrations.

Which steps apply to you

Run helm list --namespace dalp and check the CHART column for your installed version. You can upgrade from 3.0 directly to 3.2 without installing 3.1 first.

A deployment on 3.1.19 or later follows the matching rows below. A deployment on 3.0 also completes Upgrading from 3.0. Earlier 3.1 patch releases need two of those items: legacy asset creation before 3.1.19, and Fireblocks Gas Station before 3.1.12.

Stage
Step
Who it applies to
1. Offline preparation
Every deployment with its own values file
1. Offline preparation
Every deployment
1. Offline preparation
Every deployment, unless exchangeRates.autoUpdate is false and no system has target currencies
1. Offline preparation
Deployments that use Fireblocks custody
1. Offline preparation
Deployments where an organisation uses Ripple custody
1. Offline preparation
Every deployment
1. Offline preparation
Every deployment
1. Offline preparation
Deployments on 3.0, or on a 3.1 release before 3.1.19, whose users issue the original asset families
1. Offline preparation
Every deployment
1. Offline preparation
Every deployment
1. Offline preparation
Deployments with account abstraction on
1. Offline preparation
Every deployment
1. Offline preparation
Deployments on 3.0, and the two early 3.1 cases above
2. Maintenance window
Every deployment
2. Maintenance window
Every deployment
2. Maintenance window
Deployments that ran a 3.2 pre-release build
2. Maintenance window
Every deployment
3. Immediate post-upgrade checks
Deployments where an organisation uses smart wallets
3. Immediate post-upgrade checks
Every deployment
3. Immediate post-upgrade checks
Every deployment
4. Per-organisation System updates
Immediately on Paymaster-paid networks, then per organisation as 3.2 contracts are needed
4. Per-organisation System updates
Organisations with maturity redemption features or original-family bonds

Complete Stage 1 ahead of the upgrade day and validate your values with helm template. On the day, open the maintenance window, drain in-flight operations, take the database backup, then run helm upgrade. A backup taken before the drain misses the records the drain writes.

Stage 1: Offline preparation and breaking configuration changes

Complete every applicable values, custody and policy change below before the maintenance window opens.

Move your values to the 3.2 chart

The 3.2 chart splits the Platform API into four roles inside one subchart and drops the subcharts that 3.1 ran beside it. Move every 3.1 key your values file sets:

3.1 values key
3.2 values key
dapi.resources, dapi.routesReplicaCount
dapi.v1.resources and dapi.v2.resources, and replicas under dapi.v1 and dapi.v2
didx.* (the indexer subchart)
dapi.indexerDeployment.*, with rebuild.enabled and rebuild.replicas for the rebuild pods
ddwf.* (the workflow subchart)
dapi.runnerDeployment.* for durable work and dapi.schedulerDeployment.* for scheduled work
docs.searchIndexing.*
global.searchIndexing.*
dapp.config.app.http.url
global.dalpApp.config.app.http.url, a literal https:// URL
global.dalpApp.config.networks.default.*
global.dalpApp.config.networks.mintnet.*. The default: true flag, not the key, marks the default network
global.dalpApp.config.platform.instance
global.dalpInstance, with global.deploymentEnvironment set to the environment
global.dalpApp.config.app.logOrpcRequests
global.dalpApp.config.app.logApiRequests
erpc, nodecore, global.rpcGateway
None. Remove them and set rpc.urls on each network (see Network endpoints below)
global.dalpApp.config.bundler.providerNativeSubmission
None. Remove it
global.dalpApp.config.signer.dfns.executionMode, global.dalpApp.config.signer.ripple.executionMode
None. Remove them
contractsDeploy.expectedDeployer
None. Remove it (see Contract deployment key below)

The chart fails the render on a config.app block under dapp or dapi, because the Console and Platform API must share one public URL from global.dalpApp.config.app. The chart ignores other leftover 3.1 keys silently, so delete them yourself.

A 3.1 dapi.resources block no longer sizes API pods, because dapi.v1.resources and dapi.v2.resources take precedence. Move your sizing to those keys and to the resources blocks of dapi.indexerDeployment, dapi.runnerDeployment and dapi.schedulerDeployment. dapi.routesReplicaCount is ignored: set replicas under dapi.v1 and dapi.v2. dapi.ingress, dapi.httpRoute, dapi.openShiftRoute and dapi.config keep their 3.1 meaning.

A 3.1 override under networks.default no longer reaches the shipped network, so move any RPC overrides to networks.mintnet. 3.2 ignores platform.instance and stamps every log, metric and trace with global.dalpInstance and global.deploymentEnvironment (both default to local). Set them to this deployment's name and environment (development, test, staging, demo or production).

Client addresses behind a proxy (trustedProxy.profile). The 3.1 chart read client addresses from NGINX forwarding headers. In 3.2, global.dalpApp.config.trustedProxy.profile names the proxy in front of the Console and the Investor portal: envoy, nginx or openshift. Left unset, the chart uses nginx when the Console is served through an Ingress. It refuses to render when an HTTPRoute (set envoy) or an OpenShift Route (set openshift) serves it, when no proxy is in front of a browser app, or when the profile is none while the Console or a portal is deployed. Under none every user would share one sign-in rate limit, keyed on the Console pod's address. Set the value to match your edge controller before you upgrade.

Network endpoints (rpc.urls and rpc.wsUrl). 3.1 routed calls through an in-cluster RPC gateway (rpc.url). 3.2 deploys no gateway: list your node endpoints directly in rpc.urls under each network in global.dalpApp.config.networks.

3.2 refuses any node endpoint resolving to a private or loopback address unless that network sets rpc.allowPrivateUpstreams: true (see Networks). Set rpc.wsUrl on every network as well. The 3.2 indexer follows each network over WebSocket (eth_subscribe newHeads) and does not fall back to HTTP polling.

Contract deployment key (contractsDeploy.expectedDeployer). The 3.1 contract-deployment job refused to run unless its key signed as the address in contractsDeploy.expectedDeployer. 3.2 removes that value and that check. Any key that holds the roles a run uses can sign it, so a deployment one key started can be finished by another and a deploy key can be retired after a release. See Contract deployment job for which key a first deploy makes the administrator and how a re-run with a new key behaves.

Directory administrator. The 3.2 contract-deployment run gives the contract directory an access manager and makes the key the job signs with its first administrator. That key must hold both the directory administrator role and the directory's root administrator role, or the run stops before sending anything. Before the upgrade, check that the key in the Secret or Conjur variable holds both, and grant the missing one on the directory if it does not. See Contract deployment job.

After the upgrade, a wallet recovery through the platform guardian is approved under the access manager's recovery guardian role, not by any root administrator of the directory. The key the job signs with holds that role from the run. An administrator of the access manager grants it to each other person who approves recoveries. The account factory, the identity factory and the global trusted issuers and verification topic registries check their administrator calls on the same access manager, so with maker-checker on, each such call needs an approved proposal. The maker-checker commands read where that setup stands, hand the roles from the deployment key to named people, and request, approve and send each checked step one at a time.

Custody execution mode. 3.2 removes DFNS_EXECUTION_MODE, RIPPLE_EXECUTION_MODE and BUNDLER_PROVIDER_NATIVE_SUBMISSION. Each custody provider declares how it signs on each network, and DALP uses that declaration automatically.

Removed environment variables. Remove these obsolete variables from any environment file or Secret you maintain:

  • DIDX_URL, DIDX_PORT, DIDX_HOSTNAME, DIDX_INTERNAL_HOSTNAME, DDWF_URL, DDWF_PORT, DDWF_HOSTNAME and DDWF_INTERNAL_HOSTNAME. The chart wires the internal addresses of all four roles itself.
  • DATABASE_POOL_MIN and DATABASE_POOL_MAX. 3.2 sizes one pool per role: DATABASE_POOL_MAX_API (40), DATABASE_POOL_MAX_INDEXER (24), DATABASE_POOL_MAX_RUNNER (16) and DATABASE_POOL_MAX_SCHEDULER (32). Verify the aggregate pool budget against PostgreSQL max_connections.

Set the values that 3.2 adds

3.1 had neither of these values, and the 3.2 upgrade fails until both are set:

  • global.dalpApp.env.DALP_GOVERNANCE_DOMAIN_SCOPE names the domain under which the deployment signs governance poll ballots. helm upgrade fails the render while it is empty or local. Set a unique name for this deployment (see Governance ballot domain).
  • global.dalpApp.env.CUSTODY_CREDENTIAL_IDENTITY_KEY hashes custodian credential identities and must be at least 32 characters long. Production pods refuse to start on the chart's development placeholder. Set a deployment-specific key and keep CUSTODY_CREDENTIAL_IDENTITY_KEY_ID at v1.

Name an exchange-rate source

3.2 ships no built-in exchange-rate source. Up to 3.1, a deployment that set no source read the public currency-api project from cdn.jsdelivr.net, with latest.currency-api.pages.dev as fallback. After the upgrade, a deployment that sets no source fetches and publishes no exchange rates. Existing rates then pass their staleness window, and valuations in those currencies stop. The platform also refuses to deploy a new system with target currencies, because each target currency needs a first rate.

Set global.dalpApp.config.exchangeRates.primaryUrl and fallbackUrl to two independent sources your organisation trusts that return the same response format. The environment variables EXCHANGE_RATE_API_PRIMARY_URL and EXCHANGE_RATE_API_FALLBACK_URL on the pods set the same two values. On every refresh the platform requests both sources and publishes the rates from the response with the later date, which must be a calendar day such as 2026-05-08. Because either source can set the published rate, pick two you trust equally. A currency that only one response quotes is used unchecked when that response has the later date or both share a date, and is skipped otherwise. When one source does not respond, the platform uses the other's rates alone and logs a warning. Pointing both URLs at the public project again restores the 3.1 source but gives no independent check, because both hosts serve the same publisher.

3.2 also holds back a refreshed rate that differs from the feed's current rate by more than the hold tolerance. Set the tolerance in global.dalpApp.config.exchangeRates.holdToleranceBps or EXCHANGE_RATES_HOLD_TOLERANCE_BPS, in basis points from 1 to 10000. The default is 1000, which is 10%. When the two sources differ on a currency by more than the same tolerance, the refresh skips that currency. The feed keeps its current rate until the source moves back within the tolerance. To release a held rate you have checked, raise the tolerance above the move, upgrade, wait for one refresh, then set it back. The hold does not apply to a feed's first rate, which the platform publishes when it deploys a new system or when someone adds a currency. See Exchange rates.

Update Fireblocks settings

3.2 refuses Fireblocks Raw signing requests by default before they reach Fireblocks: EVM operations sign as Typed Messages or send Contract Calls. Set FIREBLOCKS_ALLOW_RAW_SIGNING to "true" only if your workspace policy explicitly requires Raw signing.

3.2 also attaches a Fireblocks tag, named by FIREBLOCKS_DALP_VAULT_TAG_ID, to every vault account it creates. The policy rule allowing the DALP API user to sign from those vaults matches that tag. If the value is empty, new vaults carry no tag and hit the catch-all block rule.

Before the upgrade, create the tag, set FIREBLOCKS_DALP_VAULT_TAG_ID, tag every vault DALP created earlier, and verify your rules against Tag the DALP vaults.

Update Ripple policies

3.2 ships Ripple custody switched off (global.dalpApp.config.custody.providers.ripple.enabled: false, or CUSTODY_PROVIDER_RIPPLE_ENABLED=false). While it is off, existing Ripple configurations keep signing, new ones are refused, and pods whose SIGNER_PROVIDER is ripple refuse to start. Set it to true in your upgrade values if any organisation uses Ripple.

DALP names each operation in the Ripple intent's dalpKind property. 3.1 named most direct contract writes after the contract function (contract.grantRole), whereas 3.2 names them after the operation (system.grant-role or token.grant-role). 3.2 also sets dalpRolesUndescribed=true when it cannot list every role a change grants or revokes.

A Ripple policy matching 3.1 names stops matching after the upgrade, letting a fallback policy approve or block the intent. Update your policies before the upgrade using Operation names that changed from 3.1 to 3.2 and Policies for role changes.

Decide on Ask AI

3.2 adds Ask AI, a question-and-answer chat on the documentation site. By default, the docs chart reads its provider key from global.dalpApp.env.ASSISTANT_OPENROUTER_API_KEY through docs.openRouter.existingSecret and docs.openRouter.existingSecretKeys.apiKey.

Ask AI stays off while that key is empty. Setting the key for the Console assistant turns Ask AI on for anyone who can reach the documentation site, billed to that key. Rate limits are 10 questions a minute per client and 300 an hour overall, stored in Redis (global.dalpApp.env.REDIS_URL). Ask AI refuses questions while Redis is unreachable.

Pick one option in the same values change that sets the key:

  • Share the key: set ASSISTANT_OPENROUTER_API_KEY and keep the default docs.openRouter settings.
  • Keep Ask AI off: set docs.openRouter.existingSecret to "" and leave docs.openRouter.apiKey empty.
  • Use a separate key: point docs.openRouter.existingSecret and docs.openRouter.existingSecretKeys.apiKey at a Secret you manage.

See Ask AI provider key for the exact value combinations.

The assistant starts off

The assistant is new in 3.2, and it starts off in every organisation. The platform-wide assistant switch starts on, and setting the platform key does not turn the assistant on for an organisation. While an organisation's assistant is off, watchers do not run, and their findings stay out of the Actions inbox until the assistant is on. The hosted MCP server has its own switch, MCP server under Organisation settings → Assistant, which is off by default. Once an owner or a platform administrator turns it on, the server serves connected apps whether the assistant is on or off, as long as the platform-wide assistant switch is on. The dalp CLI and its local dalp --mcp server work whether the assistant is on or off.

To use the assistant, an organisation owner or a platform administrator turns it on under Organisation settings → Assistant. The assistant is experimental in 3.2, so how it works can still change.

Decide on legacy asset creation

The seven original asset families (bond, equity, fund, stablecoin, deposit, real-estate and precious-metal) cannot be created unless legacy asset creation is switched on. Requests to create those tokens or install their factories are refused, and new organisations receive no factories for them. Existing tokens and factories stay on chain untouched.

This switch shipped in 3.1.19 (false by default). Deployments on 3.1.19 or later keep their existing value. Deployments on 3.0 or on 3.1 before 3.1.19 lose the ability to issue these families unless you set global.dalpApp.config.features.legacyAssetCreation: "true" (or FEATURE_LEGACY_ASSET_CREATION=true) in your upgrade values.

Decide on the offerings surfaces

The Console displays the Offerings sidebar item and issuer offering pages only when global.dalpApp.config.features.tokenSale is true and the organisation has deployed the token sale add-on.

3.0 and 3.1 shipped tokenSale: false, whereas 3.2 ships tokenSale: true. A values file that omits this key therefore switches offerings on at upgrade. An overlay that sets tokenSale: false keeps them off.

The same switch controls fund dealing (subscriptions, redemptions and dealing-day settlement): with it false, the Dealing tab, the Dealing requests card and the Funds section of Invest do not appear. Corporate actions do not depend on it, except a rights issue adding holders to an active sale. Check your overlay and set tokenSale explicitly to true or false.

Decide which application layers to switch on

3.2 gates its application layers under global.dalpApp.config.features. The Secondary market (tradingVenue), Reporting and finance operations (regulatoryReporting) and Market surveillance (surveillance) ship off by default. A switched-off module hides its screens and its routes return 404. Set each licensed module's switch to true (see Switch application layers on or off).

The bank rail is new in 3.2 and uses global.dalpApp.config.bankFix.enabled (false by default). To connect a real bank, set bankFix.enabled: "true", set bankFix.mode: external and configure your bank's FIX acceptor address (see Bank rail). Without external, the rail runs its test simulator.

Multi-signer wallets belong to the Self-custody module (features.custodyOps, on by default). Setting it to false restricts wallets to one signer with threshold 1 and rejects larger signer sets with HTTP 403 DALP-12261 (MULTISIG_NOT_ENABLED). When an organisation owner switches Self-custody off, a larger signer set is refused with HTTP 403 platform.module.DISABLED (DALP-20531, data.module: custodyOps). See Multisig.

Check that the custody provider signs user operations

At startup, the API, runner, indexer and scheduler pods verify that SIGNER_PROVIDER can sign on every enabled network. When account abstraction is enabled, they also verify that it signs user operations for smart wallets.

A provider that cannot sign user operations prevents pods from starting, logging the chain ID and Set SIGNER_PROVIDER to a provider that signs user operations. A deployment that runs without account abstraction can set FEATURE_ACCOUNT_ABSTRACTION=false instead. Confirm provider coverage for every enabled network before the upgrade, or set FEATURE_ACCOUNT_ABSTRACTION=false.

Prepare the custody census

The 3.2 migration Job runs a custody census to record which custodian holds each existing wallet before moving wallets to custody accounts. It archives wallets that hold no signing key.

If the census cannot prove the custodian of any other wallet, the Job fails with The custody census still has <n> unresolved row(s) and blocks the upgrade. If your deployment still has the legacy transaction signer database from before 3.1, set TXSIGNER_DATABASE_URL under dapp.migrator.env. Only the migration Job reads that database, using it to match DFNS or Fireblocks wallets.

Upgrading from 3.0

A 3.0 deployment upgrading directly to 3.2 needs every step above plus these 3.1-era checks in the same values change:

  • Legacy asset creation. Decide whether to keep issuing the seven original asset families (see Decide on legacy asset creation).
  • Custody records per organisation. Keep SIGNER_PROVIDER and its credentials pointed at the custodian holding existing keys during the upgrade, and check Prepare the custody census for TXSIGNER_DATABASE_URL.
  • Data sealed under an earlier password. If the migration Job stops with ENCRYPTION_PREVIOUS_MASTER_PASSWORD is required, pass the old password in dapp.migrator.env.ENCRYPTION_PREVIOUS_MASTER_PASSWORD so the Job re-seals those rows under ENCRYPTION_MASTER_PASSWORD (see Encryption at rest).
  • Fireblocks Gas Station. Since 3.1.12, new Fireblocks vaults enrol in Gas Station by default. If your workspace has no Gas Station configured, set FIREBLOCKS_AUTO_FUEL: "false", because a rejected vault creation cannot be retried.
  • Network defaults for DFNS and Fireblocks. DFNS_DEFAULT_NETWORK (default Ethereum) and FIREBLOCKS_DEFAULT_ASSET_ID choose the network when a request names none and carries no mapped chain ID (see Which network a DFNS wallet is created on and Which asset a Fireblocks wallet is created on). On testnets, set both explicitly, such as EthereumSepolia and ETH_TEST5, because wallets bind to their network at creation.
  • Integrations. Apply the 3.0 API client changes in Upgrade an integration to DALP 3.2.

Stage 2: Maintenance window

Execute these steps in order during the agreed maintenance window.

Finish in-flight work

3.2 replaces the 3.0/3.1 workflow engine. No 3.2 component reads the old engine's state, so any workflow still running at cutover stops permanently.

Because DALP has no global freeze switch, coordinate a quiet window with operators and automated clients. Wait until every transaction request, issuance run, corporate action run, invitation and identity recovery reaches a final state:

  • GET /api/v2/transaction-requests lists transaction requests and their status.
  • GET /api/v2/token-issuance-runs/{runId} reads an issuance run.
  • GET /api/v2/tokens/{assetId}/corporate-actions lists an asset's corporate action runs.

Also stop KYC profile submissions, edits and approvals. The migration Job copies each person's 3.1 KYC profile into one profile per organisation and drops the old shared profile in one run, while the 3.1 pods still serve. A KYC change made while the Job runs is lost.

Take a recovery point

A Helm rollback does not reverse database migrations (see Rolling back). Once all in-flight work has drained, take a full database backup and retain it until the 3.2 deployment is verified. See Backup and disaster recovery for the full backup scope.

Check the starting state

The 3.2 migration Job accepts a 3.1 or 3.0 database, a fresh database, or a database that finished every migration of a 3.2 pre-release build (logging "Recorded the 3.2 baseline as applied").

A partially migrated 3.2 pre-release database is unsupported and fails the Job with SquashedBaselinePartiallyApplied, leaving the database untouched. Either finish the pre-release migration Job first, or restore your 3.1/3.0 backup and upgrade from there.

Run the Helm upgrade

Run helm upgrade with --wait so the post-rollout catch-up migration waits until the new workloads are ready:

helm upgrade dalp oci://pkg.distribution.settlemint.com/settlemint/dalp \
  --version <3.2 chart version> \
  --namespace dalp \
  --values my-values.yaml \
  --wait

Under the default pre hook, the migration Job finishes before Helm replaces workloads, and a catch-up run follows the rollout. Verify every 3.2 Deployment finishes rolling out:

for d in dalp-api-v1 dalp-api-v2 dalp-indexer dalp-indexer-rebuild dalp-runner dalp-scheduler dalp-dapp; do
  kubectl rollout status deployment/"$d" --namespace dalp
done

Omit dalp-indexer-rebuild if dapi.indexerDeployment.rebuild.enabled is false (for example on the OpenShift overlay).

Bundles a 3.2 pre-release build left unreadable

If smart-wallet writes were still in flight when you upgraded from a 3.2 pre-release build, a runner can log one of these errors about every 30 seconds until the repair below runs:

  • A mined bundle could not be rebuilt after a restart; its operations stay unsettled until it can be read. The bundle's transaction is on chain, but DALP has not recorded its operations as settled.
  • A live bundle could not be rebuilt after a restart; its nonce stays reserved. The bundle's transaction is still pending (verdict pending), or DALP could not read its state (verdict unresolved). Later bundles from the same bundler wallet wait behind its nonce.
  • A held bundle DALP cannot read back was dropped by every configured node; its nonce stays held for an operator. No configured node knows the bundle's transaction any more, and later bundles from the same bundler wallet wait behind its nonce.

These errors appear when a pod of the pre-release build stored a smart-wallet operation without two gas fields that 3.2 requires, after the migration Job had run. When you keep the default chart values dapp.migrator.hookType: pre and dapp.migrator.catchUp.enabled: true and run helm upgrade --wait, you take no action. The catch-up migration Job adds the two missing fields once the old pods are gone, and changes nothing the wallet signed. It logs Repaired stored user operation bodies missing gas fields with category backfill-user-operation-gas-fields, and a count greater than 0 means it repaired stored operations. On its next pass the runner rebuilds the bundle, handles it like any other bundle it sent, and stops logging the error.

  • With dapp.migrator.hookType: post, the migration Job already runs after the rollout, so you take no action either.
  • With dapp.migrator.catchUp.enabled: false, or when you ran helm upgrade without --wait, run the same helm upgrade --wait again once the rollout has finished.
  • With dapp.migrator.hookType: none, or when you run the migrator outside the chart, run the migrator again once the rollout has finished.

The mined and live errors carry the log fields bundle_id, nonce, lane, signer, chain_id, cause and verdict, plus operation when one operation is at fault. The dropped error carries code, lane, nonce, chain_id, state and reason. If an error still appears after the catch-up Job or your own second migrator run has finished, keep the full log line and contact SettleMint support.

The repair covers bundles only. A smart-wallet operation that a pod of the pre-release build prepared in that window, before it went into a bundle, fails with SIGNING_FAILED, and its sender submits it again.

Renamed workloads and removed gateway

With the default dapi.fullnameOverride of dalp-dapi, 3.2 replaces the 3.1 workloads as follows:

3.1 workload
3.2 Deployments
dalp-dapi
dalp-api-v1 for /api/v1, dalp-api-v2 for /api/v2
dalp-didx
dalp-indexer, plus dalp-indexer-rebuild for index rebuilds
dalp-ddwf-v<version>
dalp-runner and dalp-scheduler
dalp-dapp
dalp-dapp (unchanged)

The API Services become dalp-api (serving /api/v2) and dalp-api-v1. Update any external alerts, dashboards, custom NetworkPolicies, HPAs or in-cluster clients that name dalp-dapi, dalp-didx, dalp-erpc or dalp-nodecore.

Because 3.2 deploys no RPC gateway, the upgrade removes dalp-erpc, dalp-nodecore and their Services, Ingresses and Routes. Move egress rules for RPC traffic onto the API, indexer, runner and scheduler pods, which dial rpc.urls directly. The upgrade also enables postgres-exporter, which opens one direct database session.

Remove retained 3.1 workflow resources

Helm creates the 3.2 workloads and removes the 3.1 ones in the same release, except the 3.1 workflow Deployment, Service and ConfigMap, which carry Helm's keep policy. Once dalp-runner is ready, delete those leftover 3.1 objects (substitute your 3.1 version tag for <version>):

kubectl get deployments,services,configmaps --namespace dalp | grep dalp-ddwf
kubectl delete deployment,service dalp-ddwf-v<version> --namespace dalp
kubectl delete configmap dalp-ddwf-v<version>-config --namespace dalp

The upgrade leaves the old workflow engine's persistent volumes and object storage data intact. Delete that data only after you no longer need a rollback path to 3.1.

Stage 3: Immediate post-upgrade checks

Check the bundler wallet of each smart-wallet organisation

Do this before you run System updates or reopen traffic. An organisation that uses smart wallets sends every smart-wallet operation, including the writes of System updates, through a bundler wallet on each network. Until a network has one, those operations wait unsent. The Wallet type card on Transaction funding shows whether an organisation uses smart wallets.

For each such organisation, open Networks and look at the Bundler wallet column of each active network. A row that shows Create bundler wallet instead of an address has no bundler wallet. To create one, an organisation owner or platform administrator selects Create bundler wallet or calls POST /api/v2/organizations/networks/bundler. Their wallet must hold Permission manager on that network's system. When the new wallet needs gas, select Fund on its funding request on Transaction funding.

The migration Job carries an organisation's 3.1 bundler wallet into 3.2 when the organisation's custody provider is the platform key store. It binds the same key and address on the organisation's default network, so the wallet keeps its balance. The Job does not carry the wallet when:

  • the custody provider is any other provider, such as DFNS, Fireblocks, Luna HSM, Ripple Custody or Utila
  • the organisation has no active default network, or has no 3.1 custody configuration or more than one
  • the platform key store configuration cannot open an account on that network
  • the 3.1 bundler settings cannot be read, or another account already holds the address

For each wallet it leaves behind, the Job logs a warning in the backfill-legacy-bundler-bindings category with the reason and, when it knows one, the chain ID. The warning repeats on every later run of the Job until the default network has a bundler wallet. When the organisation already has a bundler wallet, the Job keeps it and logs the 3.1 wallet's address at info level. The 3.1 wallet stays with the organisation's custody provider, together with its balance.

Once an operation is queued on a network that has no bundler wallet, the platform logs an error in the execution.bundler.binding-missing category with the chain ID, at most once a minute for each organisation and network. An empty log does not prove a network has a bundler wallet: check Networks.

Verify the upgrade

Run these checks right after helm upgrade returns:

  1. Confirm the 3.2 chart revision is deployed and the removed 3.1 workloads are gone:

    helm history dalp --namespace dalp
    kubectl get deployments --namespace dalp

    dalp-dapi, dalp-didx and dalp-erpc must no longer appear. If dalp-ddwf-v<version> still appears, delete it with the commands in Stage 2.

  2. Confirm both /api/v1 and /api/v2 route through your Ingress, Route or HTTPRoute and return 200:

    curl -fsS -o /dev/null -w "v1: %{http_code}\n" "https://<console-host>/api/v1/spec.json"
    curl -fsS -o /dev/null -w "v2: %{http_code}\n" "https://<console-host>/api/v2/spec.json"
  3. Check pod readiness directly with kubectl port-forward when diagnosing a routing or dependency issue:

    kubectl port-forward -n dalp svc/dalp-api 3001:3001 &
    curl -fsS http://127.0.0.1:3001/readyz
  4. Confirm every enabled network reaches Healthy under Platform status → Data freshness once the index rebuild finishes.

Watch the index rebuild

3.2 changes how chain data is indexed, so the first start builds a new index beside the existing one. The existing index serves reads while the new index replays each enabled network's history, and DALP promotes the new index only once it catches up. A successful helm upgrade does not mean the rebuild has finished.

Rebuild duration depends on network count, block history, RPC throughput and database speed. Track progress in three places:

  • Console: open Platform status, open the Data freshness detail view, and wait for each network to move from “Reindexing” to “Healthy”.
  • Metrics: watch dalp_indexer_build_progress_ratio (0 to 1), dalp_indexer_build_failures_total and dalp_indexer_promotion_age_seconds.
  • API clients: callers sending Prefer: dalp-fail-on-indexer-reindexing on POST /api/v2/organizations, POST /api/v2/organizations/bootstrap, POST /api/v2/invitations or POST /api/v2/invitation-acceptances receive a retryable HTTP 503 (platform.http.REINDEXING, DALP-12331) with Retry-After, data.retryAfterSeconds, data.rebuildProgressPercent, data.rebuildStartedAt and data.rebuildSecondsRemaining.

Stage 4: Per-organisation System updates

Run System updates

The Helm upgrade updates the platform workloads, not each organisation's on-chain contracts. Existing systems keep running on their current contracts until an organisation runs System updates on each network it uses (apart from Paymaster-paid networks, which must run System updates immediately as noted in Stage 3). Operations refused while a Paymaster-paid network waited sign with a fresh ticket on retry.

Review active wallet restrictions before running System updates

On networks whose release directory includes the wallet restriction module, the 3.2 run installs that system-wide compliance rule and writes every active wallet restriction into it. Every active restriction then blocks the wallet across every token in the system, even if it was originally scoped to named tokens.

Server logs record each token-scoped restriction the run promotes, with its restriction ID. Before starting the run, have the organisation owner and compliance team review active restrictions and lift any that must not apply system-wide:

  • GET /api/v2/restrictions?filter[status]=active lists active restrictions (organisation owner, platform administrator or Compliance manager only).
  • GET /api/v2/restrictions/{restrictionId} shows the tokens each restriction targets.

The signing wallet must hold the Compliance manager role to install the module and write restrictions. Without it, the run finishes its other steps and leaves the “Wallet restriction enforcement” row in “Needs compliance manager” (see The wallet restriction row).

What stays unavailable until System updates finishes

Until an organisation runs System updates on a network:

  • 3.2 factories and add-ons are absent, including holds, supply delegation, interest and dividend yield, distribution waterfalls, register lines, document anchoring and the custody gateway add-on.
    • Attaching a missing feature returns HTTP 409 TOKEN_FEATURE_FACTORY_NOT_FOUND (DALP-9465).
    • Creating a token from a template needing one returns HTTP 409 TOKEN_CREATE_FEATURE_FACTORY_NOT_REGISTERED (DALP-207901), and Issue asset flags the template (every system template uses holds).
    • Reading the custody gateway returns HTTP 404 GATEWAY_ADDON_NOT_DEPLOYED (DALP-9813).
    • Anchoring a document returns HTTP 409 ANCHOR_WRITE_REFUSED (DALP-0749).
    • A System manager can install individual factories from Factories (Factories), except the custody gateway add-on, which requires System updates or POST /api/v2/system/addon-factories.
  • Self-initialising add-ons require the 3.2 add-on registry. Installing an add-on that creates its own identity from Factories or POST /api/v2/system/addon-factories is refused before signing until System updates upgrades the add-on registry. Reactivating an archived add-on already in the registry is not refused.
  • Wallet restrictions remain token-by-token freezes, which a Custodian role holder can lift directly on the token contract outside DALP (see On-chain enforcement).
  • Data steps remain pending: missing price feeds, verification topic trust, topic scheme updates, investor eligibility signatures, escrow claims, smart-wallet infrastructure and editable copies of shipped reporting obligations.

Move recovered holders' units before maturity

Maturity redemption features that still run the pre-3.2 contract, and every bond of the original bond asset family that Decide on legacy asset creation lists, pay a redemption to the wallet that holds the units. When an identity recovery leaves units on the wallet it marked lost, whoever holds the lost wallet's key can redeem them and collect the redemption value. On an original-family bond, anyone can start that redemption for the holder. The 3.2 feature contract pays the holder's newest wallet instead, the one their latest recovery produced.

A recovery that left units behind lists them under “Tokens not recovered” in its summary. Have a Custodian of the token run Recover lost wallet as soon as such a recovery finishes. Recover lost wallet also works after maturity, but once a token has matured the lost wallet's key can redeem before the Custodian's move confirms. An Emergency holder can mature a feature token early at any time, so do not wait for the maturity date. Original-family bonds never move to a new contract, so their Custodians keep running Recover lost wallet after the upgrade.

When the holder's replacement wallet was itself lost in a later recovery, Recover lost wallet is refused. Move the units with Forced transfer to the holder's newest wallet instead.

System updates finishes even when it cannot move the features. The features have moved only when the organisation's System updates screen shows “Up to date” for the Maturity Redemption add-on. “Upgrade available” or “Not verified” there means they have not. A run that skipped the move also logs “Addon factories skipped for instance-implementation update” on the server. Until the row shows “Up to date”, keep running Recover lost wallet after each recovery that leaves units behind.

If a redemption paid a lost wallet after the recovery, the payment cannot be reversed. Record the amount, the transaction and the holder, and leave the issuer to decide whether to pay the holder from its own funds.

Start the run

An Admin or System manager opens System updates in the Console and reviews components marked “Upgrade available” or “Not installed”. Only a System manager starts the run, and the platform refuses the start when the signing wallet lacks the System manager role on chain. A step that needs a further role, such as the Compliance manager role for the wallet restriction module, runs only when the signing wallet holds it too. Otherwise the run finishes the other steps, the step's row names the missing role, and a later run signed by a wallet with the role finishes the step. Contract updates written on chain cannot be undone (see System updates).

The run also upgrades each system's access manager to the 3.2 release, which adds the role block list. It marks the organisation's operations wallet and the system contract as the two wallets that can never be blocked. For an organisation with no operations wallet on that network, the run stops at this step before the access manager changes. Assets created after the run follow the same block list: a blocked wallet cannot use the roles it holds on them. The run then links each asset created before it to the system when it can prove which token factory created the asset. A linked asset follows the block list too, and an asset it cannot link does not, so revoke a blocked wallet's roles on that asset by hand. The run sets no approval rule on any asset, so asset role changes need no second person after it.

An earlier run that stopped on the organisation smart wallet

On a 3.2 release candidate, a System updates run stopped for an organisation that kept its 3.1 smart wallet. The error read “The organisation smart wallet is controlled by <address>, not the org Vault EOA <address>”. That run created a second organisation key and added it to the management keys of the organisation identity.

Run System updates again on the 3.2 release. The run takes the key that controls the existing smart wallet as the organisation key and creates no new key. It then removes the second key from the management keys of the organisation identity. The run needs an active, eligible custody account for the original key, with a platform signing key. Without one, it stops with “organisation smart wallet not provisioned”, as System updates troubleshooting describes.

The custody account of the second key stays active on the organisation. The run does not archive it, and the Console offers no action that archives an organisation's own custody account.

Roles an earlier run gave the organisation smart wallet

On a 3.2 release candidate, a System updates run on an organisation that uses smart wallets gave the organisation's smart wallet every system role the signing wallet of the person who ran it held, Permission manager included. The 3.2 release gives that wallet no role, and running System updates again does not remove the roles an earlier run gave.

A Permission manager removes them on Roles and permissions: select Use specific wallet instead and enter the address of the organisation's smart wallet, which appears among the holders of each of those roles on the Roles tab. Clear every role except Permission manager and save, then remove Permission manager from that wallet the same way. When the organisation smart wallet is the last usable holder of Permission manager, grant it to a person first. After that, working as the organisation carries no system role, so members take actions that need a role while they work as themselves.

Rolling back

helm rollback restores the Kubernetes manifests of the previous release. It does not reverse database migrations, restore the 3.1 workflow engine's state, or undo on-chain System updates runs. Rolling back manifests alone leaves 3.1 pods running against a 3.2 schema.

To return to 3.1, restore the pre-upgrade database backup first, then run helm rollback. The backup also brings back the 3.1 bundler wallet settings, which the migration Job removes when it carries the wallet or finds that the organisation already has one. Any operation executed on 3.2 after the backup disappears from the database while its on-chain effects remain on the ledger. Reconcile restored database records against the ledger before reopening traffic (see Point-in-time recovery and Rolling back after a bad upgrade).

Was this page helpful?