Release of Daml 2.0.1

Daml 2.0.1 has been released. You can install it using:

daml install 2.0.1


Security & Bug Fixes

  • A race condition bug is fixed in the Ledger API mutable contract state cache. The bug allowed the cache to become corrupted with stale references when the Ledger API was subjected to concurrent submissions racing to update/fetch the same contract key. The stale references were causing the Ledger API to erroneously reject submissions in certain corner-cases.
  • A workaround for a bug in the Java JDK (https://bugs.openjdk.java.net/browse/JDK-7092821) has been implemented. This issue previously caused performance degradations in the Ledger API Server and the execution engine due to lock contention in MessageDigest.getInstance.