Commit Graph

10141 Commits

Author SHA1 Message Date
Stephen Compall
ebe7a04191
export LedgerOptions from @daml/ledger (#14277)
Fixes #14073.

CHANGELOG_BEGIN
- [js] Type ``LedgerOptions``, the type of `new Ledger` arguments, can
  be imported by name from ``@daml/ledger``, and is included in the
  documentation.
CHANGELOG_END
2022-06-28 13:45:01 +00:00
Dharmaraj Parmar
162100a30b
Timeout for LedgerIdentityClient (#14098)
* Fixes #14097

CHANGELOG_BEGIN
- [Java Bindings] Enable timeout for `LedgerIdentityClientImpl.getLedgerIdentity().
CHANGELOG_END

Co-authored-by: Stephen Compall <stephen.compall@daml.com>
2022-06-28 08:58:59 -04:00
Moisés Ackerman
583a97d02e
data-dependencies: qualify HasMethod interface (#14280)
* Add failing test

* Use qualified interface type for HasMethod instances

changelog_begin
changelog_end
2022-06-28 14:12:39 +02:00
Carl Pulley
6ed88105bb
Refactor and simplification of Transaction#processNodes
* fixes #14183

CHANGELOG_BEGIN

- [DAML Studio] Refactor and simplification of Transaction#processNodes to avoid need for custom state during processing. Refactor of Transaction#processTransaction to make processing workflow more transparent and easier to unit test. See https://github.com/digital-asset/daml/issues/14183 for details.

CHANGELOG_END
2022-06-28 13:49:41 +02:00
Claudio Bley
8c02057eb8
bazel: Retry cache operation for IOException "Operation timed out" (#14274)
We have seen cache failures caused by:
```
2022-06-13T19:02:13.0964410Z NOT RETRYING: java.io.IOException: Operation timed out
```
which later resulted in:
```
2022-06-13T19:05:42.4633080Z WARNING: Reading from Remote Cache:
2022-06-13T19:05:42.4635340Z com.google.devtools.build.lib.remote.BulkTransferException: Operation timed out
2022-06-13T19:05:42.4636670Z 	at com.google.devtools.build.lib.remote.RemoteCache.waitForBulkTransfer(RemoteCache.java:291)
2022-06-13T19:05:42.4638600Z 	at com.google.devtools.build.lib.remote.RemoteCache.download(RemoteCache.java:466)
2022-06-13T19:05:42.4640330Z 	at com.google.devtools.build.lib.remote.RemoteExecutionService.downloadOutputs(RemoteExecutionService.java:383)
2022-06-13T19:05:42.4643000Z 	at com.google.devtools.build.lib.remote.RemoteSpawnCache.lookup(RemoteSpawnCache.java:120)
2022-06-13T19:05:42.4645110Z 	at com.google.devtools.build.lib.exec.AbstractSpawnStrategy.exec(AbstractSpawnStrategy.java:139)
2022-06-13T19:05:42.4647270Z 	at com.google.devtools.build.lib.exec.AbstractSpawnStrategy.exec(AbstractSpawnStrategy.java:106)
2022-06-13T19:05:42.4649070Z 	at com.google.devtools.build.lib.actions.SpawnStrategy.beginExecution(SpawnStrategy.java:47)
2022-06-13T19:05:42.4650750Z 	at com.google.devtools.build.lib.exec.SpawnStrategyResolver.beginExecution(SpawnStrategyResolver.java:65)
2022-06-13T19:05:42.4655610Z 	at com.google.devtools.build.lib.analysis.actions.SpawnAction.beginExecution(SpawnAction.java:331)
2022-06-13T19:05:42.4657770Z 	at com.google.devtools.build.lib.actions.Action.execute(Action.java:127)
2022-06-13T19:05:42.4667910Z 	at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$5.execute(SkyframeActionExecutor.java:855)
2022-06-13T19:05:42.4669320Z 	at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$ActionRunner.continueAction(SkyframeActionExecutor.java:1016)
2022-06-13T19:05:42.4670870Z 	at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$ActionRunner.run(SkyframeActionExecutor.java:975)
2022-06-13T19:05:42.4672520Z 	at com.google.devtools.build.lib.skyframe.ActionExecutionState.runStateMachine(ActionExecutionState.java:129)
2022-06-13T19:05:42.4673950Z 	at com.google.devtools.build.lib.skyframe.ActionExecutionState.getResultOrDependOnFuture(ActionExecutionState.java:81)
2022-06-13T19:05:42.4675420Z 	at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor.executeAction(SkyframeActionExecutor.java:472)
2022-06-13T19:05:42.4677050Z 	at com.google.devtools.build.lib.skyframe.ActionExecutionFunction.checkCacheAndExecuteIfNeeded(ActionExecutionFunction.java:834)
2022-06-13T19:05:42.4678230Z 	at com.google.devtools.build.lib.skyframe.ActionExecutionFunction.compute(ActionExecutionFunction.java:307)
2022-06-13T19:05:42.4679530Z 	at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:477)
2022-06-13T19:05:42.4680390Z 	at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
2022-06-13T19:05:42.4681260Z 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2022-06-13T19:05:42.4682100Z 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2022-06-13T19:05:42.4683170Z 	at java.base/java.lang.Thread.run(Thread.java:829)
2022-06-13T19:05:42.4683650Z 	Suppressed: java.io.IOException: Operation timed out
2022-06-13T19:05:42.4684210Z 		at java.base/sun.nio.ch.FileDispatcherImpl.read0(Native Method)
2022-06-13T19:05:42.4685100Z 		at java.base/sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
2022-06-13T19:05:42.4685990Z 		at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:276)
2022-06-13T19:05:42.4686710Z 		at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:233)
2022-06-13T19:05:42.4687740Z 		at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:223)
2022-06-13T19:05:42.4688740Z 		at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:356)
2022-06-13T19:05:42.4689620Z 		at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
2022-06-13T19:05:42.4690290Z 		at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
2022-06-13T19:05:42.4692060Z 		at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
2022-06-13T19:05:42.4693020Z 		at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
2022-06-13T19:05:42.4693700Z 		at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
2022-06-13T19:05:42.4694350Z 		at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
2022-06-13T19:05:42.4695020Z 		at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
2022-06-13T19:05:42.4695740Z 		at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
2022-06-13T19:05:42.4696750Z 		at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
2022-06-13T19:05:42.4698000Z 		at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
2022-06-13T19:05:42.4699170Z 		at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
2022-06-13T19:05:42.4700320Z 		... 1 more
```

This was caused by a time out to the cache server while downloading cached
artifacts and should have been retried. (see [1])

CHANGELOG_BEGIN
CHANGELOG_END

[1]: https://gist.github.com/cocreature/98481cd41029e73d1bc2a26a7661e07a
2022-06-28 13:37:42 +02:00
dylant-da
32d6a4a2dc
Improve error message when implementing non-interface (Issue #13823) (#14249)
* Improve error for `implements` on non-interface using GHC source-map

* Pass source location for implements directly

* Update GHC revision to pick up updated implements location

* Change revision to point to merged GHC source location changes

CHANGELOG_BEGIN
CHANGELOG_END

* Handlers output strings in convertInterfaceTyCon

* Improve error for requires on non-interface

* Use prettyPrint instead of GHC.showSDocUnsafe . ppr

* Test error messages for implement/require noninterface

* Fix error line numbers, point to merged GHC changes instead of branch

* Enable interfaces in new tests, Fix copyright year

* Add trailing newline to interface tests

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

Co-authored-by: Remy <remy.haemmerle@daml.com>
2022-06-28 10:14:53 +01:00
azure-pipelines[bot]
98db19866d
rotate release duty after 2022-06-22 (#14240)
@akrmn 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-28 09:34:51 +02:00
azure-pipelines[bot]
94342f513c
bump canton to 20220627 (#14284)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-28 07:23:11 +00:00
Claudio Bley
6f31303a66
Fix CI build on windows (#14279)
Prior to this change the installation of msys2 would fail because packages fail
to validate their signature:

```
:: File /var/cache/pacman/pkg/perl-HTTP-Cookies-6.10-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP s
ignature)).
Do you want to delete it? [Y/n]
error: perl-Net-SSLeay: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/perl-Net-SSLeay-1.90-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP
signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package)
```

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2022-06-28 00:03:33 +02:00
azure-pipelines[bot]
24018435be
bump canton to 20220624 (#14270)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-27 13:16:35 +02:00
pbatko-da
7cd677e367
[ETQ-Testing] Prepare Benchtool for extending it to support huge party filters [DPP-1079] (#14246)
This a preparation before the adding support for huge party filters.

Some of the changes:
1. Scan for existing parties even if when there is not submission step configured so that we can enrich stream configs fully.
NOTE: ConfigEnricher will now never fail on missing party.
2. Extract party selection for contract creation to a separate class.
3. Expose `commandGenerationParallelism` and a couple of randomness providers to allow for reproducible party allotment to contracts - useful in tests.
4. Extract `benchtoolFixture` to reduce boilerplate in IT tests


changelog_begin
changelog_end
2022-06-24 09:33:05 +00:00
azure-pipelines[bot]
698ddc6372
bump canton to 20220623 (#14269)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-24 09:35:53 +02:00
Moisés Ackerman
0d1ef10472
Retroactive Implements - Scala side (#14130)
* Add CoImplements to daml-lf AST

* Add AstSpec case for duplicate co-implements in interface

* Add placeholders for CoImplements in daml-lf validation

* Handle CoImplements in daml-lf iterators

* Handle CoImplements in daml-lf scala decoder

* Test DefInterface components in DecodeV1Spec

* Handle CoImplements in daml-lf (testing) parser

* Handle CoImplements in daml-lf (testing) encoder

changelog_begin
changelog_end
2022-06-23 17:13:38 +00:00
azure-pipelines[bot]
d74af21e90
bump canton to 20220622 (#14253)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-23 12:05:23 +02:00
carrielaben-da
c2cd6141ce
Add the Parties and Users Blog Post to the docs (#14190)
* Add the Parties and Users Blog Post to the docs

[CHANGELOG_BEGIN]

Adding the blog post that addresses changes in parties and users from 1.18 to 2.0 to our permanent documentation

[CHANGELOG_END]

* Update parties-users.rst

[CHANGELOG_BEGIN]
Adjusted for @jwhyte-da's comment
[CHANGELOG_END]

* Update docs/source/app-dev/parties-users.rst

[CHANGELOG_BEGIN]
[CHANGELOG_END]

Co-authored-by: Stephen Compall <stephen.compall@daml.com>

* Update docs/source/app-dev/parties-users.rst

[CHANGELOG_BEGIN]
[CHANGELOG_END]

Co-authored-by: Stephen Compall <stephen.compall@daml.com>

* Update docs/source/app-dev/parties-users.rst

[CHANGELOG_BEGIN]

[CHANGELOG_END]

Co-authored-by: Stephen Compall <stephen.compall@daml.com>

* Update docs/source/app-dev/parties-users.rst

[CHANGELOG_BEGIN]
[CHANGELOG_END]

Co-authored-by: Stephen Compall <stephen.compall@daml.com>

* Update docs/source/app-dev/parties-users.rst

[CHANGELOG_BEGIN]
[CHANGELOG_END]

Co-authored-by: Stephen Compall <stephen.compall@daml.com>

* Update parties-users.rst

[CHANGELOG_BEGIN]
Addressing comments; removed SDK 1.8 and earlier section
[CHANGELOG_END]

* fix links

Co-authored-by: carrie-laben <91496516+carrie-laben@users.noreply.github.com>
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2022-06-22 12:58:29 -04:00
Gary Verhaegen
665411203a
docs: fix daml-types link (#14247)
As reported by @benm-da.

CHANGELOG_BEGIN
CHANGELOG_END
2022-06-22 13:54:18 +00:00
Gary Verhaegen
9aec01853b
ci: unpin Ubuntu image (#14143)
Cleaning up after #14126

CHANGELOG_BEGIN
CHANGELOG_END
2022-06-22 13:56:05 +02:00
azure-pipelines[bot]
917fe3db39
update NOTICES file (#14242)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-22 13:36:32 +02:00
Gary Verhaegen
9cffbdffce
bump nightly prefix (#14243)
CHANGELOG_BEGIN
CHANGELOG_END
2022-06-22 11:24:23 +00:00
azure-pipelines[bot]
09e1e655ea
bump canton to 20220621 (#14241)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-22 08:48:11 +02:00
carrielaben-da
2ea1c7402f
Fix for unclear installation instructions (#14083)
* Fix for unclear installation instructions

An attempted fix to the unclear installation instructions. This is based on the most recent version of Canton installation instructions I could find from before the merge, dated Dec. 22, 2021

[CHANGELOG_BEGIN]

[CHANGELOG_END]

* Update docs/source/getting-started/installation.rst

[CHANGELOG_BEGIN]

[CHANGELOG_END]

Co-authored-by: Stephen Compall <stephen.compall@daml.com>

Co-authored-by: carrie-laben <91496516+carrie-laben@users.noreply.github.com>
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
2022-06-21 15:20:49 -04:00
Simon Maxen
6a1e3afb71
Switch rate limiting to using self service error codes [DPP-1000] (#14216)
* Switch rate limiting to using self service error codes

changelog_begin
Rate limiting updated to use self service error codes.
changelog_end
2022-06-21 16:49:22 +01:00
azure-pipelines[bot]
a7244b84ca
bump canton to 20220620 (#14232)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-21 16:51:25 +02:00
Gary Verhaegen
feb53f96c1
infra: tighten TLS security (#14239)
This tightens our TLS configuration a bit, mostly by dropping support
for SSL3, TLS1.0 and TLS1.1 on https://hoogle.daml.com,
https://bazel-cache.da-ext.net, https://nix-cache.da-ext.net and the
daml-binaries front (which I don't think we still use).

CHANGELOG_BEGIN
CHANGELOG_END
2022-06-21 14:37:24 +00:00
Moisés Ackerman
a2f2c859a8
Document explicitly transitive 'requires' for interfaces (#14236)
changelog_begin
changelog_end
2022-06-21 15:59:26 +02:00
azure-pipelines[bot]
05a9274861
update NOTICES file (#14233)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-21 15:50:38 +02:00
dylant-da
2edd4c00f4
Add --ghc-repo-override flag to override GHC used in daml-sdk-head build (#14238)
* Add --ghc-repo-override flag to override GHC used in daml-sdk-head build

CHANGELOG_BEGIN
CHANGELOG_END

* Add BAZEL_MODE_FLAGS to third `bazel build` call
2022-06-21 14:26:34 +01:00
Sergey Kisel
4cc98fe715
Fix compilation problem after PR merge (#14237)
CHANGELOG_BEGIN
CHANGELOG_END
2022-06-21 11:36:40 +00:00
Sergey Kisel
6a80a1a82f
Removal of sandbox-classic module and binary (#14201)
* Removal of sandbox-classic module and binary

CHANGELOG_BEGIN
CHANGELOG_END
2022-06-21 11:09:51 +02:00
pbatko-da
aa8ad32304
[Benchtool] Package Benchtool related Daml modules separately from other modules [DPP-1089] (#14231)
Recent changes in //ledger/test-common in Daml modules changed the fully qualified names of templates used by Benchtool, even though they hadn't been changed directly.

This made it impossible to filter by template name in a recently created LR IndexDB snapshot.

To avoid spurious changes in fully qualified template names (from Benchtool perspective) we are now packaging Benchtool related Daml modules separately from other modules

changelog_begin
changelog_end
2022-06-21 10:38:15 +02:00
pbatko-da
c575d598ff
[ETQ-TESTING] Fix slow flat transactions stream [DPP-1090] (#14187)
changelog_begin
changelog_end
2022-06-21 09:15:08 +02:00
Moisés Ackerman
f4211b709f
data-dependencies: generate opaque constructor for interfaces (#14228)
* Add simpleImportTestOptions helper

* Add failing test

* data-dependencies: Generate opaque constructor for interfaces

changelog_begin
changelog_end

* Add comment in test case
2022-06-20 17:49:12 +02:00
pbatko-da
13d7389aa7
[Benchtool] Allow for setting a timeout for every stream [DPP-1088] (#14226)
changelog_begin
changelog_end
2022-06-20 15:37:43 +02:00
Gary Verhaegen
b230c1dbee
1.18.3-rc (#14223)
Includes:

* https://github.com/digital-asset/daml/pull/14221
* https://github.com/digital-asset/daml/pull/14214

CHANGELOG_BEGIN
CHANGELOG_END
2022-06-20 13:39:16 +02:00
Moisés Ackerman
d4d78fc6c4
Use rst_prolog to define typescript link targets (#14225) 2022-06-20 13:14:10 +02:00
azure-pipelines[bot]
2a50c6e509
update NOTICES file (#14222)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-20 11:09:49 +02:00
Remy
5b139bea60
add regression test for #14171 in conformance test (#14212)
CHANGELOG_BEGIN
CHANGELOG_END
2022-06-20 07:41:50 +00:00
azure-pipelines[bot]
253b0b186c
bump canton to 20220617 (#14218)
* bump canton to 20220617

CHANGELOG_BEGIN
CHANGELOG_END

* activate conformance test for regression test for exceptions

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2022-06-19 23:10:22 +00:00
Gary Verhaegen
d6dd03751f
cron: faster check_releases (hopefully) (#14209)
The check_releases job has been a major player in the flakiness of the
daily test lately, simply by _timing out_ despite its 6h limit.

There are smarter, more "permanent" fixes we could implement here, but
as a quick stopgap measure I wanted to try out how much faster we would
go if we didn't need to reestablish a GCloud identity for each file.

CHANGELOG_BEGIN
CHANGELOG_END

run-full-compat: true
2022-06-17 17:56:51 +02:00
azure-pipelines[bot]
658ae99100
update NOTICES file (#14211)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-17 10:39:19 +02:00
azure-pipelines[bot]
fc916922da
bump canton to 20220616 (#14210)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-06-17 07:22:09 +00:00
Remy
2ddd744a91
[Engine] fix and test #14175 (#14206)
follow up of #14175

this is part of #14171

CHANGELOG_BEGIN
CHANEGELOG_END
2022-06-16 22:45:50 +02:00
Gary Verhaegen
e78303332a
docs: fix top-level update function (#14204)
After yet another report of a ghost file, I stared at the code even
harder than before and finally figured out what was going wrong (or at
least one way it was going wrong): `listDirectory` is not recursive, so
the current code would only delete top-level files.

Hopefully this fixes that. I'll try to do some manual cleanup too.

CHANGELOG_BEGIN
CHANGELOG_END
2022-06-16 18:42:39 +00:00
Gary Verhaegen
3e8a49cdae
scala quickstart: remove examples (#14207)
These are not referenced from anywhere in the repo, and running them
manually is made very annoying by the removal of the Scala codegen and
the `quickstart-scala` template.

If they were deliberately kept to serve as examples of using the Scala
bindings (which I understand are still in use despite being deprecated),
I think we should find another way to keep that bit of documentation
alive, specifically a way that actually gets tested.

CHANGELOG_BEGIN
CHANGELOG_END
2022-06-16 19:16:05 +02:00
Gary Verhaegen
64f83228bd
dev-env: remove (broken) ipython symlink (#14208)
CHANGELOG_BEGIN
CHANGELOG_END
2022-06-16 19:14:17 +02:00
Stephen Compall
707c3e1a52
accept standard hlists as record/variant specs (#14167)
* link to #14189

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Raymond Roestenburg <98821776+ray-roestenburg-da@users.noreply.github.com>
2022-06-16 15:05:50 +00:00
nickchapman-da
44a14d06c9
Regression test for rollback create bug (#14197)
* Regression test for issue 14148

changelog_begin
changelog_end

* update compatability
2022-06-16 14:58:19 +00:00
Sergey Kisel
b1d8c14c55
Removal of Sandbox Classic in Haskell code [DPP-1073]. (#14127)
* Removal of Sandbox Classic in Haskell code.

CHANGELOG_BEGIN
CHANGELOG_END

* Further sandbox-classic removals

* Upload dar files when withSandbox is used.

* fix formatting

* Moved upload of dars in createSandbox.

* Fixed test by passing the token before the token file is created.

* Added implicit party allocation argument for haskell tests.

* DPP-1073 Infer sandbox token from the shared secret.

* Different slicing of runLedgerUploadDar

Co-authored-by: Andreas Triantafyllos <andreas.triantafyllos@digitalasset.com>
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2022-06-16 14:14:39 +02:00
Remy
2d5094160e
[Engine] clean key uniqueness mode (#14194)
This is a follow up of #14175 and #14176.  

Basically
-  we kill the `On` mode which is not used anymore.
- we factorize the visibility check.
- we rename `LocalContractNotVisible` into `ContractNotVisible`

CHANGELOG_BEGIN
CHANGELOG_END
2022-06-16 12:04:45 +00:00
Claudio Bley
21ef82066a
Drop haskell-rts-docs.patch and haskell-ghc-includes.patch (#14045)
* Update rules_haskell version and hash

* remove `haskell-rts-docs.patch`
* remove `haskell-ghc-includes.patch`

CHANGELOG_BEGIN
CHANGELOG_END
2022-06-16 13:52:24 +02:00