Commit Graph

10245 Commits

Author SHA1 Message Date
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
azure-pipelines[bot]
7e804915fe
update NOTICES file (#13979)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-25 10:15:19 +02:00
azure-pipelines[bot]
2411b15b23
bump canton to 20220524 (#13977)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-25 09:22:51 +02:00
Remy
d3264236ba
Interface: drop collision check between inherited choice name (#13939)
CHANGELOG_BEGIN
CHANGELOG_END
2022-05-24 17:53:18 +02:00
Stephen Compall
49a5474232
javadocs for codegen support in javaapi bindings (#13959)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Raymond Roestenburg <98821776+ray-roestenburg-da@users.noreply.github.com>
2022-05-24 11:26:27 +00:00
Stephen Russett
ddb6083119
Add /log and navigator.log to default gitignore (#13944)
* Add /log and navigator.log to default gitIgnore

ensures that by default, log files are visible to git when creating a daml project with the daml cli.
Based on conversation from: https://discuss.daml.com/t/daml-cli-logs-folder-navigator-log-should-be-gitgnored/4587

changelog_begin
changelog_end
2022-05-24 11:22:56 +00:00
Stephen Compall
a716428ebc
replace hand-disassembly of json in tests with domain model values (#13960)
* make postJsonRequestWithMinimumAuth parse, and make all its callers declarative
* make getRequestWithMinimumAuth parse, and make all its callers declarative
* note about further cleanup

CHANGELOG_BEGIN
CHANGELOG_END
2022-05-24 06:31:06 -04:00
Stephen Compall
04c37349fc
refactor contract/party endpoint functions to endpoints package (#13955)
* move fetch, retrieveAll, query to separate module
* move parties endpoints to separate module
* narrow some access as all endpoint functions have moved

CHANGELOG_BEGIN
CHANGELOG_END
2022-05-24 06:29:51 -04:00
Stephen Compall
b307cd8406
remove some contract-ID generality from TypedValueGenerators (#13957)
* move where ContractId arbitrary instance passes into ValueAddend
* adjust ValueAddend users to deal with moved Arbitrary instance

CHANGELOG_BEGIN
CHANGELOG_END
2022-05-24 06:28:34 -04:00
Moritz Kiefer
8143ce5c9c
Disable compat tests for forks (#13964)
They don’t get access to Oracle which just results in them failing
which is clearly no good.

changelog_begin
changelog_end
2022-05-24 10:07:57 +00:00
azure-pipelines[bot]
5a2a0df965
update NOTICES file (#13963)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-24 10:59:27 +02:00
azure-pipelines[bot]
62eeb279ac
bump canton to 20220523 (#13961)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-24 09:10:21 +02:00