daml/triggers/tests
Moritz Kiefer 9aa68cac4f
Fix detection of package ids for triggers (#5016)
Previously we assumed that the module name was globally unique in the
DAR which is definitely not guaranteed. Now we instead detect the
package id of the trigger library based on the type of the trigger we
are running which doesn’t fall apart if there are multiple versions of
the trigger library.

I’ve also removed the check for the package id of the trigger library
since I’d like the trigger runner to be backwarts compatible from now on (we
didn’t break that in a while).

This is slightly ugly since the Runner class is currently not specific
to a single trigger but only the individual methods are aware of the
specific trigger identifier. I’ll refactor this in a separate PR.

changelog_begin
changelog_end
2020-03-16 16:13:42 +01:00
..
daml Remove pragma 'daml 1.2' (#4702) 2020-02-26 13:17:45 -05:00
scenarios Remove pragma 'daml 1.2' (#4702) 2020-02-26 13:17:45 -05:00
src/test/scala/com/digitalasset/daml/lf/engine/trigger/test Fix detection of package ids for triggers (#5016) 2020-03-16 16:13:42 +01:00
BUILD.bazel Share test certificates (#4982) 2020-03-13 12:12:34 +01:00
list-triggers.sh Implement DAML trigger heartbeat (#4011) 2020-01-10 16:04:47 +00:00