daml/test-common/canton
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
..
it-lib remove script/trigger/cantonFixture deps on scala-bindings (#17954) 2023-12-05 15:08:09 +00:00
.gitignore Move canton directory to let place for code drop (#17506) 2023-09-29 14:37:01 +00:00
BUILD.bazel update canton to 20231221.12090.0.va8191d44/2.9.0-snapshot.20231220.11662.0.v3fffed35/3.0.0-snapshot.20231221.12090.0.va8191d44 (#18062) 2023-12-21 14:48:46 +01:00
README.md do not build canton as separate task (#18058) 2023-12-21 09:47:48 +01:00

Canton dependency

This folder contains the infrastructure to work with custom Canton Enterprise Edition versions.

By default, we rely on the Canton-EE artifact defined in BUILD.bazel. However, we have the ability to, rather than depend on a published version, depend on an arbitrary jar.

Local development

For local development, you can set the local_ee_canton variable in BUILD.bazel, and, rather than looking at the downloaded Canton-EE release, the Bazel build will then look for a local file under canton/lib/canton-ee.jar for its Canton source.

How you get that canton-ee jar there is entirely up to you; the assumption is that this would be the result of building a local checkout of Canton with your own local, uncommitted changes.

Once you have things working locally, you can push your Canton branch, and start building Daml against that even before the Canton branch gets merged.

Running Enterprise Edition Tests

Some situations may require running Canton Enterprise Edition, but this is an open-source repository so we cannot assume every contributor will have a Canton EE license key.

Tests that require Canton EE must be tagged with "canton-ee", which is disabled by default through .bazelrc. To run those tests locally, either explicitly target them or add --build_tag_filters= or --test_tag_filters= as appropriate (yes, these are the full options: by setting the "running" filters to empty for the current run, you overwrite the -canton-ee set in .bazelrc which excludes the Canton EE tests, thereby removing the exclusion and including the tests).

Those tests are run on CI.