xcm: fix local/remote exports when inner routers return `NotApplicable` (#6645)
This PR addresses two small fixes:
1. Fixed a typo ("as as") found on the way.
2. Resolved a bug in the `local/remote exporters` used for bridging.
Previously, they consumed `dest` and `msg` without returning them when
inner routers/exporters failed with `NotApplicable`. This PR ensures
compliance with the
[`SendXcm`](https://github.com/paritytech/polkadot-sdk/blob/master/polkadot/xcm/src/v5/traits.rs#L449-L450)
and
[`ExportXcm`](https://github.com/paritytech/polkadot-sdk/blob/master/polkadot/xcm/xcm-executor/src/traits/export.rs#L44-L45)
traits.
---------
Co-authored-by:
GitHub Action <action@github.com>
parent
3c003872
Showing
- polkadot/grafana/README.md 1 addition, 1 deletionpolkadot/grafana/README.md
- polkadot/grafana/parachains/status.json 1 addition, 1 deletionpolkadot/grafana/parachains/status.json
- polkadot/xcm/src/v3/traits.rs 2 additions, 2 deletionspolkadot/xcm/src/v3/traits.rs
- polkadot/xcm/src/v4/traits.rs 2 additions, 2 deletionspolkadot/xcm/src/v4/traits.rs
- polkadot/xcm/src/v5/traits.rs 2 additions, 2 deletionspolkadot/xcm/src/v5/traits.rs
- polkadot/xcm/xcm-builder/src/universal_exports.rs 222 additions, 43 deletionspolkadot/xcm/xcm-builder/src/universal_exports.rs
- polkadot/xcm/xcm-executor/src/traits/export.rs 2 additions, 2 deletionspolkadot/xcm/xcm-executor/src/traits/export.rs
- prdoc/pr_6645.prdoc 14 additions, 0 deletionsprdoc/pr_6645.prdoc
- substrate/frame/examples/default-config/src/lib.rs 2 additions, 2 deletionssubstrate/frame/examples/default-config/src/lib.rs
Please register or sign in to comment