Commit Graph

9970 Commits

Author SHA1 Message Date
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
tudor-da
b0ec3fed5a
LedgerApiBenchTool returns status code 1 on config error (#13958)
changelog_begin
changelog_end
2022-05-24 09:07:38 +02:00
mziolekda
79e861d578
Add submissionId to logs where it has been missing [DPP-1052] (#13937)
* Add submissionId to logs where it has been missing

CHANGELOG_BEGIN
CHANGELOG_END
2022-05-24 08:33:34 +02:00
tudor-da
ee9891b4b0
[LLP] Memory safe buffered ledger api streams [DPP-1020] (#13852)
* [TO BE REMOVED] OOM memory test for BufferedTransactionsReader

* [LLP] Memory-safe BufferedTransactionsReader

changelog_begin
changelog_end

* Addressed Simon's review comments

* Non-recusive stream construction

* Remove redundant in-stream buffers

* Addressed Marton's review comments

* Last round of addressing Marton's comments

* Remove MemoryBoundedBufferedTransactionsReaderSpec
2022-05-23 19:06:54 +00:00
Stephen Compall
97f3f4f956
reduce fixture-passing boilerplate in json-api tests (#13829)
* move the fixture data to a single value, make utilities extend off it
* start unifying the with* functions

CHANGELOG_BEGIN
CHANGELOG_END
2022-05-23 16:16:35 +00:00
Claudio Bley
ef07f36e2d
Remove haskell-arm-m1.patch from rules_haskell_patches (#13891) 2022-05-23 16:36:22 +02:00
Robin Krom
29f79fc756
disclosures: support in engine (#13896)
* disclosures: support in engine

This adds support for contract disclosures in the engine.

Fixes #13863.

CHANGELOG_BEGIN
CHANGELOG_END

* move VersionedContractInstance to Value

* normalization/typechecking

* Update daml-lf/engine/src/main/scala/com/digitalasset/daml/lf/engine/Error.scala

Co-authored-by: Remy <remy.haemmerle@daml.com>

* Update daml-lf/engine/src/main/scala/com/digitalasset/daml/lf/engine/preprocessing/CommandPreprocessor.scala

Co-authored-by: Remy <remy.haemmerle@daml.com>

* Update daml-lf/engine/src/main/scala/com/digitalasset/daml/lf/engine/preprocessing/CommandPreprocessor.scala

Co-authored-by: Remy <remy.haemmerle@daml.com>

* remove processImmArray

* throw exception in foldl

* check for duplicate contract keys in disclosures

* added issue for removal of empty disclosure assertion

* format

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Remy <remy.haemmerle@daml.com>
2022-05-23 16:13:46 +02:00
Raymond Roestenburg
f9d20e0b88
Removed reactive components from docs. (#13940)
CHANGELOG_BEGIN
CHANGELOG_END
2022-05-23 16:12:01 +02:00
Stefano Baghino
27897c5855
Ask contributors to open an issue to discuss their design ideas (#13953)
changelog_begin
changelog_end

Also change the headers for the `Problems` and `Thank you!` sections so that they
are children of the main title. Finally, change the usage of a British spelling to
an American one to be in line with the rest of the document.

Co-authored-by: Remy <remy.haemmerle@daml.com>
2022-05-23 15:53:10 +02:00
Claudio Bley
1343dcd827
Remove da_ghc_lib job from CI (#13949) 2022-05-23 15:36:02 +02:00
Claudio Bley
46641db770
Fix build on darwin_arm64 (Apple M1) (#13951)
Co-authored-by: Claudio Bley <claudio.bley@digitalasset.com>
2022-05-23 15:34:47 +02:00
azure-pipelines[bot]
25928d8af4
update NOTICES file (#13948)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-23 15:18:33 +02:00
Remy
f6cef6ee79
notify language and canton about change in ledger-api-test-tool-on-canton (#13950)
CHANGELOG_BEGIN
CHANGELOG_END
2022-05-23 14:29:43 +02:00
Marton Nagy
fb9f10547e
ACS ID fetching rewrite [DPP-986] (#13745)
Simplifies ID fetching logic
Removes dead code / tests
Cleans up factories (Materializer not needed anymore)
Simplifies ConcurrencyLimiter interface
Adds/cleans up unit tests

CHANGELOG_BEGIN
CHANGELOG_END
2022-05-23 09:29:36 +02:00
azure-pipelines[bot]
18cf28a314
bump canton to 20220520 (#13945)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-23 08:36:32 +02:00
mziolekda
385504fd7d
Add ledger api test tool cases for expensive daml maps and lists [DPP-955] (#13821)
* add tests for large maps and lists

* add many iterations on exercise

* format

* clean up

CHANGELOG_BEGIN
CHANGELOG_END

* fix broken build

* Incorporate review comments
2022-05-19 17:13:28 +00:00
pbatko-da
931979ad14
Benchtool: Add weighted application ids and randomized extra submitters [DPP-979] (#13885)
New config sections aim at populating data for completion stream benchmarks.

Sample:
'''
submission:
    type: foo
    num_extra_submitters: 6
    application_ids:
       - id: App-1
         weight: 90
       - id: App-2
         weight: 10
'''

changelog_begin
changelog_end
2022-05-19 16:32:09 +02:00
pbatko-da
0e2c6fc60b
Benchtool: Count number of events rather than number of transactions also in exposed metrics [DPP-1048] (#13932)
changelog_begin
changelog_end
2022-05-19 16:29:37 +02:00
Gary Verhaegen
7cea9bffff
release 2.0.1 (#13930) 2022-05-19 15:26:57 +02:00
Remy
a3cccbc6eb
Update GHC (#13917)
with digital-asset/ghc#120

fixes #13915

CHANGELOG_BEGIN
CHANGELOG_END
2022-05-19 12:52:46 +00:00
azure-pipelines[bot]
0b8a83a840
update NOTICES file (#13929)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-19 13:13:24 +02:00
Andreas Herrmann
18a9c93549
Bazelify ghc-lib (#12508)
Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
Co-authored-by: Claudio Bley <claudio.bley@digitalasset.com>
2022-05-19 10:49:16 +02:00
pbatko-da
a4426b0bc4
Benchtool: Count number of events rather than number of transactions [DPP-1048] (#13913)
changelog_begin
changelog_end
2022-05-19 08:04:26 +00:00
azure-pipelines[bot]
5c55189675
bump canton to 20220518 (#13928)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-19 09:14:55 +02:00
Raymond Roestenburg
e3f01870a3
Added readyz endpoint. (#13902)
CHANGELOG_BEGIN
The ‘/readyz’ endpoint has been added to the trigger service to support readiness probes.
CHANGELOG_END
2022-05-19 08:34:26 +02:00
Gary Verhaegen
a6dac18fb9
notify on Canton bumps (#13909)
CHANGELOG_BEGIN
CHANGELOG_END
2022-05-18 21:09:27 +02:00