#183OPEN Pull Request
[ci] Expire governance lock substitutions
rashadg103021-10-2026
Fixes #164.
Mirrors #176 for substitutions:
- Ingest
GovernanceLockSubstitutioninSvDsoStoreand list proposals pastexpiresAt. ExpireGovernanceLockSubstitutionTriggerexercisesDsoRules_GovernanceLockSubstitution_DsoExpire.- The query is hand-written because the parties to skip are the proposer at
ownerand the lock owner at nestedtarget.owner, whichignoredPartyFieldscannot reach. foldSpecificationnow takes aGovernanceLockSpecificationrather than aGovernanceLock, so substitutions can resolve observers fromtarget.specification. AddedgovernanceLockObservers, mirroring the Daml function of the same name.
Draft: the integration test is still to come, pending #181 restructuring GovernanceLockTimeBasedIntegrationTest.