Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Switching off automatic creation of partiesForum ↗

Switching off automatic creation of parties

App Development3 posts466 views8 likesLast activity Apr 2020
NI
Niko_CheOP
Apr 2020

Hello gents. I have a question and possibly a request. Currently sandbox creates missing parties automatically. Is there a switch to turn off this feature on sandbox? If not, can it be introduced?

We need it for proper testing, because on production system we won’t have automatic party creation feature. So in order for our tests to cover that part it needs to correspond to the production ledger functionality, i.e. no automatic party creation.

Thank you!

CO
cocreature
Apr 2020

Hi, at the moment this is not possible unless you use Sandbox as an API and implement your own main class so you can change the config. I’ve opened https://github.com/digital-asset/daml/issues/5557 to expose this as a CLI option.

CO
cocreature
Apr 2020

Sandbox (but not sandbox-classic) now has an option --implicit-party-allcation=false that you can use to disable implicit party allocation. This will be included in the next release.

← Back to Discussions