Starting sandbox without contract id seeding

I’m trying to start the sandbox with the “old” contract id scheme (ie. #1:0, #2:0, …):

daml sandbox --contract-id-seeding=no

But I’m getting the error:

This version of Sandbox will not start without a seeding mode. Please specify an appropriate seeding mode.

The parameter help says that no is the default option, but that doesn’t seem to be the case. What am I doing wrong?

2 Likes

--contract-id-seeding=no is the default for sandobx-classic. The new sandbox does not support this mode. The closest is probably --contract-id-seeding=testing-static.

2 Likes

Ok, that’s a tad bit confusing. I guess then it shouldn’t be listed as an option when I run daml sandbox --help.

3 Likes

Yeah I think that’s an artifact from the fact that sandbox and sandbox-classic share the code for command-line options.

2 Likes

I’ve added this to the list of things to remove when we remove Sandbox Classic. Thanks!

4 Likes

Just wanted to raise that the documentation (1) is listing no as an option, but daml sandbox is rejecting it. This is confusing.

(1) Daml Sandbox — Daml SDK 1.9.0 documentation

1 Like

Thanks for the pointer @Alexander_Bernauer. Updated in Clarify docs around --contract-id-seeding=no by cocreature · Pull Request #8796 · digital-asset/daml · GitHub

2 Likes