Skip to content

Conversation

@moritzkiefer-da
Copy link
Contributor

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

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

Copy link
Contributor

@meiersi-da meiersi-da left a comment

Choose a reason for hiding this comment

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

Questions in comments...

# Proxy contracts for delegating the usage of featured app rights

This is a convenience package that provides proxy contracts that allow for the
delegation of featured app rights to other parties for the usage of token
Copy link
Contributor

Choose a reason for hiding this comment

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

out of date

do let transfer = choiceArg.transfer
require ("Sender in choice argument " <> show transfer.sender <> " matches owner " <> show owner) (transfer.sender == owner)
require ("Receiver in choice argument " <> show transfer.receiver <> " matches owner " <> show owner) (transfer.receiver == owner)
-- Note: This assumes you have preapprovals, if not you also need to accept the transfer instruction here.
Copy link
Contributor

Choose a reason for hiding this comment

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

Self transfers do not require pre-approvals... however did you want to do a combined send with merge?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh nice I totally missed that we have special handling for self-transfers. Excellent, will remove.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

however did you want to do a combined send with merge?

No I'd just do a merge only

Copy link
Contributor

Choose a reason for hiding this comment

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

ack. I'll finish the review then. You'll probably nevertheless want to assert on the result being TransferResult_Completed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You'll probably nevertheless want to assert on the result being TransferResult_Completed

added

Signed-off-by: Moritz Kiefer <[email protected]>
Signed-off-by: Moritz Kiefer <[email protected]>
Copy link
Contributor

@meiersi-da meiersi-da left a comment

Choose a reason for hiding this comment

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

Thx. LGTM.

moritzkiefer-da and others added 4 commits September 26, 2025 17:30
Signed-off-by: Moritz Kiefer <[email protected]>
Signed-off-by: Moritz Kiefer <[email protected]>
Signed-off-by: Moritz Kiefer <[email protected]>
values = TextMap.fromList [("splice.lfdecentralizedtrust.org/reason", "merge")]
extraArgs = emptyExtraArgs

submit (actAs delegate <> readAs owner<> discloseMany (Map.values enrichedChoice.disclosures.disclosures)) $ exerciseCmd delegation MergeDelegation_Merge with
Copy link
Contributor

Choose a reason for hiding this comment

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

😲 great to know 💪

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.

4 participants