* reject keys in the decoder for lf<2.dev
* fix ContractKeySpec
* fix the AnyContractKey.daml integration test
* fix the AnyEqOrd.daml integration test
* split the AuthFailure.daml integration test
* fix the BasicTests.daml integration test
* fix the ConsumedContractKey.daml integration test
* fix the ContractIdInContractKey.daml integration test
* fix the "*Key*.daml" integration tests
* split the ExceptionSemantics.daml integration test
* split the ExplicitDisclosure.daml integration tests
* fix the LfStableMustFailCommit.daml integration tests
* fix the LfStableMustFailInterpretation.daml integration tests
* split the SemanticsEvalOrder.daml integration tests
* use dev dars in EngineTest.scala for now
* use dev dars in NodeSeedsTest.scala for now
* fix tests extending AbstractScriptTest
* fix CodegenTest.scala
* fix ScriptService.hs
* fix Daml*ScriptTestRunner tests
* fix doc snippets tests
* fix codegen tests
* fix test-common:model-tests
* fix compile error
* fix //language-support/ts/codegen/tests:build-and-lint-test
* fix //ledger-service/lf-value-json:tests
* fix //daml-script/test:upgrade-test
* Apply
Co-authored-by: Remy <remy.haemmerle@daml.com>
* Apply su
Co-authored-by: Remy <remy.haemmerle@daml.com>
---------
Co-authored-by: Remy <remy.haemmerle@daml.com>
* Add resolution via artifactory, handle HTTP errors
* Replace origin with wrapErr in resolveReleaseVersionUnsafe
* Handle broken connections (e.g. no internet)
* drop comment, fix foldMap id to fold
* remove debugging writeFile calls
run-all-tests: true
* Rename partial field damlPath to damlPathUnsafe and add safe function
* support multiple possible installation locations
* update alternatives
* Wrap CouldNotResolveReleaseVersion into AssistantError in unsafe resolve
* remove the featurePackageUpgrades flag from the compiler
* fix //compiler/damlc/tests:platform-independence-dar-hash-file-matches
* fix Daml[23]ScriptTestRunner
* initial progress
* lint
* Implement typechecks for fields of datatypes
* lint
* check keys, refactor datatype origin check
* Rewrite test to check canton output
* Emit upgradeability errors in package service, test in UpgradesIT
* Refactor packageManagementClient Upgrades test for multiple dars
* lint
* check using upgraded pair, refactor upgrades
run-all-tests: true
* Re-enable warnings, fix up comments
* track ValidUpgrade
* Start writing variants for upgrade errors
* Move upgrades typechecking into validation, improve naming
* omit unnecessary curly braces
* lint
* Make TypecheckUpgrades fields private
* Rename stripPackageIds to unifyPackageIds, small syntactic fixes
* Fix dataTypeOrigin to not rebuild the ChoiceNameMap each time
* Improve logging, inline some declarations in for comprehensions
* revert `cantonFixtureDebugMode = true` to false
* Structure error messages in Upgrading
* Fix expected error messages
* Fix expected message for upgrade notification
* Port new checks from https://github.com/digital-asset/daml/pull/18172
* Fix bug that makes package resolution fail
* Implement rest of error messages, and expect them - some refactoring
run-all-tests: true
* Replace curly braces with `with` keyword in tests
* lint
* Move UpgradesIT to validation tests
* Turn adding a template key into an upgrade error
* Fix deps for upgrades integration test
* lint
run-all-tests: true
* Remove temporary files after reading log info
* Make UpgradeError extend ValidationError, use Unhandled for other errs
* Port DamlcUpgrades over to scala-side UpgradesSpec
* lint
* remove inplace files
* fix metadata flatMap, add back deps for other daml-lf validations tests
* Clarify "this package" to "upgrading package"
* update TODO comment to point to relevant PR (#18377)
* lint
* update expected messages for Missing{Module,Template,Choice,Datatype}
* Use 3-part enum for cantonFixtureDebugMode (debug or remove/keep files)
* apply Remy's recommended linting changes, reorg code slightly
* lint
* More refactoring, fix package service for changed error fields
* Reset canton/community codedrop, remove canton participant upgrade test
---------
Co-authored-by: Carl Pulley <carl.pulley@digitalasset.com>
* Split class HasField into {Get,Set}Field
* Update golden files
* Bump GHC_REV
* Update golden files
* Fix {Has=>{Get,Set}}Field test in //compiler/lsp-tests:lsp-tests
* Fix //daml-script/test:test_test_suite_src_com_digitalasset_daml_lf_engine_script_test_Daml2ScriptTestRunner.scala
* Mention HasField split in UNRELEASED.md
* DataDependencies tests for custom {Get,Set}Field instances
* exclude {Get,Set}Field instances in daml-base docs
* Add {Has=>{Get,Set}}Field migration notes and example in UNRELEASED.md
* Bump GHC_REV
* PoC to demonstrate the use of canton ledger-client
run-all-tests: true
* make it compile on canton-3
* remove all remnants of ledger-api-* from daml-script
* make the whole projet build
* Convert daml2-script and daml3-script to ledger-api-v2 (partially)
* Transfer some tests over to v2
* Update next batch of tests to api-v2
* Add temporary maven artifacts.
* Add maven tags to canton
* Format canton build file, rename coordinates
* Finally release passes
* Fix daml script following LedgerClient changes
run-all-tests: true
* Format canton/BUILD
* Update after merge, get all canton targets building
* Format canton/BUILD
* Fix further build issues
* Update ledgerclient to avoid GetLedgerEnd
* Update comment
---------
Co-authored-by: Samuel Williams <samuel.williams@digitalasset.com>
* remove the nat synonyms feature from the compiler
* Add cpp flags that are always set no matter what
* Add a test that DAML_NAT_SYN is always defined
* Apply suggestion
Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
* move the hpp-copy resource from integration-lib to integration-*
* fix LegacyCppFlags.daml
---------
Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>