daml/daml-assistant/daml-helper
Sofia Faro 7880d5416d
Add --port-file and --dar flags in daml sandbox (#12505)
* Add some compatibility flags in daml sandbox

Part of https://github.com/digital-asset/daml/issues/11831

This PR is just to make it easier to migrate to the new sandbox.
I changed the behavior of --port-file to output a simple port (the
old behavior can be obtained with --canton-port-file instead, which
outputs all the port files of each participant), and I added a --dar
option to upload a dar after setting up the sandbox.

In addition, I made the `daml sandbox` command output something on
startup & success. The previous version was completely silent, so
you couldn't tell just from running it whether it was succesful.

However, I did discover that `--static-time` was accidentally
a no-op. Upon enabling it, I find that sim-clock doesn't work,
it causes canton to hang. This seems like a canton issue, but
needs further investigation.

For testing, I'm using --port-file and --dar in the quickstart
integration test, and --canton-port-file in the other canton
sandbox test.

changelog_begin
changelog_end

* redundant message

* Allow multiple --dar arguments
2022-01-20 14:19:03 +00:00
..
src/DA/Daml/Helper Add --port-file and --dar flags in daml sandbox (#12505) 2022-01-20 14:19:03 +00:00
test/DA/Daml/Helper/Test update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
test-data update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
BUILD.bazel update copyright headers (#12240) 2022-01-03 16:36:51 +00:00