daml/triggers
Moritz Kiefer 4eb72d496e
Fix conversion from Ledger API to Speedy in DAML triggers (#3458)
Previously, we use SValue.fromValue for the conversion. However, this
breaks in cases like Numeric where the scale information is lost. By
using the ValueTranslator instead, we avoid this issue.

There is a similar problem in DAML script but I’ll fix that in a
separate PR.

Since the ValueTranslator is package private, this PR moves the
triggers in the engine package.
2019-11-14 09:26:36 +01:00
..
daml [daml-triggers] Rename getTemplates to getContracts (#3430) 2019-11-12 14:48:24 +01:00
runner Fix conversion from Ledger API to Speedy in DAML triggers (#3458) 2019-11-14 09:26:36 +01:00
tests Fix conversion from Ledger API to Speedy in DAML triggers (#3458) 2019-11-14 09:26:36 +01:00