* 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]
* Add GetLatestPrunedOffsets to TransactionService
* Add compatibility test exclusion
* Add GetLatestPrunedOffsetsAuthIT test
* Address Pawel's review comments
* Addressed review comments
* Add exclusion for the new test for conformance tests in Canton
* WIP
Changes:
1. Add support for defining pruning benchmarks.
Currently the new top-level `unary` section allow defining only a single `pruning` section.
Declaring both top sections `unary` and `streams` in a single workflow config is unsupported.
```
unary:
- type: pruning
name: pruning-or-101
max_duration_objective: 600s
prune_all_divulged_contracts: false
```
2. Add support for optionally submitting non-transient contracts.
```
submission:
...
allow_non_transient_contracts: true
```