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

xcm-builder: added logging for xcm filters/helpers/matchers/types (#2408) #7003

Open
wants to merge 61 commits into
base: master
Choose a base branch
from

Conversation

ayevbeosa
Copy link
Contributor

@ayevbeosa ayevbeosa commented Dec 26, 2024

Description

Added logs in pallet-xcm to help in debugging, fixes #2408, and in continuation of #4982

Checklist

@ayevbeosa ayevbeosa changed the title pallet-xcm: added logging for xcm filters/helpers/matchers/types (#2408) xcm-builder: added logging for xcm filters/helpers/matchers/types (#2408) Dec 26, 2024
@ayevbeosa ayevbeosa marked this pull request as ready for review December 27, 2024 05:43
@ayevbeosa ayevbeosa requested a review from a team as a code owner December 27, 2024 05:43
Copy link
Member

@bkchr bkchr left a comment

Choose a reason for hiding this comment

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

Can you please change all these calls to follow the same pattern as shown by me in teh suggestions?

ayevbeosa and others added 16 commits January 3, 2025 10:23
Copy link
Contributor

@acatangiu acatangiu left a comment

Choose a reason for hiding this comment

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

Thank you for pushing this forward, most of it is looking very good! 👍

Please also add tracing and debug logging for:

And more in comments below.

polkadot/xcm/xcm-builder/src/fungibles_adapter.rs Outdated Show resolved Hide resolved
cumulus/parachains/runtimes/assets/common/src/matching.rs Outdated Show resolved Hide resolved
polkadot/xcm/xcm-builder/src/barriers.rs Outdated Show resolved Hide resolved
polkadot/xcm/xcm-builder/src/barriers.rs Outdated Show resolved Hide resolved
polkadot/xcm/xcm-builder/src/barriers.rs Outdated Show resolved Hide resolved
polkadot/xcm/xcm-builder/src/currency_adapter.rs Outdated Show resolved Hide resolved
polkadot/xcm/xcm-builder/src/nonfungible_adapter.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@acatangiu acatangiu left a comment

Choose a reason for hiding this comment

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

Very nice @ayevbeosa!

Just have couple more nits and we're done 😄

cumulus/parachains/runtimes/assets/common/src/matching.rs Outdated Show resolved Hide resolved
polkadot/xcm/xcm-builder/src/routing.rs Outdated Show resolved Hide resolved
polkadot/xcm/xcm-builder/src/weight.rs Outdated Show resolved Hide resolved
polkadot/xcm/xcm-builder/src/weight.rs Show resolved Hide resolved
polkadot/xcm/xcm-builder/src/weight.rs Outdated Show resolved Hide resolved
polkadot/xcm/xcm-builder/src/weight.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@acatangiu acatangiu left a comment

Choose a reason for hiding this comment

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

Looks good, thanks! Please make CI pass and we can merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T6-XCM This PR/Issue is related to XCM.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[XCM] don't ignore errors
3 participants