daml
daml copied to clipboard
Disclosure testing invalid key hashes
- Fixes #13897
CHANGELOG_BEGIN
- Engine/speedy-level tests for explicit disclosure (#14227): Test that invalid key hashes are rejected.
CHANGELOG_END
- [x] remove issue comment for #13897
- [x] rebase when https://github.com/digital-asset/daml/pull/14563 is merged
- [x] ensure CI passes build
https://github.com/digital-asset/daml/pull/14563 adds in a template type/ID check following disclosed key lookups. As discussed on #13897, this is sufficient to validate the key hash being used.
Future PRs will add in additional testing as per https://github.com/digital-asset/daml/issues/14227
If we’re confident it works (as mentioned in #13897 I’m not sure it does), I suggest to at least add a test that proves it.
Plan is to close this PR in favour of https://github.com/digital-asset/daml/pull/14999