Add EventEmitter to XCM Executor#7234
Merged
acatangiu merged 90 commits intoparitytech:masterfrom Mar 10, 2025
Merged
Conversation
bkontur
reviewed
Jan 20, 2025
bkontur
reviewed
Jan 20, 2025
bkontur
reviewed
Jan 20, 2025
acatangiu
reviewed
Jan 20, 2025
Contributor
|
@jpserrat do you plan on finishing this PR or should we take over? |
Contributor
Author
|
@acatangiu Sorry for the delay on this. I'm going to finish. |
Contributor
|
If #7200 is merged before your PR, you may need add the new |
39 tasks
2 tasks
Merged
via the queue into
paritytech:master
with commit Mar 10, 2025
ea8783b
238 of 253 checks passed
Merged
This was referenced Apr 22, 2025
7 tasks
14 tasks
This was referenced Jul 16, 2025
This was referenced Dec 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #6851
This PR adds an
EventEmittertrait to the XCM Executor configuration, enabling event emission for XCM handling. The implementation introduces three dedicated functions to emit relevant events:emit_sent_event: Emits aSentevent when an XCM is successfully sent.emit_send_failure_event: Emits aSendFailedevent when an XCM fails to send.emit_process_failure_event: Emits aProcessXcmErrorevent when an XCM fails during processing.Kusama address: FkB6QEo8VnV3oifugNj5NeVG3Mvq1zFbrUu4P5YwRoe5mQN