daml/daml-script/daml3/Daml
Samuel Williams 95dd64bc02
Script package vetting (#17035)
* Version the script runner

* Fix import

* Add v2 files

* Add v1/v2 switching logic

* Add -- @ SCRIPT-V2 flag to integration tests

* Fix daml-v2 docs gen, refactor withDamlScriptDep

* Fix package name for daml-script2

* Fix polymorphic script warning for daml-script2

* Address review comments

* Scala, not haskell

* Add warnings to template files

* Rename daml-v2 to daml3, daml-script-v2 to daml3-script

* Fix polymorphic warning again

* Switch try catch to a command

* Use free properly, make all continues identity

* Split up DamlScript, implement Questions logic

* Fix most of the issues

* Drop internal callstack frames

* Minor fixes

* Prevent Catch being treated as an old-style typeclass

* Fix catch parsing

* Implement package vetting and unvetting

* Add no such template error to scenario service proto

* Notes for updateCompiledPackages in IdeLedgerClient

* Improve script src copying

* Add package vetting test, and framework for extra packages in integration tests

* Fix daml script dar rule mistake

* Apply suggestions from code review

Co-authored-by: Remy <remy.haemmerle@daml.com>

* Convert PureCompiledPackages to case class

* Generalise Lookup error over scenario proto

* Address review

---------

Co-authored-by: Remy <remy.haemmerle@daml.com>
2023-06-29 15:42:34 +01:00
..
Script Script package vetting (#17035) 2023-06-29 15:42:34 +01:00
Script.daml Script package vetting (#17035) 2023-06-29 15:42:34 +01:00