Skip to content
Unverified Commit 1c0b6100 authored by Branislav Kontur's avatar Branislav Kontur Committed by GitHub
Browse files

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: default avatarGitHub Action <[email protected]>
parent 3c003872
Pipeline #507052 waiting for manual action with stages
in 2 minutes and 23 seconds