Commit Graph

12463 Commits

Author SHA1 Message Date
Gary Verhaegen
c6e439b862
clean-up docs & fix BlackDuck (hopefully) (#17975) 2023-12-05 16:20:44 +01:00
Paul Brauner
1794212369
build canton 3x in the CI (#17966)
* build canton 3.x in build.yml

* Apply suggestions from code review

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>

* Apply suggestions from code review

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>

* apply suggestions

---------

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2023-12-05 15:18:35 +00: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
Simon Maxen
935b351f74
Enable shared keys for vDev (#17946) 2023-12-05 13:48:06 +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
Paul Brauner
543bc4e2ab
fix the canton 3.x bazel build (#17967) 2023-12-05 12:29:14 +00:00
Paul Brauner
a3ee8e4a6b
Revert "Update rotation (#17940)" (#17973)
This reverts commit 38cd3cc724.
2023-12-05 12:32:16 +01:00
Paul Brauner
95bf44e923
fix tag_filter in build.sh (#17969) 2023-12-05 10:05:17 +01:00
Remy
d79514d37a
fix canton-3x bazel (#17961) 2023-12-04 15:17:39 +00: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
Paul Brauner
dbeb172e07
Make more tests main-only (#17963) 2023-12-04 15:37:36 +01:00
Paul Brauner
33155748df
Fix main-only bug in build.sh (#17964) 2023-12-04 13:53:43 +01:00
dylant-da
4d8e4995df
Add --install-with-custom-version, rename --allow-install-non-release (#17931)
* Add --install-with-custom-version, rename --allow-install-non-release

* Test install tarball via custom version in compatibility tests

run-full-compat: true
2023-12-04 10:31:28 +00: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
Paul Brauner
e22f8bebd9
Run costly tests after only after merging (#17956)
* do not run pr-only tests on main, do not run main-only tests on prs

* split data dep tests into main-only and pr-only

* run non-dev conformance tests on main only
2023-12-04 10:52:33 +01:00
Andreas Triantafyllos
65cfe19f29
Fixed ParticipantPruningIT test. (#17957) 2023-12-04 10:15: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]
6ea7721313
update compat versions (2023-11-30) (#17951)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-11-30 15:05:24 +01:00
azure-pipelines[bot]
e01401ffe6
update NOTICES file (#17952)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-11-30 15:05:08 +01:00
Gary Verhaegen
faf7211c6b
bump python to make dependabot less sad (#17953)
Python 3.8 was published on Oct 14, **2019**.
2023-11-30 14:58:58 +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
Johan Sjödin
72cefd6f09
Daml Finance: update version (#17948) 2023-11-29 21:01:45 +01:00
dependabot[bot]
69cff5d606
Bump webpack from 5.54.0 to 5.76.0 in /navigator/frontend (#17947)
Bumps [webpack](https://github.com/webpack/webpack) from 5.54.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.54.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 20:02:54 +01:00
Moisés Ackerman
c1f7a87572
Add feature flag for scenarios (off in LFv2) (#17927)
* Add feature flag for scenarios (off in LFv2)

* whitespace

* Use rule for old-proj-2.1.dar
2023-11-29 17:01:44 +00:00
Paul Brauner
bead02a686
publish versions 2.1 and 2.dev of ledger-test-tool on maven (#17945) 2023-11-29 16:43:05 +00:00
Andreas Triantafyllos
b8eebc6ddd
Convert conformance tests to use java bindings (#17894) 2023-11-29 16:34:06 +00:00
Paul Brauner
38cd3cc724
Update rotation (#17940)
Swap Bas and myself
2023-11-29 16:18:40 +00:00
dependabot[bot]
75413dd0d4
Bump protobufjs from 6.11.3 to 6.11.4 in /language-support/ts/packages (#17942)
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.11.3 to 6.11.4.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/commits)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 16:58:39 +01:00
Paul Brauner
9dbb53e97e
introduce lf_version_default_or_latest in bazel and use it everywhere were I had replaced the implicit default version with 'latest' (#17930) 2023-11-29 15:53:53 +01:00
dependabot[bot]
d2ffbe90ee
Bump @babel/traverse from 7.14.0 to 7.23.4 in /navigator/frontend (#17939)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.14.0 to 7.23.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.4/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 14:01:31 +01:00
Paul Brauner
754c252eaf
Remove now unused by Canton LanguageVersion.DevVersions (#17935) 2023-11-29 10:34:13 +01:00
dependabot[bot]
ce5f045de4
Bump @babel/traverse in /language-support/ts/packages (#17936)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.16.0 to 7.23.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.4/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 08:46:40 +01:00
Gary Verhaegen
3dc20a4d0e
start 2.7.6 (#17900) 2023-11-29 08:38:46 +01: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
Gary Verhaegen
af2a8167f1
2.8.0-rc1 take 2 (#17932) 2023-11-28 11:52:02 +01:00
Paul Brauner
c85eb0e59b
Test LF v2 in ShakeIdeClient.hs (#17922)
* Test LF v2 in ShakeIdeClient.hs

* Handle daml3-script conversion errors in scenario.Context
2023-11-28 11:36:30 +01:00
Raphael Speyer
bb3af2bcf2
JSON API: add new PrunedOffset error for websocket queries that attempt to use an offset that has been pruned (#17905)
This means that if a websocket query is initiated with an explicit offset, and the ledger returns an error reporting that the offset has been pruned, the websocket query will be terminated with an error containing a status of `410` (Gone) and a message indicating that the offset has been pruned.

The client will need to react to this by clearing any state that had been incrementally built based on updates, and refresh with current version of ledger state.

This is related to https://github.com/digital-asset/daml/issues/13788 and https://github.com/digital-asset/daml/issues/13680

As discussed there, the existing akka APIs do not support setting the websocket close code and reason. The approach taken here is to return a single message with a custom error and close the websocket.
2023-11-28 13:34:31 +11:00
Raphael Speyer
b5aa167a97
LT-36: remove java bindings for deprecated ContractMetadata (#17914)
ContractMetadata is deprecated and has been replaced with an opaque byte array, in a field called `created_event_blob` in the api protos, and a column called `metadata` in Scribe. I don't think we need a wrapper type for this data. When reading out of scribe, we'd typically be using it to build a `DisclosedContract`, and we have a Java type for that, so I think that would be the anchor we'd use when reading.
2023-11-28 13:33:58 +11:00
Samuel Williams
be831c6716
Remove "lax" from call to IDE. (#17928) 2023-11-27 18:20:20 +00:00
Gary Verhaegen
9d0ac21c86
cron: fix canton3 checkout (#17926)
Turns out CI doesn't have `pull.default = current`.
2023-11-27 15:44:43 +00:00
Gary Verhaegen
6cb6e72335
manual snapshot (#17921) 2023-11-27 16:27:26 +01:00
Paul Brauner
562b303a9b
clean up some comments (#17925) 2023-11-27 15:12:54 +00:00
Samuel Williams
aa2ea1b285
Fix mangled name test to run quick (#17919)
Improve failing test assertions
2023-11-27 14:22:16 +00:00
Gary Verhaegen
bab1cd43b6
cron/canton3: build with current main (#17920) 2023-11-27 14:08:07 +01:00
azure-pipelines[bot]
59ebefde3a
update NOTICES file (#17915)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-11-27 12:09:30 +01:00
tudor-da
6706a81c51
Add missing dep to canton3x (#17917) 2023-11-27 11:01:11 +00:00
Gary Verhaegen
6f457e872b
Allow install non release does not look for matching version (#17909) (#17918)
Co-authored-by: dylant-da <106664681+dylant-da@users.noreply.github.com>
2023-11-27 12:00:49 +01:00
tudor-da
e9c4feb562
Make ci/build-canton-3x.sh work on MacOS by managing dir exclusions (#17916)
* Make ci/build-canton-3x.sh work on MacOS by managing dir exclusions

* No need to add the cloned sources to git
2023-11-27 10:08:58 +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