-
Notifications
You must be signed in to change notification settings - Fork 745
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
Conversation
/cmd fmt |
Command "fmt" has started 🚀 See logs here |
Command "fmt" has finished ✅ See logs here |
@@ -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`!", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Failed to convert `VersionedXcm` into `xcm::prelude::Xcm`!", | |
"Failed to convert `VersionedXcm` into `xcm::latest::Xcm`!", |
There was a problem hiding this comment.
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::*;
(cherry picked from commit e709c9f)
Successfully created backport PR for |
(cherry picked from commit e709c9f)
Successfully created backport PR for |
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>
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>
TODO: