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

[xcm_builder]: Do not consume `msg` on `NotApplicable` for remote exporters (#1519)

## Summary

Implementations of `SendXcm`'s `validate` should not consume `dest`
and/or `msg` parameters in case of `NotApplicable` error.
This commit aligns expected behavior for `UnpaidRemoteExporter` and
`SovereignPaidRemoteExporter`.

## Testing

Added `remote_exporters_does_not_consume_dest_or_msg_on_not_applicable`
test which checks two possible cases:
- `dest` is local
- no configured exporter for `dest`
parent bdb3f98d
Pipeline #390160 failed with stages
in 1 hour, 46 minutes, and 42 seconds