daml/ledger/ledger-on-sql
Samir Talwar 4b8b67a1b5
Upgrade Scalatest to v3.2.9. (#10576)
* Upgrade Scalatest to v3.2.9.

Because of some coupling we also have to upgrade Scalaz to the latest
v7.2 point release, v7.2.33.

The Scalatest changes are quite involved because the JAR has been broken
up into several smaller JARs. Because Bazel expects us to specify all
dependencies and doesn't allow transitive dependencies to be used
directly, this means that we need to specify the explicit Scalatest
components that we use.

As you can imagine, this results in quite a big set of changes. They
are, however, constrained to dependency management; all the code remains
the same.

CHANGELOG_BEGIN
CHANGELOG_END

* http-json-oracle: Fix a Scalatest dependency.

* ledger-api-client: Fix a Scalatest dependency.
2021-08-12 23:19:35 +00:00
..
src sandbox: Attempt to make the reset service tests less flaky. (#10507) 2021-08-06 15:26:25 +00:00
BUILD.bazel Upgrade Scalatest to v3.2.9. (#10576) 2021-08-12 23:19:35 +00:00
hash-migrations.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
README.md ledger-on-sql: Use random log entry ID allocation so we don't depend on SeedService. [KVL-1002] (#10255) 2021-07-13 17:10:30 +00:00

Ledger on SQL

This is an implementation of a ledger using kvutils on top of an SQL database. Currently, it can be run on top of H2, PostgreSQL, or SQLite.

The code under src/main implements the logic, using kvutils. This code is production-ready and used by Sandbox.

The code under src/app is a trivial application front-end to the ledger that spins it up, along with a Ledger API Server. This is not intended to be used in production, and is currently only used in testing.