digital-asset / daml

The Daml smart contract language
https://www.digitalasset.com/developers
797 stars 199 forks source link

Daml-script upgrades per package #19314

Open samuel-williams-da opened 3 months ago

samuel-williams-da commented 3 months ago

Daml3-script should always have upgrades enabled The upgrading data transformations/package name should check the package id per ledger-api call to decide whether to use the upgrading logic LF1.15 -> no LF1.16 -> yes

samuel-williams-da commented 3 months ago

For 2.9, try to push the flag back into the runner, so it just checks the daml3-script + LF1.16

In notes, say mixing LF1.15 and LF1.16 packages of the same name + version gives undefined behaviour in daml3-script