forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make daml-script docs work with a Canton sandbox (digital-asset#12695)
* Make daml-script docs work with a Canton sandbox This addresses a few issues: 1. The `--wallclock-time` option does not work. 2. Display names are garbage so dropped the "solution" for `listKnownParties`. 3. We cannot allocate fixed parties even with `allocatePartyWithHint`. Switched to `--output-file` and user mgmt. changelog_begin changelog_end * . changelog_begin changelog_end * . changelog_begin changelog_end * debug windows changelog_begin changelog_end * . changelog_begin changelog_end * . changelog_begin changelog_end * debug scriptexample changelog_begin changelog_end * . changelog_begin changelog_end * . changelog_begin changelog_end * . changelog_begin changelog_end * . changelog_begin changelog_end * . changelog_begin changelog_end * . changelog_begin changelog_end * Update docs/source/daml-script/index.rst
- Loading branch information
1 parent
c6ed12d
commit 7a5172c
Showing
7 changed files
with
78 additions
and
81 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
sdk-version: __VERSION__ | ||
name: script-example | ||
source: src | ||
parties: | ||
- Alice | ||
- Bob | ||
- Bank | ||
version: 0.0.1 | ||
# script-dependencies-begin | ||
dependencies: | ||
- daml-prim | ||
- daml-stdlib | ||
- daml-script | ||
# script-dependencies-end | ||
sandbox-options: | ||
- --wall-clock-time |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"alice": "Alice", | ||
"bob": "Bob", | ||
"bank": "Bank" | ||
"bank": "party-93affbfe-8717-4996-990c-9f4c5a889663::12201d00faa0968d7ab81e63ad6ad4ee0d31b08a3581b1d8596e68a1356f27519ccb", | ||
"alice": "party-99595f45-75e3-4373-997c-fbdf899439f7::12201d00faa0968d7ab81e63ad6ad4ee0d31b08a3581b1d8596e68a1356f27519ccb", | ||
"bob": "party-6e38e1ed-c070-4ded-ba20-073e0dbdb13c::12201d00faa0968d7ab81e63ad6ad4ee0d31b08a3581b1d8596e68a1356f27519ccb" | ||
} |
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