-
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.
Adds a Boolean check for the existence of an active contract with a given key (that is visible with the current set of authorizations), and explain `lookupByKey` in terms of it to hopefully clarify the relationship between `lookupByKey` and `fetchByKey`. Fixes #7143; see that for more information. CHANGELOG_BEGIN - [DAML Standard Library] Added a new function `visibleByKey` which, given a contract key, returns True if the current context can see an active contract with that key. CHANGELOG_END
- Loading branch information
1 parent
c997f5d
commit f54e193
Showing
3 changed files
with
134 additions
and
29 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