Skip to content
CCPEDIAby Unity Nodes
App Development

Archive WalletAppInstall and ValidatorRight when decommissioning?

2 posts117 views1 likesLast activity Aug 2025

  1. WallaceKellyOP

    When Decommissioning a Participant Node which had the Validator App running on it, the wallet-enabled party will have a contract for each of these two templates:

    Sample contracts
    com.daml.ledger.api.v2.state_service.ActiveContract = ActiveContract(
      createdEvent = Some(
        value = CreatedEvent(
              :
          templateId = Some(
            value = Identifier(
              packageId = "940b9...",
              moduleName = "Splice.Wallet.Install",
              entityName = "WalletAppInstall")
          ),
              :
          signatories = Vector(
            "my-wallet-party::12204...",
            "my-validator-party::12204..."
          ),
          observers = Vector(),
              :
        )
      ),
      synchronizerId = "global-domain::1220b...",
      reassignmentCounter = 0L
    )
    
    com.daml.ledger.api.v2.state_service.ActiveContract = ActiveContract(
      createdEvent = Some(
        value = CreatedEvent(
               :
          templateId = Some(
            value = Identifier(
              packageId = "a5b05...",
              moduleName = "Splice.Amulet",
              entityName = "ValidatorRight")
          ),
               :
          signatories = Vector(
            "my-wallet-party::12204...",
            "my-validator-party::12204..."
          ),
          observers = Vector(),
               :
        )
      ),
      synchronizerId = "global-domain::1220b...",
      reassignmentCounter = 0L
    )
    
    

    Is it important to archive these two contracts before decommissioning the node?

    I’m guessing it is not important, since the only stakeholders on the two contracts are both on the soon-to-be decommissioned node.

  2. cocreature 1

    There is no reason to clean those contract up. Just make sure you transer away any CC you had before decomissioning the node.