daml/ledger/ledger-on-sql
Gerolf Seitz f9fb888cc4
Allow for predictable contractIDs and transactionIDs (#5112)
- New seeding type "Static" that uses a fixed seed for generating new seeds.
This is only used in Sandbox and Sandbox-next.

- Remove the fuzzing for submission time in Engine.scala

- DAML-on-SQL: Create new log entry IDs from a provided SeedService.
This allows for generating deterministic transaction IDs in
Sandbox-Next.

Fixes #5107

CHANGELOG_BEGIN
[Sandbox] Add contract-id-seeding=static to allow for predictable contract IDs. This is useful for documentation,
to be able to refer to a specific contract ID instead of having to write "note down the contract ID you see on the screen. we will use it later."
[DAML-on-SQL] Derive the next log entry ID using the provided SeedService. This allows us to also deterministically create transactionIds in static time mode together with `--contract-id-seeding=static`. This should only be used for demos or documentation.
CHANGELOG_END
2020-03-23 10:55:40 +01:00
..
src Allow for predictable contractIDs and transactionIDs (#5112) 2020-03-23 10:55:40 +01:00
BUILD.bazel Allow for predictable contractIDs and transactionIDs (#5112) 2020-03-23 10:55:40 +01:00
hash-migrations.sh Heartbeats for Sandbox-Next, ledger-on-sql, and ledger-on-memory. (#4755) 2020-03-02 19:44:42 +00:00