Improve MultiLocation conversion functions in xcm-procedural (#3690)
* Use fully-qualified paths to reference core traits in proc macro * Ensure a canonicalized v0 MultiLocation first before attempting to convert to v1 * Fix failing test
Showing
- polkadot/xcm/procedural/src/v0/multilocation.rs 1 addition, 1 deletionpolkadot/xcm/procedural/src/v0/multilocation.rs
- polkadot/xcm/procedural/src/v1/multilocation.rs 6 additions, 4 deletionspolkadot/xcm/procedural/src/v1/multilocation.rs
- polkadot/xcm/src/v0/multi_location.rs 1 addition, 1 deletionpolkadot/xcm/src/v0/multi_location.rs
- polkadot/xcm/src/v1/multilocation.rs 2 additions, 5 deletionspolkadot/xcm/src/v1/multilocation.rs
Please register or sign in to comment