Commit Graph

5312 Commits

Author SHA1 Message Date
Moritz Kiefer
b9a1905dab
Fix exposed packages in DAML REPL (#7529)
To make `--import` work we also need to expose the
packages. Otherwise, we end up with a ton of confusing errors as soon
as you try anything. Luckily, we can do this fairly cheaply by using
the fact that GHC can expose both unit ids as well as just package
names. Until I realized that I started working on a different approach
of reading the DALFs first to resolve unversioned packages but that
seemed much more messy.

changelog_begin
changelog_end
2020-09-30 13:53:42 +02:00
Andreas Herrmann
5a4f1d5d18
trigger service auth /login endpoint (#7519)
* trigger service auth /login endpoint

changelog_begin
changelog_end

* Configure client id and secret through environment

Addressing review comment
https://github.com/digital-asset/daml/pull/7519#discussion_r497303019

* Single flag for OAuth2 server URI

Addressing review comment
https://github.com/digital-asset/daml/pull/7519#discussion_r497301985

* Explain redirectUri in comments

Addressing review comment
https://github.com/digital-asset/daml/pull/7519#discussion_r497305958

* TODO configurable redirect URI

Addressing review comment
https://github.com/digital-asset/daml/pull/7519#discussion_r497318955

* Verify that cookie holds a token

Addressing review comment https://github.com/digital-asset/daml/pull/7519#discussion_r497328320

* fmt

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2020-09-30 11:38:54 +00:00
Moritz Kiefer
1243afc4a1
Remove reference to release-notes.rst (#7524)
* Remove reference to release-notes.rst

https://github.com/digital-asset/daml/pull/7458 shuffled this
around. While we could update it, it doesn’t really make any sense. We
post our release notes to the blog now and not in the docs so this
whole checkout procedure is redundant. This is also true if we wanted
to make a bugfix release for a release < 1.5 where this file still
existed. The trigger_sha is always on master (following our current
release process) so the file would still not exist.

I did also remove it from the docs cronjob. We never reupload old docs
so this doesn’t make a difference.

changelog_begin
changelog_end

* Stupid whitespace change because windows is pissing me off

changelog_begin
changelog_end
2020-09-30 11:34:43 +00:00
Samir Talwar
5cea224a36
kvutils: Flush export files after each write. (#7527)
This will allow consumers to stream writes as they're written.

CHANGELOG_BEGIN
CHANGELOG_END
2020-09-30 10:48:13 +00:00
Samir Talwar
7adaa78696
kvutils: Run the commit strategies in as parallel a fashion as possible. [KVL-558] (#7520)
* kvutils: Document the deterministic nature of commit strategies.

* kvutils: Run the commit strategies in as parallel a fashion as possible.

Trees are faster than lists.

CHANGELOG_BEGIN
CHANGELOG_END

* kvutils: Move `serializeStateKey` into its own class.
2020-09-30 09:43:03 +00:00
Tamás Kálcza
9d0206fc44
Added undefined function (#7058)
* Added ??? operator.

CHANGELOG_BEGIN
- Added `(???)` to Prelude.
CHANGELOG_END

* Renamed (???) operator to undefined.
2020-09-30 10:56:28 +02:00
Remy
177a49f978
Speedy Profiler: add labels for new SDefinitionRef (#7492)
With this PR, the profiler nicely handles the new SDefinitionRef's added in #7472.

We add labels for:

    'create'
    'exerciseByKey'
    'fetch'
    'fetchByKey'
    'lookupByKey'

CHANGELOG_BEGIN
CHANGELOG_END
2020-09-30 10:24:27 +02:00
nickchapman-da
689582be6e
Tests for all kinds of Authorization Failure. (#7479)
changelog_begin
changelog_end
2020-09-30 09:01:39 +01:00
Stephen Compall
f8e1431a28
more error logging for random transaction stream testing (#7482)
* add parameter information to "fall back to limit-based query with consistent results" test

* run only one test in CI, and run it a lot more

* no changelog

CHANGELOG_BEGIN
CHANGELOG_END

* considering a grouped reporter

* never mind that

* clean up the error report

* link to #7521

* remove harder testing
2020-09-30 06:18:16 +00:00
Bernhard Elsner
f1e5820655
Intro to DAML Chapter 10 (#7508)
* Some minor improvements to the DAML Intro docs

CHANGELOG_BEGIN
CHANGELOG_END

* Intro to DAML Chapter 8

CHANGELOG_BEGIN
CHANGELOG_END

* Incorporate feedback

* Update docs/source/daml/intro/8_Upgrading.rst

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Remove wrong statements about interface files

* Complete rework to focus on dependencies, not upgrades

* Intro to DAML Chapter 9

CHANGELOG_BEGIN
CHANGELOG_END

* Apply suggestions from code review

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Make the JS code actual JS

* Update Chapter 9 to incorporate Chapter 8 changes

* Copyright headers and feedback

* Intro to DAML Chapter 9

CHANGELOG_BEGIN
CHANGELOG_END

* Intro to DAML Chapter 10

CHANGELOG_BEGIN
CHANGELOG_END

* Incorporate feedback

* Incorporate chapter 8 changes

* Update toctree

* Get rid of warnings

* Explain `when` short circuiting.

* Fix template

* Fix some literal-includes

* Apply suggestions from code review

Co-authored-by: anthonylusardi-da <59614480+anthonylusardi-da@users.noreply.github.com>

* Copyright headers

* Intro to DAML Chapter 11 (#7509)

* Intro to DAML Chapter 9

CHANGELOG_BEGIN
CHANGELOG_END

* Intro to DAML Chapter 10

CHANGELOG_BEGIN
CHANGELOG_END

* Intro to DAML Chapter 11

CHANGELOG_BEGIN
CHANGELOG_END

* Incorporate feedback

* Incorporate chapter 8 changes

* Minor fixes

* Update docs/source/daml/intro/11_Testing.rst

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Condense the test tooling section to a minimum

* Apply suggestions from code review

Co-authored-by: anthonylusardi-da <59614480+anthonylusardi-da@users.noreply.github.com>

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
Co-authored-by: anthonylusardi-da <59614480+anthonylusardi-da@users.noreply.github.com>

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
Co-authored-by: anthonylusardi-da <59614480+anthonylusardi-da@users.noreply.github.com>
2020-09-29 22:24:40 +02:00
Bernhard Elsner
708e3e2543
Intro to DAML Chapter 9 (#7507)
* Some minor improvements to the DAML Intro docs

CHANGELOG_BEGIN
CHANGELOG_END

* Intro to DAML Chapter 8

CHANGELOG_BEGIN
CHANGELOG_END

* Incorporate feedback

* Update docs/source/daml/intro/8_Upgrading.rst

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Remove wrong statements about interface files

* Complete rework to focus on dependencies, not upgrades

* Intro to DAML Chapter 9

CHANGELOG_BEGIN
CHANGELOG_END

* Apply suggestions from code review

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Make the JS code actual JS

* Update Chapter 9 to incorporate Chapter 8 changes

* Copyright headers and feedback

* Update toctree

* Get rid of warnings

* Explain `when` short circuiting.

* Fix template

* Fix some literal-includes

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2020-09-29 18:30:15 +00:00
Samir Talwar
f0c1eb207c
concurrent: Tag DirectExecutionContext. (#7517)
* concurrent: Tag DirectExecutionContext.

1.  Tag `DirectExecutionContext` as `ExecutionContext[Nothing]`, thereby
    stating that it works for any tagged `Future`.
2.  Move `DirectExecutionContext` to the _libs-scala/concurrent_
    library, as it requires it and it's tiny.

CHANGELOG_BEGIN
CHANGELOG_END

* concurrent: Fix the privacy of `DirectExecutionContextInternal`.

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

Co-authored-by: Stephen Compall <stephen.compall@daml.com>
2020-09-29 17:23:57 +00:00
Samir Talwar
9fa77b61a2
kvutils: Sort the output state before writing. [KVL-558] (#7515)
* kvutils: Always commit serially.

Committing in parallel will cause the set of writes to be emitted in a
random order.

CHANGELOG_BEGIN
- [Integration Kit] In kvutils, the ``BatchedSubmissionValidator`` no
  longer has a parameter for commit parallelism. Commits are now always
  written serially to preserve order.
CHANGELOG_END

* kvutils: Sort the output state before writing.

We previously wrote the output state in a random order, leading to
writes that could not be easily compared for integrity. Sorting them
allows us to validate not just the values, but the order.

This means that the exporter no longer sorts the write set, and the
integrity checker does not sort before checking.

CHANGELOG_BEGIN
- [Integration Kit] In kvutils, state is now sorted before committing.
  This allows us to provide stronger guarantees with regards to the
  serialized write sets.

  If you have implemented your own ``CommitStrategy``, you should also
  ensure the output state is sorted before committing.
CHANGELOG_END

* ledger-on-sql: Implement SQL typeclasses as values, not functions.

Let's pretend performance is important here.

* kvutils: Allow Iterables in batching ledger state operations.

A `Map[Key, Value]` is an `Iterable[(Key, Value)]`, but not a `Seq`.
This allows us to pass a `Map` straight from the committer.

* kvutils: Construct a `SortedMap` in the commit strategy.

This should be more performant than generating and then sorting a
`Vector`.

* kvutils: Sort state updates when committing after pre-execution.
2020-09-29 17:07:11 +00:00
Remy
e6b24d1a5d
Speedy Compiler: compute variable indices more generally. (#7502)
CHANGELOG_BEGIN
CHANGELOG_END
2020-09-29 18:54:21 +02:00
Bernhard Elsner
af2607cfe5
Intro to DAML Chapter 8 (#7506)
* Some minor improvements to the DAML Intro docs

CHANGELOG_BEGIN
CHANGELOG_END

* Intro to DAML Chapter 8

CHANGELOG_BEGIN
CHANGELOG_END

* Incorporate feedback

* Update docs/source/daml/intro/8_Upgrading.rst

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Remove wrong statements about interface files

* Complete rework to focus on dependencies, not upgrades

* Copyright headers and feedback

* Update toctree

* Get rid of warnings

* Fix template

* Fix tests

changelog_begin
changelog_end

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2020-09-29 16:34:21 +00:00
nickchapman-da
7c038119aa
Improve the user error message if the upload-dar command fails. (#7510)
* Improve the user error message if the upload-dar command fails.

In particular we want to catch the case of a gRPC timeout exception which we know can occur if the DAR is too large. But it seems helpful to catch any exception, and shows what we caught along with the helpful message.

* use safe-exceptions
2020-09-29 14:24:53 +00:00
Sofia Faro
e9cd92f061
Deprecate the "daml 1.2" version header. (#7513)
* changelog_begin

- [DAML] The "daml 1.2" version header is now deprecated.

changelog_end

* fix some line numbers

* fix some more locations
2020-09-29 13:14:59 +00:00
Gary Verhaegen
168345f4a8
let CI delete bazel cache items (#7514)
Recently we have been seeing lots of issues with the Bazel cache. It
does not seem like it would need to delete things, but the issues
cropped up about the same time we restricted the permissions, so it's
worth trying to revert that.

CHANGELOG_BEGIN
CHANGELOG_END
2020-09-29 13:56:35 +02:00
Moritz Kiefer
89c0f6ca41
Bump test_sha (#7512)
This changed in #7501 but it’s a harmless change.

changelog_begin
changelog_end
2020-09-29 11:01:01 +00:00
Moritz Kiefer
00b80b8ea3
Separate off-ledger ond on-ledger speedy (#7501)
* Separate off-ledger ond on-ledger speedy

changelog_begin
changelog_end

* Add OnLedgerBuiltin abstract class

changelog_begin
changelog_end

* fix typo

changelog_begin
changelog_end

* Fix borked rebase

changelog_begin
changelog_end

* Remove unscoped withOnLedger

changelog_begin
changelog_end
2020-09-29 10:05:45 +00:00
Bernhard Elsner
c6965433f4
Some minor improvements to the DAML Intro docs (#7505)
* Some minor improvements to the DAML Intro docs

CHANGELOG_BEGIN
CHANGELOG_END

* Incorporate feedback
2020-09-29 08:45:17 +00:00
Bernhard Elsner
3ef1b21747
Add queryFilter to the export list (#7503)
CHANGELOG_BEGIN
CHANGELOG_END
2020-09-29 08:15:45 +00:00
Bernhard Elsner
bfc025515d
Improve Time Model docs (#7504)
CHANGELOG_BEGIN
CHANGELOG_END
2020-09-29 08:13:22 +00:00
Remy
2e9979f2db
Speedy: Compile commands as speedy functions. (#7472)
This includes:

*   Create
*   ExceciseByKey
*   Fetch
*   FetchByKey
*   LookupByKey

This change allows us to reference the code used in a template definition from another package instead of having to inline it at the use-site

CHANGELOG_BEGIN
CHANGELOG_END
2020-09-28 21:08:04 +02:00
Samir Talwar
5f33c7e741
kvutils: Remove the deprecated v1_4 bridge for ledger state access. (#7500)
CHANGELOG_BEGIN
CHANGELOG_END
2020-09-28 17:08:27 +00:00
Sofia Faro
c5d145358d
Patch ghc to add a daml version header marker. (#7489)
* Update ghc to add a daml version header marker.

(WIP)

changelog_begin
changelog_end

* update stack snapshot

* See what happens with daml-doc

* update patch

* update stack snapshot

* unpin stackage

* Update daml docs tests

* Remove version header ann when parsing module doc

* Update the test

* Set final patch commit SHA.

* update stack snapshot

* unpin stackage (mac/linux)

* lint

* unpin stackage (win)
2020-09-28 17:01:20 +00:00
Marton Nagy
552d9ce2d1
Adds VERSION file to ledger-api (#7499)
In order to introduce versioning of the ledger api we
first add a central container of the version for tracking
purposes.

CHANGELOG_BEGIN
CHANGELOG_END
2020-09-28 12:50:11 +00:00
Moritz Kiefer
0f9ae62acb
Fix link to Java bindings’s Value class (#7498)
fixes #7496

changelog_begin
changelog_end
2020-09-28 13:38:51 +02:00
Samir Talwar
ebcbe2762f
ledger-api-auth: Extract Main in to a separate Bazel target. (#7497)
We don't need to push `Main` (and its dependency on `scopt`) to Maven
Central.

CHANGELOG_BEGIN
CHANGELOG_END
2020-09-28 11:27:01 +00:00
Moritz Kiefer
341fecdf86
Fix Numeric encoding and decoding in Scala bindings (#7483)
* Fix Numeric encoding and decoding in Scala bindings

fixes #7474

There are a few issues here:

1. We used toString which produces an exponential notation in some
cases which is not supported by the ledger API.

2. On the other hand, we used BigDecimal.exact for decoding which
isn’t completely wrong but more lax than what the ledger API supports

1 and 2 are fixed by switching to the respective functions in
daml-lf/data

3. The tests in ValueSpec were never executed! The tests are split
into a scala_library and a scala_test_suite and ValueSpec ended up in
the library. I’ve split out the utilities from the actual code.

4. The generator for Numeric produced things that are not valid
numerics (e.g. 92233720368547758070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
showed up in one test) which now fails with the more strict requirements.

changelog_begin
changelog_end

* Apply suggestions from code review

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

* Address review feedback

changelog_begin
changelog_end

Co-authored-by: Stephen Compall <stephen.compall@daml.com>
2020-09-28 07:58:03 +00:00
nickchapman-da
a1ac658aa2
Allow speedy execution without performing authorization checks. (#7491)
* Allow speedy execution without performing authorization checks. This is a temporary measure for canton.

This is controlled by a new Speedy machine member:

      /* Controls if authorization checks are performed during evaluation */
      val checkAuthorization: Boolean,

The default value for `Machine.checkAuthorization` is `true`, but can be set `false` when execution is called from `Engine.reinterpret`, by passing `checkAuthorization = false` to `reinterpret`.

changelog_begin
changelog_end

* CheckAuthorizationMode

* share duplicate code for computing machine contextActors and auth
2020-09-25 17:10:38 +00:00
Moritz Kiefer
a34963c16d
Include JSON API logback in scala_binary (#7485)
With the introduction of the standalone JAR, we cannot rely on the
assistant anymore to pass the default logback config. Users can still
override the logback config with `-Dlogback.configurationFile` if they
need something else but this provides a more sensible default logging
config than seeing a ton of debug logs from netty.

changelog_begin
changelog_end
2020-09-25 17:52:50 +02:00
Moritz Kiefer
d87d658245
Document standalone JAR for the JSON API (#7494)
fixes #7453

changelog_begin
changelog_end
2020-09-25 17:52:36 +02:00
Martin Huschenbett
afdfec53dd
Deprecate specifying the template in daml new positional (#7490)
We deprecate specifying the template when calling `daml new` via a
positional argument, as in
```sh
daml new foo skeleton
```
The new syntax is
```sh
daml new foo --template skeleton
```
Whenever the former version is used, we now print a not that it is
deprecated and that the latter version is the recommended way.

CHANGELOG_BEGIN
[DAML Assistant]
- Deprecate specifying the template for `daml new` via a positional
  argument.
CHANGELOG_END
2020-09-25 12:39:49 +00:00
Richard Kapolnai
6afa51bb47
Fix typos in doc (#7488)
* fix typo
CHANGELOG_BEGIN
CHANGELOG_END

* Missing closing quote in docs
CHANGELOG_BEGIN
CHANGELOG_END
2020-09-25 13:23:33 +02:00
Samir Talwar
3f96b9b9db
sandbox + kvutils: Add the "read" component back to the health checks. [KVL-475] [KVL-483] (#7486)
* participant-integration-api: Inject health checks into the API server.

CHANGELOG_BEGIN
- [Integration Kit] The ``StandaloneApiServer`` now takes a
  ``healthChecks`` parameter, which should identify the health checks to
  be exposed over the gRPC Health Checking Protocol. This will
  typically look something like::

    healthChecks = new HealthChecks("read" -> readService, "write" -> writeService)

  Integrators may also wish to expose the health of more components.
  All components wishing to report their health must implement the
  ``ReportsHealth`` trait.
 CHANGELOG_END

* sandbox + kvutils: Add the "read" component back to the health checks.
2020-09-25 11:06:46 +00:00
Andreas Herrmann
b1872c10f7
Fix the rules_pkg GitHub release URL (#7487)
Fixes
```
WARNING: Download from https://github.com/bazelbuild/rules_pkg/releases/download/0.2.6/rules_pkg-0.2.6.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
```

The 0.2.6 release tag is abandoned and has no artifact:
https://github.com/bazelbuild/rules_pkg/releases/0.2.6
We are instructed to use 0.2.6-1 instead:
https://github.com/bazelbuild/rules_pkg/releases/0.2.6-1

changelog_begin
changelog_end

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2020-09-25 10:35:34 +00:00
Andreas Herrmann
171ba85813
Missing closing quote in docs (#7484)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2020-09-25 09:11:09 +00:00
Sofus Mortensen
14f0a4d58e
Tuple tests - was: Added Functor instance for (,,) for completeness with fst3, curry3, etc (#7442)
* Added Functor instance for (,,) for completeness with fst3, curry3, etc

* added missing unit tests for DA.Tuple

* Reverted Functor instance on (,,)

* fix lint expectation line numbers

* Fix line numbers

changelog_begin
changelog_end

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2020-09-25 10:52:04 +02:00
Stephen Compall
354e354df5
adjust quickstart-java release smoketest instructions for prior changes (#7481)
- Followup to #7338, adjusting release test instructions for changes to the Java
  quickstart, mismatches found testing #7462.  Compare to
  docs/source/app-dev/bindings-java/quickstart/template-root/daml/Main.daml for line #
  references.

CHANGELOG_BEGIN
CHANGELOG_END
2020-09-25 08:46:35 +02:00
Richard Kapolnai
afa29516b6
Remove an unclear bit from JSON API documentation: no metaprogramming (#7480)
changelog_begin
changelog_end
2020-09-25 08:45:44 +02:00
azure-pipelines[bot]
b538c1fb59
update compat versions for 1.6.0-snapshot.20200922.5258.0.cd4a06db (#7473)
* update compat versions for 1.6.0-snapshot.20200922.5258.0.cd4a06db

CHANGELOG_BEGIN
CHANGELOG_END

* Bump to new snapshot

changelog_begin
changelog_end

Co-authored-by: Azure Pipelines DAML Build <support@digitalasset.com>
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2020-09-24 21:11:25 +02:00
azure-pipelines[bot]
c164efc25e
rotate release duty after 1.6.0-snapshot.20200922.5258.0.cd4a06db (#7463)
@S11001001 is taking care of 1.6.0-snapshot.20200922.5258.0.cd4a06db (#7462), so they get pushed back to the end of the line.

Please do not merge this before #7462.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines DAML Build <support@digitalasset.com>
2020-09-24 14:46:23 +00:00
Bernhard Elsner
331ee44978
Documentation of our support and compatibility framework (#7458)
* Documentation of our support and compatibility framework

CHANGELOG_BEGIN
CHANGELOG_END

* Update docs/source/daml-integration-kit/index.rst

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Update docs/source/support/component-statuses.rst

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Address feedback

* Update docs/source/support/compatibility.rst

Co-authored-by: Gerolf Seitz <gerolf.seitz@daml.com>

* Add Deprecations and address feedback

* Fix short title underline

* Apply suggestions from code review

Co-authored-by: Gerolf Seitz <gerolf.seitz@daml.com>

* Improve sentence on Integration Kit

* Imprive SemVer TLDR

* Uncapitalize release candidate

* Fix release timeline image

* Make the DAML Language Server CLI a Labs feature

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
Co-authored-by: Gerolf Seitz <gerolf.seitz@daml.com>
2020-09-24 14:40:57 +00:00
Andreas Herrmann
86bdf7b6ec
stack_snapshot_json on Windows (#7468)
* stack_snapshot_json on Windows

CHANGELOG_BEGIN
CHANGELOG_END

* document ad-hoc machines

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2020-09-24 12:03:15 +00:00
Moritz Kiefer
e53bcd90c0
Clarify some documentation around DAML triggers (#7477)
This fixes #7471 and fixes #7469.

Thanks to @lucb-da for pointing this out!

changelog_begin
changelog_end
2020-09-24 14:00:47 +02:00
nickchapman-da
eca7c78540
Tests for interleaved execution and authorization (#7476)
* Add new tests to demonstrate that authorizing checking is interleaved with execution. This work is a follow up to PR #7400, and relates to issue #132

changelog_begin
changelog_end

* naming and other small review comments
2020-09-24 11:38:56 +00:00
Martin Huschenbett
cfa05fa893
Deprecate daml damlc package (#7466)
This command will be deprecated as part of the 1.6 release.
`daml build` should be used instead to build DARs.

CHANGELOG_BEGIN
[damlc]
- Deprecate `daml damlc package` command.
CHANGELOG_END
2020-09-24 10:26:34 +00:00
Samir Talwar
40b893e9bb
ledger-api-test-tool: Retry the participant connection for a minute. (#7475)
This means we can stop writing loops to wait for the ledger to come up
wherever this is used.

CHANGELOG_BEGIN
CHANGELOG_END
2020-09-24 08:29:29 +00:00
Sofia Faro
20732edc32
Fix GSG environment variable setup instructions. (#7465)
* Fixes #7451 by telling users to use `$HOME/.daml/bin` instead of `~/.daml/bin` when setting up the PATH variable.

In addition, this PR streamlines the instructions a bit by not telling users to restart their computers (they only need to restart the terminal) and by verifying the variables only after setting them both up, so they only need to restart the terminal once (without jumping around the instructions).

changelog_begin
changelog_end

* reinstate some restarts

* Emphasize that it is the Terminal app from macOS
2020-09-23 15:49:31 +00:00