Skip to content

Multisig::as_multi_threshold_1: Send MultisigExecuted event#8925

Merged
bkchr merged 2 commits intomasterfrom
bkchr-multisig-send-event
Jun 23, 2025
Merged

Multisig::as_multi_threshold_1: Send MultisigExecuted event#8925
bkchr merged 2 commits intomasterfrom
bkchr-multisig-send-event

Conversation

@bkchr
Copy link
Copy Markdown
Member

@bkchr bkchr commented Jun 20, 2025

So the behavior is the same as as_multi when it comes to sending an event.

Closes: #8924

@bkchr bkchr requested a review from a team as a code owner June 20, 2025 14:55
@bkchr bkchr added the T2-pallets This PR/Issue is related to a particular pallet. label Jun 20, 2025
let (call_len, call_hash) = call.using_encoded(|c| (c.len(), blake2_256(&c)));
let result = call.dispatch(RawOrigin::Signed(id.clone()).into());

Self::deposit_event(Event::MultisigExecuted {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The only difference is that this will not appear when the call is returning an error, as we then revert all the changes. (rollback of the transaction)

Copy link
Copy Markdown
Member Author

@bkchr bkchr Jun 20, 2025

Choose a reason for hiding this comment

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

Talked to Valentin. He is fine with the pr how it is.

@bkchr
Copy link
Copy Markdown
Member Author

bkchr commented Jun 20, 2025

/cmd prdoc --audience runtime_user --bump patch

@bkchr bkchr added this pull request to the merge queue Jun 22, 2025
@bkchr bkchr added the A4-backport-stable2506 Pull request must be backported to the stable2506 release branch label Jun 22, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 22, 2025
@bkchr bkchr added this pull request to the merge queue Jun 23, 2025
Merged via the queue into master with commit e5ac83c Jun 23, 2025
323 checks passed
@bkchr bkchr deleted the bkchr-multisig-send-event branch June 23, 2025 07:57
paritytech-release-backport-bot Bot pushed a commit that referenced this pull request Jun 23, 2025
So the behavior is the same as `as_multi` when it comes to sending an
event.

Closes: #8924

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit e5ac83c)
@paritytech-release-backport-bot
Copy link
Copy Markdown

Successfully created backport PR for stable2506:

EgorPopelyaev pushed a commit that referenced this pull request Jun 26, 2025
Backport #8925 into `stable2506` from bkchr.

See the
[documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md)
on how to use this bot.

<!--
  # To be used by other automation, do not modify:
  original-pr-number: #${pull_number}
-->

Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
alvicsam pushed a commit that referenced this pull request Oct 17, 2025
So the behavior is the same as `as_multi` when it comes to sending an
event.

Closes: #8924

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A4-backport-stable2506 Pull request must be backported to the stable2506 release branch T2-pallets This PR/Issue is related to a particular pallet.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

multisig.as_multi_threshold_1 does not emit MultisigExecuted event

4 participants