Skip to content

Membership and governance changes

Change the membership or approval rules of an existing Decentralized Party. Keep access to the active contract state, and keep governance and Canton topology consistent.

This page covers Decentralized Parties. For other party types, use these guides:

Decentralization Manager tracks four related sets. A change to one set does not change the others.

SetWhat it controlsHow to change it
Governance membersDaml parties that can confirm governed actionsGovernanceRules self-management action
Namespace ownersKeys that authorize topology changes for the decentralized namespaceAdd-member or kick workflow
Hosting participantsCanton participants in the PartyToParticipant mappingAdd-member or kick workflow
Decentralization Manager peersNodes that can coordinate over the Noise transportPeer configuration

An additional proposer is separate again. An additional proposer can submit a domain action, but does not get a governance vote.

A Decentralized Party has three thresholds. The party page shows each one:

  • Threshold is the topology threshold. It is how many namespace owners must sign a topology change. The add-member, kick, and change-threshold workflows set it.
  • Confirmation Threshold is how many hosts must confirm each transaction that needs the party’s approval. The PartyToParticipant mapping holds it. By default it equals the topology threshold. Add-member and kick keep the two equal when they are already equal.
  • Gov Threshold is the governance threshold. It is how many member confirmations a governed action needs. The GovernanceRules contract holds it, and a core_self action changes it.

Keep the topology threshold and the confirmation threshold at or above the governance threshold. If one of them is lower, fewer organizations than a governance vote needs can act for the party. Decentralization Manager does not check this rule. Check all three thresholds after you deploy contracts, and after each change. These changes can break the rule:

  • Deploy Contracts sets the governance threshold. Its dialog suggests two thirds of the hosts, rounded up, with a minimum of 2. Unless the party has 3 hosts, this suggestion is higher than the default topology threshold.
  • A core_self action raises the governance threshold. Run Change Threshold afterwards to raise the other two.
  • A kick or a Change Threshold run lowers the topology threshold or the confirmation threshold below the governance threshold.
  • Confirm that every participating node is healthy, and that each pair of nodes lists the other as a peer.
  • Confirm that every node of the Decentralized Party runs the same release. The code itself accepts any peer that has the same wire version and reports version 0.1.9 or later.
  • Record the governance members, the governance threshold, the additional proposers, the namespace owners, the hosting participants, the topology threshold, and the peer records.
  • Record the pending governance actions and the active workflow runs.
  • Confirm the final governance threshold and the final topology threshold separately.
  • Confirm that the remaining governance members and namespace owners can meet both final thresholds after a removal.
  • Back up the persistent data of each node, and follow your Canton backup procedure.
  • Test the exact change on DevNet with the same release and Canton version.
  • Plan one run at a time for each party. A node refuses to start a kick, add-member, change-threshold, or contracts run for a party that already has a run in progress on that node. The node counts its runs in either role, as coordinator or as peer. The refusal says “already has a … workflow in flight”. Runs for different parties can run at the same time. The guard is local to each node. Decentralization Manager does not stop two different nodes from coordinating conflicting runs on the same party.
GoalRequired operationDoes not do
Add a voter onlyAdd a GovernanceRules memberDoes not host the Decentralized Party on another participant
Add a host and namespace ownerRun the add-member workflowDoes not add the new member party to GovernanceRules
Remove a voter onlyRemove a GovernanceRules memberDoes not remove a hosting participant or peer record
Remove a host and namespace ownerRun the kick workflowDoes not remove the member party from GovernanceRules
Change topology approvalsRun the change-threshold workflowDoes not change the governance threshold
Change governance approvalsExecute a core_self threshold actionDoes not change the topology threshold
Grant or revoke propose-only accessExecute an additional-proposer core_self actionDoes not grant a vote or topology authority
  1. Complete the add-member workflow. See Add a member to a Decentralized Party.
  2. Verify that the new participant is active and holds the party’s contracts.
  3. Store the party credentials on the new participant’s node, and grant its Canton rights. See the Party credentials section of Authentication and operator roles.
  4. Add the new member party to GovernanceRules.
  5. Raise the topology threshold with Change Threshold if the plan counts the new participant.
  6. Verify that the new governance member can read, confirm, and execute only the intended actions.

This order grants a vote only after the new participant can see the state that the vote is about.

Remove a participant and a governance member

Section titled “Remove a participant and a governance member”
  1. Complete or cancel the pending governance actions.
  2. Remove the departing member party from GovernanceRules, and set a valid final governance threshold.
  3. Verify that the remaining governance members can govern the application.
  4. Run the kick workflow with a valid final topology threshold.
  5. Revoke the peer, identity-provider, Canton, and operational access that is no longer necessary.

This order keeps the departing participant available while the governance change still needs it.

The add-member workflow adds a participant as a namespace owner and a host, then copies the party’s contracts to it. Add a member to a Decentralized Party has the full procedure. Three rules matter for planning:

  • Threshold. The new topology threshold must be between 1 and the current number of namespace owners. The new participant does not count, because it cannot sign until its contract import completes. To count it, run Change Threshold after the add completes.
  • Downtime. The new participant leaves the synchronizer when it signs the proposals. It reconnects after the contract import ends. While it is disconnected, every party on that participant pauses, not only this party. The existing hosts keep running.
  • Recovery. When a run fails, click Retry on the coordinator. Do not cancel the run, and do not reconnect the new participant by hand.

The governance member is a Daml party. It can differ from the Canton participant ID that the topology workflow uses.

Set GOV_THRESHOLD to the final governance threshold. Each eligible member then confirms the same core_self action from its own node:

Terminal window
curl -X POST "$DECPM_URL/governance/confirm" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"party_id": "joint-party::1220...",
"rules_contract_id": "<governance-rules-cid>",
"action": {
"type": "governance_add_member",
"member": "member-d::1220...",
"new_threshold": '"$GOV_THRESHOLD"'
},
"governance_type": "core_self"
}'

After enough eligible confirmations exist, execute the exact same action with the active confirmation contract IDs:

Terminal window
curl -X POST "$DECPM_URL/governance/execute" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"party_id": "joint-party::1220...",
"rules_contract_id": "<governance-rules-cid>",
"action": {
"type": "governance_add_member",
"member": "member-d::1220...",
"new_threshold": '"$GOV_THRESHOLD"'
},
"confirmation_cids": ["<confirmation-cid-1>", "<confirmation-cid-2>"],
"governance_type": "core_self"
}'

A successful self-management action creates a new GovernanceRules contract. Record its contract ID, and verify the new member set and threshold.

Use governance_remove_member with the final governance threshold:

{
"type": "governance_remove_member",
"member": "member-c::1220...",
"new_threshold": <final-governance-threshold>
}

Confirm and execute it through the same core_self flow. Verify the new rules contract before you change topology.

Start the kick on the node of another host, not on the node of the departing participant. A node cannot kick itself.

In the web interface, open Parties, click the party, and find the participant in the Participants section. Click its Kick participant icon. In the Kick Participant dialog, check the namespace owner key, and set New Threshold.

The new topology threshold must be between 1 and the current number of namespace owners minus one.

For the API path, set NEW_THRESHOLD and OLD_THRESHOLD first:

Terminal window
curl -X POST "$DECPM_URL/kick" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"decentralized_party_id": "joint-party::1220...",
"participant_id": "participant-c::1220...",
"new_threshold": '"$NEW_THRESHOLD"',
"previous_threshold": '"$OLD_THRESHOLD"'
}'

previous_threshold is for display only. The answer is HTTP 202 with the run’s instance_name.

The node of every remaining host accepts the invitation under Approvals. After WaitingForPeers, the kick workflow runs these steps, then Complete:

  1. ExportState: the coordinator reads the active namespace and party mappings.
  2. CreateProposals: the coordinator builds the new mappings, without the departing participant.
  3. SignProposals: the remaining namespace owners sign.
  4. SubmitKick: the coordinator submits the change to Canton.
  5. RetireLegacyKeys: the namespace owners remove the party’s old key mapping, if it has one.

The coordinator first signs the proposals in a temporary topology store. It publishes them to the synchronizer at the submit step. A namespace owner that never signs therefore leaves the party unchanged.

  • Confirm that the departing namespace owner is absent from the active decentralized namespace definition.
  • Confirm that the departing participant is absent from the active PartyToParticipant mapping.
  • Confirm that the final topology threshold is valid and active.
  • Confirm that every remaining participant sees the same topology.
  • Confirm that the remaining governance members can complete a low-risk action.
  • Revoke the departing node’s peer record and credentials only after you confirm the topology result.

Do not reconnect a removed participant later as a host without the party’s contracts. The Re-adding a former member section of Add a member to a Decentralized Party explains the rules.

In the web interface, open the party and click Change Threshold. Set New Threshold, Confirmation Threshold, or both, and start the run. The party needs at least two namespace owners.

For the API path, set NEW_THRESHOLD and OLD_THRESHOLD first:

Terminal window
curl -X POST "$DECPM_URL/change-threshold" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"decentralized_party_id": "joint-party::1220...",
"new_threshold": '"$NEW_THRESHOLD"',
"previous_threshold": '"$OLD_THRESHOLD"'
}'

The new threshold must be between 1 and the number of namespace owners. The workflow reissues the namespace and party mappings with the new threshold. It ends with the RetireLegacyKeys step, as the kick does. It does not change GovernanceRules.

A new host with Canton’s onboarding marker cannot sign yet. Run this workflow after the marker of every new host has cleared.

Use a core_self action:

{
"type": "governance_set_threshold",
"new_threshold": <final-governance-threshold>
}

Confirm and execute the action through the Governance lifecycle. Verify the new GovernanceRules contract, and keep its contract ID.

The add-member, kick, and change-threshold workflows end with a RetireLegacyKeys step. After the new mappings take effect, the namespace owners remove the party’s obsolete PartyToKeyMapping. A party without that mapping skips the step.

The step needs enough upgraded namespace owners online to meet the current namespace threshold. If it times out, bring those owners online and click Retry. The retry resumes at the cleanup step and does not repeat the topology change.

Grant propose-only access with:

{
"type": "governance_add_additional_proposer",
"additional_proposer": "ops-console::1220..."
}

Revoke it with governance_remove_additional_proposer. Both are core_self actions and need the active governance threshold. Propose-only access does not grant confirmation or execution authority.

Complete or cancel pending work before you change membership, proposer authorization, the confirmation timeout, or either threshold.

  • Do not assume that a confirmation under the previous rules is still eligible.
  • Read the active rules contract again before execution.
  • Match confirmations to the exact action or proposal contract.
  • If execution returns an unclear result, query the current contract and topology state before you retry.
  • Do not start a second membership run to repair the first. Retry the failed run instead.
SymptomCheckSafe response
The joining participant is not in the listPeer configuration, and whether the participant already hosts the partyConfigure and verify the peer before you start again
The run waits for peersInvitation acceptance, Noise reachability, Noise keys, and releasesResolve connectivity, or decline the invitation. Do not create a duplicate run
“already has a … workflow in flight”Another run in progress for this party on this nodeWait for that run to end, or cancel it
“new_threshold must be between 1 and N”The current number of namespace ownersPick a value in the range. Run Change Threshold later to count a new participant
Topology changed, but contracts are missingOnboarding marker, contract import, packages, and synchronizer stateStop. Follow the If something goes wrong section of Add a member to a Decentralized Party
A removal cannot meet the thresholdCurrent owners, current threshold, available namespace owners, and final thresholdBring enough namespace owners online, or change the threshold before the removal
A governance action cannot executeActive rules contract, member set, action value, expiry, and confirmation contract IDsRead the state again. Confirm or propose again only when the current contracts require it
The coordinator restartsRun state on the coordinatorThe coordinator resumes each in-progress run at the step that it recorded. Do not start the run from another node
A run failsThe run’s error on the coordinator’s cardFix the cause, then click Retry on the coordinator

The Decentralized Party keeps the same party ID. Its governance rules, namespace owners, hosting participants, thresholds, and peer access match the approved final state. Every remaining participant sees the same topology and the required active contracts.

  • Run a low-risk governance action, and keep the result record.
  • Update the operator inventory, peer records, access controls, backup inventory, and incident contacts.
  • Record the governance contract IDs and topology serials before and after the change.

Protect the changed party: Backup, recovery, and upgrades.