Commit Graph

10006 Commits

Author SHA1 Message Date
Andreas Lochbihler
4cfffec87a
Extract a contract state machine for transaction interpretation and validation (#14044)
CHANGELOG_BEGIN
CHANGELOG_END
2022-06-02 09:39:37 +00:00
azure-pipelines[bot]
5af451473b
update NOTICES file (#14061)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-02 08:38:58 +00:00
Gary Verhaegen
78e4d33346
fix Docker image (#14063)
Same goal as #14055, but this should fix this week's image (we build
from the release commit, so #14055 only fixes future images), as well as
allow us to rebuild past images should we ever need to.

CHANGELOG_BEGIN
CHANGELOG_END
2022-06-02 08:27:07 +00:00
azure-pipelines[bot]
587af541fc
bump canton to 20220601 (#14060)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-02 10:22:12 +02:00
azure-pipelines[bot]
fc59ced836
rotate release duty after 2022-06-01 (#14041)
@remyhaemmerle-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-02 10:20:52 +02:00
Gary Verhaegen
672a4bfb9c
fix daml-sdk Docker image (#14055)
It looks like the default image changed from Focal to Jammy, and for
whatever reason that completely breaks `curl`.

This pins us to Focal (for better or worse).

CHANGELOG_BEGIN
CHANGELOG_END
2022-06-01 17:58:22 +00:00
azure-pipelines[bot]
8c59a28a41
update NOTICES file (#14042)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-01 11:21:59 +02:00
azure-pipelines[bot]
93716c2a4e
bump canton to 20220531 (#14040)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-01 11:21:23 +02:00
Marton Nagy
f5a2539d6f
Add globalKeyMapping to WriteService [DPP-1067] (#14026)
The field globalKeyMapping is recently added to
lf.transaction.Transaction.Metadata, and which is
computed by the Engine.
This field might be needed for processing by WriteService
implementors.
This PR adds this to the WriteService.

changelog_begin
Global contract key mapping is added to WriteService.
changelog_end
2022-06-01 10:08:18 +02:00
tudor-da
3c5a52b895
[LLP] Move ledger-api-transactions-buffer-max-size to Config from ParticipantConfig (#14009)
* Move `ledger-api-transactions-buffer-max-size` to Config from ParticipantConfig

changelog_begin
changelog_end

* Update ledger/ledger-runner-common/src/main/scala/com/daml/ledger/runner/common/CliConfig.scala

Co-authored-by: mziolekda <marcin.ziolek@digitalasset.com>

Co-authored-by: mziolekda <marcin.ziolek@digitalasset.com>
2022-06-01 05:51:55 +00:00
Moisés Ackerman
e62bb29e9c
Update macOS nix setup to use 'trusted-users' option (#14036) 2022-05-31 16:24:14 +00:00
Gary Verhaegen
cacca56833
docs: documenting this and self (#14028)
Taking a stab at #11565.

CHANGELOG_BEGIN
CHANGELOG_END
2022-05-31 16:50:53 +02:00
Rafael Guglielmetti
291bb5d82c
Add min1 and max1 on NonEmpty for Iterable (#14016)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Stephen Compall <stephen.compall@daml.com>
2022-05-31 13:08:37 +00:00
Simon Maxen
4095f6bf49
Limit service API DB threadpool [DPP-998] (#14017)
Limit service API DB threadpool

changelog_begin
changelog_end
2022-05-31 14:00:02 +01:00
Gary Verhaegen
a48640e25b
docs: clarify lf <-> json spec (#14025)
Trying to summarize a discussion we had on Slack.

CHANGELOG_BEGIN
CHANGELOG_END
2022-05-31 12:53:12 +00:00
Stephen Compall
96a6fe62e4
choice name overloading in lf/interface (#13938)
* introduce TemplateChoices to mediate template choice resolution
* if any resolutions fail in EnvironmentInterface, discard the template's resolution
* if any resolutions fail in Interface, discard the remaining unresolved

CHANGELOG_BEGIN
CHANGELOG_END
2022-05-31 08:41:48 -04:00
azure-pipelines[bot]
00fd847926
bump canton to 20220530 (#14020)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-31 09:12:05 +00:00
azure-pipelines[bot]
6099e14541
update NOTICES file (#14021)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-31 11:00:53 +02:00
tudor-da
4b296fb5cc
Address Sergey's comment on BatchinParallelIngestionPipeSpec (#14023)
changelog_begin
changelog_end
2022-05-31 08:28:04 +00:00
tudor-da
2cb4fba2a2
Fix BatchingParallelIngestionPipeSpec flaky test (#14022)
changelog_begin
changelog_end
2022-05-31 07:09:39 +00:00
Gary Verhaegen
eefe285f67
remove Stewart from release rotation (#14018)
CHANGELOG_BEGIN
CHANGELOG_END
2022-05-30 17:09:40 +00:00
Remy
62877ab78b
LF: Cleanup Fetches (#13804)
- Rename fetch to fetch_template
- Rename misnamed fetch_by_interface to fetch_interface
- Drop dead fetch_by_interface

CHANGELOG_BEGIN
CHANGELOG_END
2022-05-30 18:55:41 +02:00
Sergey Kisel
168f943ff0
Revise the config to use a hierarchical structure [DPP-1029] (#13629)
* Revise the config to use a hierarchical structure [DPP-1029]

CHANGELOG_BEGIN
CHANGELOG_END
2022-05-30 18:02:53 +02:00
azure-pipelines[bot]
de89dac853
rotate release duty after 2022-05-25 (#13976)
@robin-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-30 17:41:23 +02:00
Remy
365fa11b10
PartialTransaction: make clear domain of keys is subset of globalKeyInputs (#14015)
CHANGELOG_BEGIN
CHANGELOG_END
2022-05-30 15:27:31 +00:00
Nicu Reut
2e1cc5c61b
[KV] - Replace RESOURCE_EXHAUSTED KV error with RESOURCE_OVERLOADED [kvl-1290] (#14014) 2022-05-30 14:37:17 +00:00
Moisés Ackerman
25b342240e
Fix data-dependencies leaking dependency internals (#13981)
* Add failing test

* Do not overwrite existing dalfs when installing a dar dependency

changelog_begin
* data-dependencies: fixed an issue with the handling of transitive dependencies through a data-dependency (#13981)
changelog_end
2022-05-30 13:19:59 +00:00
pbatko-da
c52b3bad79
Benchtool: Generate consuming events with non-stakeholder informees [DPP-1049] (#13988)
Non-stakeholder informees for consuming events are obtained by exercising a consuming choice on Foo1, Foo2 or Foo3 contract as a sub-action of divulgers newly introducedDivulgeConsumingExercise choice.

changelog_begin
changelog_end
2022-05-30 12:30:49 +01:00
Moisés Ackerman
cc41d0ce3a
Replace 'fetchByKey' with 'lookupByKey' in 'LookupKeyed' choice in KeyNotVisibleStakeholders (#14011)
changelog_begin
changelog_end

Co-authored-by: Danilo Faria <danilo@digitalasset.com>
2022-05-30 08:39:47 +00:00
tudor-da
0cda5d5c5a
Fix Sandbox-on-X error messages for inconsistent/duplicate key conflicts (#14008)
changelog_begin
changelog_end
2022-05-30 10:24:40 +02:00
Claudio Bley
02e8826b6e
Make building ghc in-project and with Bazel work again (#13970)
* Pass `with_bazel` flag to cabal when building Hadrian inside ghc

* Update GHC

with digital-asset/ghc#121

* Bring back documentation how to test syntax changes

CHANGELOG_BEGIN
CHANGELOG_END
2022-05-30 09:47:44 +02:00
azure-pipelines[bot]
2ef34a4eca
update NOTICES file (#14010)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-30 09:33:38 +02:00
azure-pipelines[bot]
42517d8f76
bump canton to 20220527 (#14005)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-30 09:32:45 +02:00
azure-pipelines[bot]
012e3ac6d3
update NOTICES file (#14006)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-28 11:29:18 -04:00
pbatko-da
0de400680b
Benchtool: cancel streams when enough number of items has been seen [DPP-1051] (#13985)
Implementing it for all stream benchmarks:
 - transactions flat
 - transactions trees
 - active contracts
 - completions

changelog_begin
changelog_end
2022-05-27 15:28:11 +00:00
tudor-da
506af6c6eb
Introduce instrumented .buffered decorator for Akka Sources and Flows (#13997)
changelog_begin
changelog_end
2022-05-27 13:59:12 +00:00
Moritz Kiefer
3f20361cf8
Drop duplicatedContractKeys (#13999)
Not used by anyone anymore and broken under exceptions.

changelog_begin
changelog_end
2022-05-27 12:51:54 +00:00
azure-pipelines[bot]
e0570ce402
bump canton to 20220525 (#13989)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-27 13:50:00 +02:00
pbatko-da
d463365492
Benchtool: Fix flaky test [DPP-1056] (#13998)
changelog_begin
changelog_end
2022-05-27 10:03:23 +00:00
Simon Maxen
40db23925d
Bump max api services queue size to 10,000 (#13996)
changelog_begin
changelog_end
2022-05-27 10:01:08 +00:00
pbatko-da
ef43df4849
Benchtool: Make non-consuming events visible to observer parties [DPP-1056] (#13987)
By making contract observers choice observer on the non-consuming choice (on Foo1, Foo2 and Foo3 contracts)


changelog_begin
changelog_end
2022-05-26 19:45:16 +02:00
tudor-da
b8c19d4c6a
[LLP] Akka optimizations [DPP-1040] (#13880)
* Akka optimizations for read pipeline
* Run computations on dedicated threadpools instead of the Akka dispatcher

changelog_begin
changelog_end

* Address Martino's comments

* Addressed Marton's review comments
2022-05-26 17:33:02 +00:00
Simon Maxen
374c294150
Allow the bench tool to either submitAndWait or submit [DPP-1062] (#13986)
* Make bench tool submission waiting optional [DPP-999]

changelog_begin
changelog_end
2022-05-26 13:31:50 +01:00
Remy
12a488f6a4
LF: Expose the keys requested during interpretation (#13983)
CHANGELOG_BEGIN
CHANGELOG_END
2022-05-25 19:03:35 +02:00
Simon Maxen
18e9473196
Rate limit [DPP-999] (#13956)
* RateLimitingInterceptor integrated into GrpcServer

changelog_begin
changelog_end
2022-05-25 17:13:49 +01:00
Remy
76eabe613e
Release Daml-script runner (#13980)
CHANGELOG_BEGIN
CHANGELOG_END
2022-05-25 15:33:21 +02:00
Stefano Baghino
ecb3149a6d
Update pom.xml (#13984)
Fix Java bindings Maven coordinates (see [here](https://search.maven.org/search?q=a:bindings-rxjava)).

changelog_begin
changelog_end
2022-05-25 12:54:25 +00:00
Moisés Ackerman
789d9a44b1
Integration test fixes (#13982)
* Add integration test for runtime check of contract id in contract key

* Replace 'LookupKeyed' with 'FetchKeyed' in 'blindFetch' scenario

changelog_begin
changelog_end

* Replace 'FetchKeyed' with 'LookupKeyed' in 'divulgeeLookup' scenario
2022-05-25 14:48:09 +02:00
azure-pipelines[bot]
92b986371e
update compat versions (2022-05-25) (#13978)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-25 14:22:29 +02:00
tudor-da
81f7e309db
Ledger API stream buffers moved in IndexServiceImpl (#13972)
changelog_begin
changelog_end
2022-05-25 11:24:09 +02:00