Skip to content

Compute informees uniformly#6412

Merged
julientinguely-da merged 9 commits into
mainfrom
julien/6127-unifom-informees-computation
Jul 17, 2026
Merged

Compute informees uniformly#6412
julientinguely-da merged 9 commits into
mainfrom
julien/6127-unifom-informees-computation

Conversation

@julientinguely-da

Copy link
Copy Markdown
Contributor

fixes #6127

Pull Request Checklist

Cluster Testing

  • If a cluster test is required, comment /cluster_test on this PR to request it, and ping someone with access to the DA-internal system to approve it.
  • If an upgrade test is required, comment /upgrade_test on this PR to request it, and ping someone with access to the DA-internal system to approve it.
  • If a hard-migration test is required (from the latest release), comment /hdm_test on this PR to request it, and ping someone with access to the DA-internal system to approve it.
  • If a logical synchronizer upgrade test is required (from canton-3.5), comment /lsu_test on this PR to request it, and ping someone with access to the DA-internal system to approve it.

PR Guidelines

  • Include any change that might be observable by our partners or affect their deployment in the release notes.
  • Specify fixed issues with Fixes #n, and mention issues worked on using #n
  • Include a screenshot for frontend-related PRs - see README or use your favorite screenshot tool

Merge Guidelines

  • Make the git commit message look sensible when squash-merging on GitHub (most likely: just copy your PR description).

Signed-off-by: Julien Tinguely <julien.tinguely@digitalasset.com>
Signed-off-by: Julien Tinguely <julien.tinguely@digitalasset.com>
@julientinguely-da
julientinguely-da marked this pull request as ready for review July 16, 2026 09:15
Signed-off-by: Julien Tinguely <julien.tinguely@digitalasset.com>

@moritzkiefer-da moritzkiefer-da left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx definitely an improvement, left a few suggestions where we can maybe improve things even further

).map(PartyId.tryFromProtoPrimitive),
getInformees(allocation) :+
PartyId.tryFromProtoPrimitive(
svTaskContext.dsoStore.key.dsoParty.partyId.toProtoPrimitive

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we just make getInformees include the dso party and filter it out in the one case where we don't need it (I think complleteWithIgnoredAmuletVersionCheck)? that seems less fragile

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also have ExpireRewardCouponV2Trigger, ExpiredAmuletAllocationV2Trigger

Signed-off-by: Julien Tinguely <julien.tinguely@digitalasset.com>
Signed-off-by: Julien Tinguely <julien.tinguely@digitalasset.com>
fallback: => Future[TaskOutcome]
)(implicit ec: ExecutionContext): Future[TaskOutcome] = {
// ensure we do not ignore the DSO party itself, even if it is unresponsive
val expiredOwners = stakeholders - dsoParty

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI doing it explicitly in the guard itself to avoid wrong usages

Signed-off-by: Julien Tinguely <julien.tinguely@digitalasset.com>
@julientinguely-da
julientinguely-da enabled auto-merge (squash) July 16, 2026 13:35
@julientinguely-da
julientinguely-da enabled auto-merge (squash) July 16, 2026 13:38
Signed-off-by: Julien Tinguely <julien.tinguely@digitalasset.com>
@julientinguely-da
julientinguely-da merged commit f18437b into main Jul 17, 2026
116 of 118 checks passed
@julientinguely-da
julientinguely-da deleted the julien/6127-unifom-informees-computation branch July 17, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Verify we calculate informees correctly in our scala code

3 participants