mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 17:28:46 +03:00
4e1c5fedb3
* Check visibility for by-key operation of local contracts fixes #9454 I tried out two approaches for this: 1. The one here where we add a new callback. This has the advantage that the engine remains oblivious to visibility checks. They are all done outside and the engine doesn’t even know about the reading parties. 2. Make the engine aware of the reading parties. A start of that is in #9458. Both work in principle but I ended up going for 1 in the end. Doing half of the visibility checks outside the engine and half inside just seems worse than the current state. changelog_begin - [Daml Engine] Fix a bug where it was possible to fetch/lookup/exercise a local contract by key even if the reading parties are not stakeholders. See #9454 for details. changelog_end * Disable new test on Canton changelog_begin changelog_end * Exclude from compat tests changelog_begin changelog_end * s/LocalLookup/LocalFetch/ changelog_begin changelog_end * Address review changelog_begin changelog_end |
||
---|---|---|
.. | ||
bootstrap.canton | ||
BUILD.bazel | ||
canton-test-runner.sh | ||
canton.conf | ||
enable-faster-pruning.conf | ||
logback-debug.xml | ||
unique-contract-keys.conf |