mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
d666f76fbb
* participant-state: Give `ChangeId` its own file. * participant-state: Introduce `v1.CompletionInfo` for a while. `CompletionInfo` is identical to `SubmitterInfo`. Its purpose is to make the migration to v2 easier. It should not make it into the final version. * participant-integration-api: Switch to the v2 participant state API. This means that: - the API server and indexer expect v2 API traits - adapters are provided if you need to elevate your v1 API usage - the indexer internally uses v2 Updates - rejections are switched over to use the v2 format - Sandbox Classic uses v2 as the internal representation too (because it interacts directly with the underlying indexer representation, and is therefore tightly coupled) _kvutils_ and other users of the `StandaloneApiServer` and `StandaloneIndexerServer` use the adapters. CHANGELOG_BEGIN - [Integration Kit] The API server and indexer have switched over to v2 of the participant-state API. You can continue to use the v1 API, but you will need to wrap your ``ReadService`` and ``WriteService`` objects in the ``AdaptedV1ReadService`` and ``AdaptedV1WriteSerivce`` classes. CHANGELOG_END * participant-state: Remove v1.CompletionInfo. It's served its purpose. * kvutils: Remove an unnecessary line from `Runner`. * ledger-api-common: Delete a TODO; we'll track it elsewhere. * participant-integration-api: Use full words in `JdbcLedgerDao`. Just a little bit of cleanup. * ledger-api-common: Extract out the random submission ID generator. And introduce a trait, because, well, this is still the JVM. |
||
---|---|---|
.. | ||
src/test | ||
BUILD.bazel |