-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fwd port] Fix local contract upgrade (#20743)
* manual port of the SBuiltinFun change of pull/20296 * Fix local contract upgrade (#20296) * Add metadata test for local contracts, fix logic * factorize the code * fix tests but also uncovered a problem with interfaces * use toInterfaceContractId in daml-script tests * fix typo in pretty-printer * add positive tests * fix exercise by interface * always perform the upgrade validation check in the engine * simplify error reporting * ensure package is loaded before importing global contract * simplify check code even more * allow losing observers that are also signatories * Apply suggestion Co-authored-by: Remy <remy.haemmerle@daml.com> --------- Co-authored-by: Remy <remy.haemmerle@daml.com> * fix UpgradeTest * format * disable some tests for now --------- Co-authored-by: Remy <remy.haemmerle@daml.com>
- Loading branch information
1 parent
6bfca01
commit 3c30b11
Showing
5 changed files
with
1,166 additions
and
189 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
Oops, something went wrong.