Skip to content

Conversation

@OriolMunoz-da
Copy link
Contributor

@OriolMunoz-da OriolMunoz-da commented Sep 30, 2025

Fixes #2380

Testing locally on 3.4... Success!
image

[ci]

Signed-off-by: Oriol Muñoz <oriol.munoz@digitalasset.com>
@OriolMunoz-da OriolMunoz-da marked this pull request as ready for review September 30, 2025 16:55
Signed-off-by: Oriol Muñoz <oriol.munoz@digitalasset.com>
amulet_cc_input,
all_inputs,
) = transfer_inputs.summary(self.args.subtract_holding_fees_per_round)
) = transfer_inputs.summary(event.template_id.package_id)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

amuletrules_transfer

Copy link
Contributor

Choose a reason for hiding this comment

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

have you considered making summar take an ExercisedEvent as the argument and then read the package id from there? That feels like it may be more robust against e.g. the issue where you used the template id of the amulet.

amulet_cc_input,
all_inputs,
) = transfer_inputs.summary(self.args.subtract_holding_fees_per_round)
) = transfer_inputs.summary(event.template_id.package_id)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

AmuletRules_BuyMemberTraffic

amulet_cc_input,
all_inputs,
) = transfer_inputs.summary(self.args.subtract_holding_fees_per_round)
) = transfer_inputs.summary(event.template_id.package_id)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

AmuletRules_CreateExternalPartySetupProposal or AmuletRules_CreateTransferPreapproval or TransferPreapproval_Renew
(all in splice-amulet)

Signed-off-by: Oriol Muñoz <oriol.munoz@digitalasset.com>
Copy link
Contributor

@moritzkiefer-da moritzkiefer-da left a comment

Choose a reason for hiding this comment

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

Nice thanks for the fix! I assume you tested it against the failing test on 3.4.

amulet_cc_input,
all_inputs,
) = transfer_inputs.summary(self.args.subtract_holding_fees_per_round)
) = transfer_inputs.summary(event.template_id.package_id)
Copy link
Contributor

Choose a reason for hiding this comment

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

have you considered making summar take an ExercisedEvent as the argument and then read the package id from there? That feels like it may be more robust against e.g. the issue where you used the template id of the amulet.

@OriolMunoz-da
Copy link
Contributor Author

I assume you tested it against the failing test on 3.4.

Yes, removed the pause block too. But do let me know if you find it broken again

@moritzkiefer-da
Copy link
Contributor

Yes, removed the pause block too.

wanna make a PR against the 3.4 branch with that?

Signed-off-by: Oriol Muñoz <oriol.munoz@digitalasset.com>
@OriolMunoz-da OriolMunoz-da enabled auto-merge (squash) October 1, 2025 12:41
Signed-off-by: Oriol Muñoz <oriol.munoz@digitalasset.com>
@OriolMunoz-da OriolMunoz-da merged commit a3cbefc into main Oct 1, 2025
57 checks passed
@OriolMunoz-da OriolMunoz-da deleted the oriol/scantxlog-bad-flag branch October 1, 2025 14:11
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.

scan tx log script does not handle no holding fees correctly

3 participants