Skip to content

Allow MS calls to be subsidized.#1819

Merged
Neopallium merged 5 commits intodevelopfrom
MESH-2273-subsidize_multisig
May 1, 2025
Merged

Allow MS calls to be subsidized.#1819
Neopallium merged 5 commits intodevelopfrom
MESH-2273-subsidize_multisig

Conversation

@Neopallium
Copy link
Copy Markdown
Contributor

changelog

new features

  • Allow MultiSig calls to be subsidized. The MS needs to remove it's PayingDID after accepting the subsidy authorization, otherwise transaction fees would still be paid by the primary key of the PayingDID.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enables subsidization for MultiSig calls by updating the runtime logic to allow them.

  • Added a case statement for RuntimeCall::MultiSig in the subsidy-check macro.
Comments suppressed due to low confidence (1)

pallets/runtime/common/src/runtime.rs:335

  • Verify that the removal of the PayingDID after accepting subsidy authorization is correctly handled elsewhere in the code, ensuring consistency with the PR's objective.
RuntimeCall::MultiSig(_) => true,

@Neopallium Neopallium merged commit 7ead148 into develop May 1, 2025
17 checks passed
@Neopallium Neopallium deleted the MESH-2273-subsidize_multisig branch May 1, 2025 12:59
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