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.
Infer templateId and choiceName in daml trigger commands (digital-ass…
…et#2945) * Infer templateId from createCmd argument * Infer templateId and choiceName in exerciseCmd * Use exerciseCmd in ACS test Add a layer of indirection to test `exerciseCmd` in the ACS test. The trigger first creates a `AssetMirrorProposal`, only when the proposal has been created, will it exercise the `Accept` choice to create the actual `AssetMirror` contract. * Remove toTemplateId * getTemplateId --> toTemplateId * Tuple2 --> AnyContractId * Run Scala formatter * Export AnyContractId * extractTemplateId|ChoiceName
- Loading branch information
1 parent
5a9a037
commit df7262e
Showing
4 changed files
with
102 additions
and
46 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