Skip to content
Snippets Groups Projects
  • Branislav Kontur's avatar
    xcm: fix local/remote exports when inner routers return `NotApplicable` (#6645) · 1c0b6100
    Branislav Kontur authored
    
    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 <action@github.com>
    Unverified
    1c0b6100
Code owners
Assign users and groups as approvers for specific file changes. Learn more.