mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
eb80e7b32e
* Daml.Script fromTree, created(N), exercised(N) Implements more readable transaction tree accessors. E.g. ``` let contract_1_0 = fromTree tree $ exercised @Module.Template "Choice" $ created @Module.Template ``` instead of ``` let contract_1_0 = createdCid @Module.Template [0, 0] ``` changelog_begin changelog_end * Use fromTree in daml script dump changelog_begin changelog_end * Update tests * Remove now unused createdCid * Avoid zip of layer selectors and events Addresses https://github.com/digital-asset/daml/pull/9216#discussion_r600243370 The zip approach would be misaligned if an event has `Kind.Empty`. This circumvents the issue by only iterating over non-empty events. Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io> |
||
---|---|---|
.. | ||
converter | ||
daml | ||
dump | ||
runner | ||
test |