* repro of #19162 as a test and fix for daml3
* use a different party for exercising a choice on the disclosed contract
* factorize TemplateTypeRep svalue creation
* Move makePair/makeTriplet to Converter.makeTuple
* Implement dar unpacking
* Implement packageless IDE
* Hot-reloading logic for daml.yaml, multi-package.yaml, *.dar
* Implement initial error recovery logic
* Switch logging to log levels
Replace window reload with LanguageServer restart
* Forward args from multi-ide to sub-ides
* Change unpacked dar paths to be the unit-id.
Update unpacking logic to shutdown previous IDEs
* Remove broken experimental flag
* Refactor ide restart logic to not lose event handlers
* Log subIDE errors to debug logger live
* Windows fixes
* First review fixes batch
* Use newtypes for many FilePaths
* Address Dylan's comments
* Refactor how SubIDEs are passed around, reduce times it is dropped
* Update diagnostic
This is a cosmetic change to clarify search strategy (local -> disclosed -> other).
Since local and disclosed contract does not have same format of contract ID (the later is suffixed while the former is not), it should not change the behavior.
@garyverhaegen-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.
Please do not merge this before the release is fully tested.
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
* update canton to 20240507.13254.va09c52a2
tell-slack: canton
* sync canton at 3af0026 to ensure we have a fix for the party allocation delay
---------
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
* update canton to 20240504.13241.v10d14caa
tell-slack: canton
* fix EngineLogginConfig
* fix canton fixture config
---------
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Marcin Ziolek <marcin.ziolek@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
* update canton to 20240503.13228.v8a7a4aca
tell-slack: canton
* Minimal canton bazel changes to enable building
Adapting to:
- https://github.com/DACH-NY/canton/pull/18850
- https://github.com/DACH-NY/canton/pull/18916
* Maven release daml-common-staging_util-external
---------
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: oliverse-da <oliver.seeliger@digitalasset.com>
@gerolf-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.
Please do not merge this before the release is fully tested.
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
* install.{bat,sh} pass --install-with-custom-version with contents of daml_version.txt
* pass flag only if file exists (bash)
* install.bat only passes --install-with-custom-version if daml_version.txt exists
* daml assistant accepts multiple --install-with-custom-version options, but only uses the last one (if given)
---------
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
* Initial attempt/PoC at pulling out interfaces and typechecking them
* Add checking for new interfaces
* Fix call to checkUpgrade, improve/fix warning for locally defined iface
* drop todo
* clean up noop checkDeletedIfaces
* Check that an instance is not deleted
* Port checks to Upgrading.scala, port tests to UpgradesSpec.scala
* Improve context reporting in upgrade validation
* Add tests for dropped/added interface instances
* Fix regices for failure
* lint
* fix copyright headers
* Re-enable flaky, fix formatting issues
* More tests + checks for ifaces in same package as template/instance
* fix expectation on "Cannot upgrade view" for Windows UTF-8/16
* Synchronize tests from DamlcUpgrades to UpgradesSpec
* lint
* Add module name to "DefineIfacesAndTemplates" error, fix test
* re-enable tests
* lint
* update canton to 20240426.13186.vafd3a931
tell-slack: canton
* Fix Tls dependencies
* Expect updated format for upgrade error message from canton #18816
* Fix release artifacts
* add maven coordinates to tls
* hopefully the final fix of the tls project
* disable test on Arm Linux
* lint
---------
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Marcin Ziolek <marcin.ziolek@digitalasset.com>
Co-authored-by: Dylan Thinnes <dylan.thinnes@digitalasset.com>
* update canton to 20240425.13173.va5ae2742
tell-slack: canton
* fix the dependencies in canton after reshuffles
---------
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Marcin Ziolek <marcin.ziolek@digitalasset.com>
* Add flag for disabling upgrade validation, refactor tests
* mark upgrade-tests flaky
* remove unused disableUpgradeValidation method
* update canton to 3.0.0-snapshot.100000000.20240305.12764.0.v09f6d95a
tell-slack: canton
* Adapt code after renaming v1 to v2
Adapts daml because of https://github.com/DACH-NY/canton/pull/175211
run-all-tests: true
* Quick-fix build by adding missing `recordTime` parameter to the `TransactionGenerator`
This change affects tests only. However, this is a quick-fix, and there should
be a proper follow-up.
* Disable "hot reload" test since it breaks on Carl's changes
In a week we should fix this once https://github.com/DACH-NY/canton/pull/17652 is merged
* Fix expected protobuf structure in test-protobuf-structure.sh
* Compare transactions without record time in UpdateClientImplTest
* lint
* Revert changes to canton since origin/main
* Add dry run property to upload requests
* test dry run upload failure
* lint
* fix tests
* Describe dry run flag in Help.Description
* rename field in PackageServiceErrors
* Fix expected message
* Move dry run check outside validation
* Remove changes to canton
* drop dry-run flag from upload request (for now)
* drop other uses of dryRun
* lint
* copy canton
* Revert "drop other uses of dryRun"
This reverts commit cf6b9b2bfc.
* Revert "drop dry-run flag from upload request (for now)"
This reverts commit ce8aaecaf3.
* Use updated dryRun interface
* update canton to dry-run
* reset canton
* re-enable flakiness
* drop dryRun from TestingAdminLedgerClient
---------
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
Co-authored-by: Yves Geissbuehler <yves.geissbuehler@digitalasset.com>
@moisesackerman-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.
Please do not merge this before the release is fully tested.
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
* update canton to 20240423.13156.v75d9d2d6
tell-slack: canton
* handle pagination in ListKnownParties
---------
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
* update canton to 20240419.13141.v8e75f5c1
tell-slack: canton
* fix the compilation of community_ledger_ledger-json-api
---------
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
Before this change, we couldn't inject a custom logger into the engine. As such, debug output of commands would not be associated to the Canton trace-id, making the feature not very useful. Now, the API is extended such that the custom logger can be easily added.