* reduce the usage of sandbox-on-x
* fix broken build
* fix build
* drop tests of very old compilers that are not supported by canton
* stop building sandbox-on-postgres when it is not used anyway
* drop tests of very old triggers that are not supported by canton
* Refactor PackageMetadata construction
* Package Metadata now can include an upgraded package id
* define PackageInterface#lookupPredecessors
* Add SoftFetch in Daml LF
* Add softFetch function in Daml
* Add USoftFetch LFConversion primitive
* Define SoftFetch in terms of SBPromoteAnyContract
* daml_compile rule now takes upgrades arg
* Add script test for softFetch
* TODOs
* Check LF >= 1.dev when decoding 'upgradedPackageId' and 'softFetch' in DecodeV1.scala
* Check that softFetch is not called on templates with contract keys
* Seq=>List
* ModParser todo
* Extract PackageUpgradesIT from AbstractFuncIT
* Update docstring for SBPromoteAnyContract
* Fix build errors
* Fix build error
* DecodeV1Spec case for softFetch
* DecodeV1Spec case for upgradedPackageId
* EncodeV1 case for upgradedPackageId
* Fix build error
* Disable test due to cyclic dependency with canton
* Add transitive case to PackageUpgradesIT
* Clean up PackageUpgradesIT
* Fix build error
* Error if 'upgrades' field is present before featurePackageUpgrades
* Update doc on compileSoftFetchTemplate
* Reword WronglyTypedContractSoft error
* Push choice authority through speedy evaluation
fix tests for choice-authorizers limits config
make calls to NeedAuthority as required from speedy begin-exerise builtin; and test
prepare for no authorizers check
* authorization check for NoAuthorizers
* make authorizers field explicit in TX Node.Exercise
* use Option for exe-node choiceAuthorizers field, to be explicit about when old/default behaviour occurs
* IdentityProviderConfigService through ledger client: create config
* IdentityProviderConfigService through ledger client: get config
* IdentityProviderConfigService through ledger client: list configs
* IdentityProviderConfigService through ledger client: delete config
This PR make several (small) changes on how the disclosed contract are
handle by the speedy machine.
(1) disclosed contract at not anymore pass a builtin time. They were
any pass latter using `SBCacheDisclosedContract`.
(2) disclosed contracts are first keep in their own cache,
disclosedContracts: Map[V.ContractId, CachedContract]. They are moved
to the cached for used contract only if used. In fact we need to be
sure the used disclosed contracts pass through the
Speedy#addGlobalContract to verify the transaction limits are not
overpassed.
* Fixes maxEventSequentialId by using queryStrategy compatible with ledger-begin conditions (+ unit test)
* Fixes ETQ data migration so no transaction_meta entries left before the pruning offset (+ migration test)
[CHANGELOG_BEGIN]
[CHANGELOG_END]
* Add EventQueryService (conformance disabled)
* Update with review comments
* Limit by ledger end
* Limit iterations searching for visible contract key
* Test with choice that recreates key
* Update proto comments
* Add to event query service to services document
* Inject message into token validator
* Fix docs typo
* Improve docs
Before this PR the transaction_meta table could have entries
before or at the pruned-upto-offset.
This PR removes the need for keeping those entries, and simplifies
handling and meaning of transaction_meta data.
* Switches transaction_meta pruning to prune everything before pruning offset
* Flips maxEventSequentialIdOfAnObservableEvent implementation to minimum of strictly bigger meta - 1 (plus unit tests)
* Removes dead code, simplifies EventRange lookup and DTO
* Adds pruning SQL migration to remove all entries
* Removes the need of join to parameters table for pointwise queries
[CHANGELOG_BEGIN]
[CHANGELOG_END]