Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error logging for send xcm to pallet-xcm #6579

Merged
merged 5 commits into from
Nov 25, 2024
Merged

Error logging for send xcm to pallet-xcm #6579

merged 5 commits into from
Nov 25, 2024

Conversation

bkontur
Copy link
Contributor

@bkontur bkontur commented Nov 21, 2024

TODO:

@bkontur bkontur added R0-silent Changes should not be mentioned in any release notes T6-XCM This PR/Issue is related to XCM. labels Nov 21, 2024
@bkontur bkontur requested a review from a team as a code owner November 21, 2024 12:38
@bkontur
Copy link
Contributor Author

bkontur commented Nov 21, 2024

/cmd fmt

Copy link

Command "fmt" has started 🚀 See logs here

Copy link

Command "fmt" has finished ✅ See logs here

@bkontur bkontur added the A4-needs-backport Pull request must be backported to all maintained releases. label Nov 22, 2024
@@ -58,7 +58,7 @@ impl<
let message = Xcm::<Call>::try_from(versioned_message).map_err(|_| {
log::trace!(
target: LOG_TARGET,
"Failed to convert `VersionedXcm` into `XcmV3`.",
"Failed to convert `VersionedXcm` into `xcm::prelude::Xcm`!",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"Failed to convert `VersionedXcm` into `xcm::prelude::Xcm`!",
"Failed to convert `VersionedXcm` into `xcm::latest::Xcm`!",

Copy link
Contributor Author

Choose a reason for hiding this comment

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

prelude is here better than latest, because imports use use xcm::prelude::*;

@bkontur bkontur added this pull request to the merge queue Nov 25, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 25, 2024
@bkontur bkontur enabled auto-merge November 25, 2024 10:08
@bkontur bkontur added this pull request to the merge queue Nov 25, 2024
Merged via the queue into master with commit e709c9f Nov 25, 2024
193 of 198 checks passed
@bkontur bkontur deleted the bko-log-error branch November 25, 2024 11:50
github-actions bot pushed a commit that referenced this pull request Nov 25, 2024
@paritytech-cmd-bot-polkadot-sdk

Successfully created backport PR for stable2407:

github-actions bot pushed a commit that referenced this pull request Nov 25, 2024
@paritytech-cmd-bot-polkadot-sdk

Successfully created backport PR for stable2409:

EgorPopelyaev pushed a commit that referenced this pull request Nov 27, 2024
This PR contains backports of:
- #6465
- #6536
- #6579
- #6645

(when those were merged, bot didn't create backport PRs to stable2412)

---------

Co-authored-by: GitHub Action <action@github.com>
EgorPopelyaev added a commit that referenced this pull request Nov 27, 2024
Backport #6579 into `stable2407` from bkontur.

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: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: Egor_P <egor@parity.io>
EgorPopelyaev added a commit that referenced this pull request Nov 27, 2024
Backport #6579 into `stable2409` from bkontur.

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: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: Egor_P <egor@parity.io>
Krayt78 pushed a commit to Krayt78/polkadot-sdk that referenced this pull request Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A4-needs-backport Pull request must be backported to all maintained releases. R0-silent Changes should not be mentioned in any release notes T6-XCM This PR/Issue is related to XCM.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants