daml/daml-script/test/upgrades
Moisés Ackerman 990308ce53
[Upgrades PoC] softFetch (#16839)
* Refactor PackageMetadata construction

* Package Metadata now can include an upgraded package id

* define PackageInterface#lookupPredecessors

* Add SoftFetch in Daml LF

* Add softFetch function in Daml

* Add USoftFetch LFConversion primitive

* Define SoftFetch in terms of SBPromoteAnyContract

* daml_compile rule now takes upgrades arg

* Add script test for softFetch

* TODOs

* Check LF >= 1.dev when decoding 'upgradedPackageId' and 'softFetch' in DecodeV1.scala

* Check that softFetch is not called on templates with contract keys

* Seq=>List

* ModParser todo

* Extract PackageUpgradesIT from AbstractFuncIT

* Update docstring for SBPromoteAnyContract

* Fix build errors

* Fix build error

* DecodeV1Spec case for softFetch

* DecodeV1Spec case for upgradedPackageId

* EncodeV1 case for upgradedPackageId

* Fix build error

* Disable test due to cyclic dependency with canton

* Add transitive case to PackageUpgradesIT

* Clean up PackageUpgradesIT

* Fix build error

* Error if 'upgrades' field is present before featurePackageUpgrades

* Update doc on compileSoftFetchTemplate

* Reword WronglyTypedContractSoft error
2023-05-16 10:33:47 +02:00
..
coin-upgrade-v1-v2 [Upgrades PoC] softFetch (#16839) 2023-05-16 10:33:47 +02:00
coin-upgrade-v1-v3 [Upgrades PoC] softFetch (#16839) 2023-05-16 10:33:47 +02:00
coin-v1 [Upgrades PoC] softFetch (#16839) 2023-05-16 10:33:47 +02:00
coin-v2 [Upgrades PoC] softFetch (#16839) 2023-05-16 10:33:47 +02:00
coin-v3 [Upgrades PoC] softFetch (#16839) 2023-05-16 10:33:47 +02:00