Fix XCM Native Token (XON) Transfer Failure - LocalExecutionIncomplete#120
Merged
hgminerva merged 7 commits intoXode-DAO:v0.1.2from Nov 11, 2025
Conversation
…t-runtime-apis Merge pull request #1 from oliverrigonan/main
v0.1.2 initial merge to main
…asset matcher modifications
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.
This pull request refactors and extends the XCM asset matching and weight trading logic to support more flexible and robust asset handling, enabling successful cross-chain transactions using the native token (
XON).Key Improvements
1. Asset Matching and Transactor Refactoring
NativeAssetMatcherfor handling the native token (XON).MultiAssetMatcherfor other fungible assets, replacing the older monolithicAssetMatcher.LocalAssetTransactor– handles native assets (XON)PalletAssetsTransactor– handles other registered fungible assetsAssetTransactortype for streamlined XCM execution.2. Trusted Reserve Assets Extraction
xcm_config::trusted_reserve_assets3. Weight-to-Fee Conversion Generalization
4. Codebase Cleanup
5. Documentation and Logging Enhancements
→ Makes debugging and traceability easier during XCM execution.
Result
✅ XCM transfers using the native token (XON) now execute successfully.
✅ Improved modularity, extensibility, and maintainability of the XCM configuration.
✅ Clearer separation of responsibilities between native, fungible, and trusted reserve assets.
This refactor establishes a solid foundation for handling future cross-chain integrations with additional assets or networks.
This PR solves: #119