Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Why are ledger_api commands in the canton console not enabled in the sandbox?Forum ↗

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

App Development2 posts302 views3 likesLast activity Jul 2022
DA
DarkoOP
Jul 2022

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?

CO
cocreature
Jul 2022

Sounds reasonable to enable it by default. cc @Raymond_Roestenburg

← Back to Discussions