Skip to content
CCPEDIAby Unity Nodes
App Development

Why are ledger_api commands in the canton console not enabled in the sandbox?

2 posts344 views3 likesLast activity Jul 2022

  1. DarkoOP 2

    After starting the sandbox and connecting to it running daml canton-console, the sandbox.ledger-api commands are not available.

    @ sandbox.ledger_api.acs.of_all()
    ERROR c.d.c.c.RemoteParticipantReference:participant=sandbox - The command is currently disabled. You need to enable it explicitly by setting `canton.features.enable-testing-commands = yes` in your Canton configuration file (`.conf`)
    com.digitalasset.canton.console.CommandFailure: Command execution failed.
    

    Given that the sandbox is explicitly there for testing, would it be reasonable to enable it by default for the sandbox?

  2. cocreature 1

    Sounds reasonable to enable it by default. cc @Raymond_Roestenburg