-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --port-file and --dar flags in daml sandbox (#12505)
* Add some compatibility flags in daml sandbox Part of #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
- Loading branch information
1 parent
3c8a646
commit 7880d54
Showing
4 changed files
with
74 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters