* Split off value.proto into own lib
* Move the files to daml-lf
* Add artifacts
* Fix the build
* Rationalize bazel struct
* Fixes from review:
- improve handling of proto dependencies
- fix copyright note
* Remove duplication from tests
* lint
* lint
* Simplify tests
* lint
* add more tests for dependency behaviour
* track new test files
* lint
* add test for failure being only emitted in the module that originates it
* fix stdout capture for rules_daml
* lint
* lint
* Move CannotUpgradeView into own section
* Fix more upgrades gen
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.
* 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>
* 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>
* 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.
We pick the proto for LF1 and the Decoder from main-2.x
We drop withing the decoder the expression decoding and and fill the AST with EUnit where an expression is needed.
Test will be done in a subsequent PR.
* Disable keys in LfConversion.
* fix UnusedMatchTests.daml in integration-v21
* fix //compiler/damlc/tests:upgrades
* stop compiling daml tests that use keys with 2.1
* migrate the upgrade examples to 2.dev as they use keys
* only compile daml-script/tests dar using keys to 2.dev
* do not compile daml-script/test daml files that use keys to 2.1
* fix //docs:bindings-java-daml-test
* add TODOs everywhere tests need to be split
* add a tests that checks that contract keys are rejected for LF<2.dev
* remove keys from compatibility tests
* Add the qualified template name to the keys not supported error message