Open cocreature opened 3 years ago
@cocreature does this only affect the visual studio representation of contract ids, or also applies to daml script interpretation? In daml script i noticed contract ids are not returned at all (
This issue only applies to visual studio. Both visual studio and the command line thing only show contract ids in DAML-LF 1.11 (stable in SDK 1.10). Before you get <contract-id>
which is pretty useless.
Currently, we remap contract ids in Daml Studio in the transaction view to event ids to have something shorter and nicer. However, the
Show
instances in LF >= 1.11 expose the underlying contract ids which are super long and ugly.The mismatch is pretty confusing and we should fix that. There are two options:
Show
instance to match the current contract ids. We could either do this by always remapping when switching between on-ledger and off-ledger machine or we could make the behavior ofSBToTextContractId
configurable.