Skip to content

SV: use AmuletAllocation expiresAt for early expiry (#5743) - #6647

Open
tellary wants to merge 1 commit into
canton-network:mainfrom
obsidiansystems:tellary/5743
Open

SV: use AmuletAllocation expiresAt for early expiry (#5743)#6647
tellary wants to merge 1 commit into
canton-network:mainfrom
obsidiansystems:tellary/5743

Conversation

@tellary

@tellary tellary commented Jul 31, 2026

Copy link
Copy Markdown

SvDsoStore now honours the earlier expiresAt deadline when ingesting AmuletAllocation contracts, falling back to the coarser settlement settleBefore when it is not set. This releases locked amulet sooner.

Also replace the TODO(#5743) on AmuletTransferInstruction with a note explaining that its executeBefore is already capped to tokenStandardMaxTTL at creation, so no separate stored expiry exists.

Add store tests covering early-expired and active-with-expiresAt allocations, and a release note.

Fixes #5743

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).

)

SvDsoStore now honours the earlier `expiresAt` deadline when ingesting
`AmuletAllocation` contracts, falling back to the coarser settlement
`settleBefore` when it is not set. This releases locked amulet sooner.

Also replace the TODO(canton-network#5743) on `AmuletTransferInstruction` with a note
explaining that its `executeBefore` is already capped to
`tokenStandardMaxTTL` at creation, so no separate stored expiry exists.

Add store tests covering early-expired and active-with-expiresAt
allocations, and a release note.

Signed-off-by: Ilya Silvestrov <tellary@gmail.com>
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.

Switch AmuletAllocation and AmuletTransferInstruction expiry triggers to use early expiry

6 participants