I’m writing a couple of tests that validate that a given set of active contracts is available before and after a migration between DAML SDK versions when using a persistent sandbox.
I’d like to use DAML Script to initialize the ledger to a given state and my intention would be to somehow ask for the active contract set to validate that the migration is successful.
Is there a way to use DAML Script/REPL to this end or do would I be better served by the JSON API?