daml
daml copied to clipboard
The Daml smart contract language
`AbstractHttpServiceIntegrationTestTokenIndependent` is subclassed (and therefore its tests duplicated) for two reasons: 1. run with custom tokens, and separately with user tokens 2. run with different query store configurations For the...
# Affected Daml version Tried many versions: 2.3.4, 2.3.2, 1.13.1 # Bug description I can't run `daml start` due to following issue with canton.jar: ``` Created .daml\dist\nft-0.0.1.dar Waiting for canton...
Overall design in https://github.com/digital-asset/daml/issues/14067#issuecomment-1149150541. * [ ] permit multiple DB rows per contract ID * [ ] the final caller of `ActiveContract.fromLedgerApi`, this time in `ContractsFetch`, must do as with...
With #14814, a `ContractTypeId.Template` that uses the template ID resolver is _statically_ guaranteed to get a template ID. Likewise for interface IDs, should we introduce such a resolver. However, if...
Part of #14067. Design in https://github.com/digital-asset/daml/issues/14067#issuecomment-1149150541. * [x] #14577 * [x] #14814 * [x] #14815 * [x] #14817 * [x] #14818 * [ ] #14844 * [ ] #14819
Currently, we have to write code like this to convert a scala set into a DAML set (in Scala codegen). ``` private def damlSet[A](scalaSet: Set[A]): DA.Set.Types.Set[A] = { DA.Set.Types.Set(GenMap(scalaSet.toList.map(elem =>...
As noted here, this `TemplateId` is just an alias for `ContractTypeId`. Replace all usages and deprecate or delete it. https://github.com/digital-asset/daml/blob/32583edb7d3c69da77605730db83f034658b6338/ledger-service/fetch-contracts/src/main/scala/fetchcontracts/domain.scala#L33-L37
As with #11156, but for the below two instead, and any usage within json-api that is implied by these being changed to `NonEmpty` instead of `OneAnd`. https://github.com/digital-asset/daml/blob/d13695c75e315592c196714f54eabd9611cad5c8/ledger-service/http-json/src/main/scala/com/digitalasset/http/domain.scala#L155-L163
#9159 creates predicate conjunctions of the form ```sql json_exists(payload, '$.x.y?(@ == foo)') AND json_exists(payload, '$.x.z?(@ == bar)') -- instead of json_exists(payload, '$.x?(@.y == foo && @.z == bar)') ``` where...
### What is the problem you want to solve? The core decoders in Java codegen look like this: ```java public static MyDT fromValue(Value value, Function fromValuea) {} ``` Where there...