Commit Graph

141 Commits

Author SHA1 Message Date
azure-pipelines[bot]
899d068322
update canton to 20240117.12317.0.v1adf879c/3.0.0-snapshot.20240117.12317.0.v1adf879c (#18206)
* update canton to 20240117.12317.0.v1adf879c/3.0.0-snapshot.20240117.12317.0.v1adf879c

tell-slack: canton

* fix the canton config used by scala integration tests

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-01-18 11:30:53 +01:00
Paul Brauner
7ac69ceb2e
Pb/build daml against canton3 (#18103)
* Rename canton-3x to canton

* fix build

* fix BuildInfo for canton 3

* add reference drivers as a runtime dep to community_domain

* target 2.1 in interface-choices-valid

* run damlc integration tests with LF2

* fix the repl tests

* fix repl-functests

* fix package manager test

* disable V1 scala integration tests

* port the scala canton fixture to canton3

* fix JsonApiIt, using sleeps :/

* fix test-daml-packages and test-daml-ledger under //daml-assistant/daml-helper

* fix integration tests

* fix QuickstartTest.hs

* fix //daml-script/export/integration-tests/reproduces-transactions:test

* fix //daml-script/runner:tests

* fix Daml3ScriptDevIT

* fix Daml2ScriptTestRunner

* remove sleeps in functests now that a delay has been added to daml3-script's allocateParty

* fix //language-support/java/codegen:ledger-tests

* fix ScalaCodeGenIT

* remove useless sleep

* fix //language-support/ts/codegen/tests:build-and-lint-test

* remove redundant sleep and fix daml script

* fix //daml-assistant/daml-helper:test-tls

* fix CommandClientIT

* fix //daml-assistant/daml-helper:test-deployment

* Remove duplicate contract key test: not supported by canton 3.

run-all-tests: true

* fix //language-support/hs/bindings:test

run-all-tests: true

* small cleanups

run-all-tests: true

* clean up and fix compat tests

* fix build after rebase

run-full-compat: true
run-all-tests: true
2024-01-17 18:11:24 +01:00
azure-pipelines[bot]
5051d01657
update canton to 20240116.12291.0.ve5572c5a/2.9.0-snapshot.20240116.11710.0.v6aa4c17e/3.0.0-snapshot.20240116.12291.0.ve5572c5a (#18200)
* update canton to 20240116.12291.0.ve5572c5a/2.9.0-snapshot.20240116.11710.0.v6aa4c17e/3.0.0-snapshot.20240116.12291.0.ve5572c5a

tell-slack: canton

* Remove unused dep @maven//:com_github_pathikrit_better_files_2_13 from canton-3x:community_domain

* Fix PackageMetadata in Canton 3.x

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Yves Geissbuehler <yves.geissbuehler@digitalasset.com>
Co-authored-by: Tudor Voicu <tudor.voicu@digitalasset.com>
2024-01-17 13:24:28 +01:00
azure-pipelines[bot]
c965857c70
update canton to 20240115.12269.0.vee57276e/2.9.0-snapshot.20240115.11704.0.v67e3d1e3/3.0.0-snapshot.20240115.12269.0.vee57276e (#18183)
* update canton to 20240115.12269.0.vee57276e/2.9.0-snapshot.20240115.11704.0.v67e3d1e3/3.0.0-snapshot.20240115.12269.0.vee57276e

tell-slack: canton

* Adapt changes after changing of Decode.assertDecodeInfoPackage signature

* Fix canton-3x Bazel rules for 'Moved http health to node and migrated health based tests to X nodes #16415'

* Fixed GetEventsByContractIdResponse misalign in v2.

* Removed unused dependency.

* Removed unused dependency #2.

* Fix daml3-script upgrade querying. Disable the test as more work needed.

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Tudor Voicu <tudor.voicu@digitalasset.com>
Co-authored-by: Yves Geissbuehler <yves.geissbuehler@digitalasset.com>
Co-authored-by: Andreas Triantafyllos <andreas.triantafyllos@digitalasset.com>
Co-authored-by: Samuel Williams <samuel.williams@digitalasset.com>
2024-01-16 19:28:23 +01:00
tudor-da
eda8187e7b
Enrich assertDecodeInfoPackage with (PackageId, Ast.Package) in the return type (#18165)
* needed to avoid double decoding of archives

run-all-tests: true
2024-01-15 16:03:22 +01:00
azure-pipelines[bot]
6f3bb7f8ef
update canton to 20240111.12240.0.v78bf0c1c/2.9.0-snapshot.20240111.11698.0.vaec40098/3.0.0-snapshot.20240111.12240.0.v78bf0c1c (#18143)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-12 10:38:51 +00:00
azure-pipelines[bot]
88a271b5dd
update canton to 20240110.12220.0.ve226317e/2.9.0-snapshot.20240110.11694.0.vbbc5a08b/3.0.0-snapshot.20240110.12220.0.ve226317e (#18133)
* update canton to 20240110.12220.0.ve226317e/2.9.0-snapshot.20240110.11694.0.vbbc5a08b/3.0.0-snapshot.20240110.12220.0.ve226317e

tell-slack: canton

* Fix hs-bindings from canton proto change

run-all-tests: true

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Samuel Williams <samuel.williams@digitalasset.com>
2024-01-11 22:30:47 +01:00
mziolekda
f0a0c6d2c2
Remove http json (#18131)
* remove http json from daml-script

* remove http-json from ts

* remove http-json

* Fix daml-assistant

run-full-compat: true

* Fix broken test

* remove drepeated test

* remove commands running via http-json

* fix the build

* changes from code-review:

* anotehr attempt at fixing the build
2024-01-11 18:08:08 +00:00
azure-pipelines[bot]
e0fb4d31cd
update canton to 20240109.12206.0.vcf1c3d60/2.9.0-snapshot.20240109.11690.0.vbbd2ff67/3.0.0-snapshot.20240109.12206.0.vcf1c3d60 (#18117)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-10 09:08:09 +01:00
azure-pipelines[bot]
5e25e08f34
update canton to 20240108.12193.0.vfed0b7df/2.9.0-snapshot.20240108.11687.0.v4072644f/3.0.0-snapshot.20240108.12193.0.vfed0b7df (#18100)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-09 17:52:18 +01:00
azure-pipelines[bot]
a483cabf16
update canton to 20240105.12177.0.v3ee6912f/2.9.0-snapshot.20240105.11680.0.v260fdcb4/3.0.0-snapshot.20240105.12177.0.v3ee6912f (#18094)
* update canton to 20240105.12177.0.v3ee6912f/2.9.0-snapshot.20240105.11680.0.v260fdcb4/3.0.0-snapshot.20240105.12177.0.v3ee6912f

tell-slack: canton

* fix canton-3x build

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-01-08 22:44:17 +01:00
Gary Verhaegen
7dc3439c9a
manual canton bump (#18091)
I've manually ran through the steps in ci/cron/daily-compat.yml. This is
a do-over of #18090 because the diff hadn't changed after rebasing on
\#18081 and that seemed weird, and I didn't want anyone to spend time on
a build failure that may just be an artifact of some wires crossing at
the git level.

---------

* add a missing scala_library "sequencer-driver"

---------

Co-authored-by: Meriam Lachkar <meriam.lachkar@digitalasset.com>
2024-01-05 16:42:09 +01:00
azure-pipelines[bot]
6a98310923
update canton to 20231221.12090.0.va8191d44/2.9.0-snapshot.20231220.11662.0.v3fffed35/3.0.0-snapshot.20231221.12090.0.va8191d44 (#18062)
* update canton to 20231221.12090.0.va8191d44/2.9.0-snapshot.20231220.11662.0.v3fffed35/3.0.0-snapshot.20231221.12090.0.va8191d44

CHANGELOG_BEGIN
CHANGELOG_END

* fix canton

* fix the build of the pingpong vacuum package

---------

Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2023-12-21 14:48:46 +01:00
azure-pipelines[bot]
9ab22ec903
update canton to 20231219.12068.0.v5a57880a/2.9.0-snapshot.20231219.11658.0.vf7fbf8cf/3.0.0-snapshot.20231219.12068.0.v5a57880a (#18055)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-12-21 09:30:31 +00:00
Remy
daa3f87f00
Propagate PackageRef to submit (#18041) 2023-12-20 12:11:36 +01:00
azure-pipelines[bot]
e01b623477
update canton to 20231218.12048.0.v12ec1f16/2.9.0-snapshot.20231218.11653.0.v6d6cda48/3.0.0-snapshot.20231218.12048.0.v12ec1f16 (#18050)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-12-19 10:56:26 +00:00
Remy
c20215028c
Introduce PackageRef (#18023)
this advance the state of #17995

We propagate in ApiCommand and fix preprocessing
2023-12-15 11:45:08 +00:00
azure-pipelines[bot]
542f3d318d
update canton to 20231213.12002.0.v13a51ee5/2.8.0-snapshot.20231213.11635.0.vb363e85f/3.0.0-snapshot.20231213.12002.0.v13a51ee5 (#18028)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2023-12-14 23:51:38 +00:00
Remy
da4033170c
Interpreter populate package name (#17990)
this advances the state of #17995
2023-12-13 16:01:20 +01:00
azure-pipelines[bot]
c9c958e621
update canton to 20231212.11983.0.v8bec1d19/2.8.0-snapshot.20231211.11629.0.v3ca507a0/3.0.0-snapshot.20231212.11983.0.v8bec1d19 (#18020)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy <remy.haemmerle@daml.com>
2023-12-13 13:32:39 +01:00
azure-pipelines[bot]
ebc458fea9
update canton to 20231208.11955.0.v90c40bca/2.8.0-snapshot.20231208.11624.0.v51490b0d/3.0.0-snapshot.20231208.11955.0.v90c40bca (#18012)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2023-12-11 14:31:23 +00:00
Remy
d8d114bb80
Propagate package to ContractInstance (#18005)
this advances the state of #17995
2023-12-11 11:31:26 +00:00
Remy
68c8a364da
Add package name to transaction (#17997)
this advances the state of #17995
2023-12-08 08:55:05 +01:00
azure-pipelines[bot]
f678ad1808
update canton to 20231206.11921.0.va3021807/2.8.0-snapshot.20231206.11618.0.vd015b3cb/3.0.0-snapshot.20231206.11921.0.va3021807 (#17994)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2023-12-07 13:58:21 +01:00
Remy
96f16df3c0
remove script/trigger/cantonFixture deps on scala-bindings (#17954)
Basically we remove the dependency of different components on "//language-support/scala/bindings" by:

- replacing com.daml.ledger.api.refinements.ApiTypes.Party by com.daml.lf.data.Ref.Party
- replacing com.daml.ledger.api.refinements.ApiTypes.ApplicationId by Option[com.daml.lf.data.Ref.ApplicationId] (here we use option as ApiTypes.ApplicationId allows empty string while Ref.ApplicationId does not).
- adding rounding logic for timestamp in com.daml.lf.data.Time.Timestamp and use it instead of the one from com.daml.api.util.TimestampConversion

Note we did not clean daml-sript export as it have never pass the alpha stage and will be dropped with the 3.x fork.
2023-12-05 15:08:09 +00:00
azure-pipelines[bot]
6629254717
update canton to 20231204.11608.0.v7e37cf1d/2.8.0-snapshot.20231204.11608.0.v7e37cf1d (#17970)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-12-05 13:55:55 +01:00
mziolekda
34743570bd
Rewire the build to use ledger-api within canton (#17959)
* Rewire the build to use ledger-api within canton

* same for canton-3

* fix buf

* fix buf again

* remove references to canton from canton-3x
2023-12-04 16:11:13 +01:00
azure-pipelines[bot]
d054187b5e
update canton to 20231201.11605.0.vdef89654/2.8.0-snapshot.20231201.11605.0.vdef89654 (#17960)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-12-04 10:53:00 +01:00
mziolekda
b050cee3a6
Remove canton's dependency on scala-bindings (#17958)
* Remove canton's dependency on scala-bindings

* Same for canton-3
2023-12-01 17:56:19 +01:00
mziolekda
7e2aa7cece
Adopt the repository to the movement of java bindings (#17913)
* Make java bindings compile in new place

* fix a mysterious grpcurl error
2023-11-30 22:43:35 +01:00
azure-pipelines[bot]
e14a9a8fed
update canton to 20231129.11598.0.v78e63449/2.8.0-snapshot.20231129.11598.0.v78e63449 (#17950)
* update canton to 20231129.11598.0.v78e63449/2.8.0-snapshot.20231129.11598.0.v78e63449

CHANGELOG_BEGIN
CHANGELOG_END

* Add missing dependency

* Update canton/BUILD.bazel

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Simon Maxen <simon.maxen@digitalasset.com>
Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
2023-11-30 14:26:07 +01:00
Andreas Triantafyllos
b8eebc6ddd
Convert conformance tests to use java bindings (#17894) 2023-11-29 16:34:06 +00:00
azure-pipelines[bot]
cd189081e5
update canton to 20231127.11587.0.v94729874/2.8.0-snapshot.20231127.11587.0.v94729874 (#17933)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-11-28 13:04:13 +00:00
azure-pipelines[bot]
9c85632f62
update canton to 20231124.11584.0.v33f28bad/2.8.0-snapshot.20231124.11584.0.v33f28bad (#17911)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-11-27 08:20:40 +01:00
azure-pipelines[bot]
99c7dec51d
update canton to 20231123.11580.0.v1dd021e2/2.8.0-snapshot.20231123.11580.0.v1dd021e2 (#17906)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-11-24 08:11:28 +00:00
azure-pipelines[bot]
81e3ed1d9d
update canton to 20231121.11586.0.v594bc0d8/3.0.0-snapshot.20231121.11586.0.v594bc0d8 (#17881)
* update canton to 20231121.11586.0.v594bc0d8/3.0.0-snapshot.20231121.11586.0.v594bc0d8

CHANGELOG_BEGIN
CHANGELOG_END

* Stop downloading the canton opensource jar (#17877)

* stop downloading the canton opensource jar

* udpate obsolete README

* fix one remaining mention of @canton

* remove all mentions of canton_dep.bzlP

* Fix bazel rules

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <141240651+paulbrauner-da@users.noreply.github.com>
Co-authored-by: Rafael Guglielmetti <rafael.guglielmetti@digitalasset.com>
2023-11-22 16:53:32 +01:00
azure-pipelines[bot]
86cb8054ec
update canton to 20231117.11560.0.v57ba6d0f/2.8.0-snapshot.20231117.11560.0.v57ba6d0f (#17859)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-11-18 12:21:20 +00:00
azure-pipelines[bot]
9e9902b6f5
update canton to 20231116.11559.0.vb76f36d5/2.8.0-snapshot.20231116.11559.0.vb76f36d5 (#17855)
* update canton to 20231116.11559.0.vb76f36d5/2.8.0-snapshot.20231116.11559.0.vb76f36d5

* fix bazel rules

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2023-11-17 10:50:53 +00:00
azure-pipelines[bot]
d7fe830340
update canton to 20231115.11540.0.v04fd0a59/2.8.0-snapshot.20231115.11540.0.v04fd0a59 (#17847)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-11-16 09:08:05 +00:00
azure-pipelines[bot]
078537976e
update canton to 20231114.11529.0.v774f57ec/2.8.0-snapshot.20231114.11529.0.v774f57ec (#17837)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-11-15 11:34:04 +01:00
mziolekda
b81ee69abe
disentangle ledger api (#17831)
* make testing-utils independent of ledger-api

* remove dead files

* move non ledger-api stuff to libs-scala
2023-11-14 22:44:10 +01:00
Remy
78a3bc17f6
mibor cleanup of canton bazel rules (#17830) 2023-11-14 18:54:22 +01:00
Marton Nagy
6933514df5
Switch from Akka to Pekko (#17814)
* Automated renames by bash script

This commit is exclusively contains changes by the bash script.
For the bash script is present at the pull request.

* Manual pekko migration changes

* adapt fully qualified name references
* adapt pekko package declarations
* adapt bazel files with dependency changes
* adapt canton pekko lib shade_rule
* adapt logger configuration declarations
* pin maven dependencies
* revert incorrect changes by script to compatibility module

Workarounds for further TODOs:
* disable http-json-perf and libs-scala/gatling-utils modules to maintain clean pekko dependencies (without akka)
* disable GraphQLSchemaSpec test (sangria library needs to be upgraded)

* Formatting
2023-11-13 23:22:22 +00:00
Marton Nagy
78cc750714
Scala upgrade to 2.13.11 (#17803) 2023-11-13 09:05:39 +01:00
Raphael Speyer
c19f52ce38
remove build dependency on akka from http-json-perf tests (#17798)
In doing so, we disable the automatic production of the extra reports from gatling results.
These can be re-enabled in future if they're considered valuable.
2023-11-10 21:38:35 +11:00
azure-pipelines[bot]
bbca149164
update canton to 20231109.11499.0.v631cbdc5/2.8.0-snapshot.20231109.11499.0.v631cbdc5 (#17799)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-11-10 08:16:31 +00:00
Remy
6ef062dac9
Revert "Nmarton/pekko rebased (#17789)" (#17796)
This reverts commit d310692d1b.

@remyhaemmerle-da messed up and merged the PR too fast.
2023-11-09 21:23:18 +00:00
Marton Nagy
d310692d1b
Nmarton/pekko rebased (#17789)
* Scala upgrade to 2.13.11
* Switch from akka to pekko
* Also disable gatling based libs to start from a clean stage
2023-11-09 18:17:33 +01:00
azure-pipelines[bot]
f768a3348f
update canton to 20231108.11487.0.vf0edabf4/2.8.0-snapshot.20231108.11487.0.vf0edabf4 (#17787)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
Co-authored-by: Marcin Ziolek <marcin.ziolek@digitalasset.com>
2023-11-09 17:05:19 +01:00
Paul Brauner
313b789731
Bump netty and grpc-netty (#17770)
* pin dependencies to json and add missing dep

* fix cyclic dep

* remove unused dep

* add missing dep to //ledger-api/testing-utils:testing-utils

* remove unused dep in //ledger/ledger-api-auth:ledger-api-auth

* remove more unused deps

* more dep fixes

* yet more dep fixing

* more fixing..

* more of the same

* hopefully the last deps to fix

* Bump the version of protobuf and fix everything that depends on it. Took shortcuts that I need to fix in a next commit, but would like to run the CI on this now that it compiles

* don't error out in the grpc-haskell patch

* remove obsolete patch

* patch absl to compile on mingw

* Add a patch to recognize the compiler

* Define _DNS_SD_LIBDISPATCH for macOS gRPC

* bump netty_tcnative_version according to https://github.com/grpc/grpc-java/blob/master/SECURITY.md#netty

* pin maven deps

* Fix macos linking errors 'dyld[xxx]: missing symbol called'

* Skip Darwin frameworks in package-app.sh

* pin stackage packages

* pin stackage windows deps

* use the netty version agreed on

* bump the windows global cache to try and debug the upb issue

* restart the CI after timeout

* clean up

* disable failing tests for now

* comment out unused code

* reset the windows machine name to 'default'

---------

Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
2023-11-07 19:35:50 +01:00