Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 7 commits into from
Sep 14, 2023

Conversation

bkontur
Copy link
Contributor

@bkontur bkontur commented Sep 12, 2023

Summary

Implementations of SendXcm's validate should not consume dest and/or msg parameters in case of NotApplicable error according to this. This PR 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

@bkontur bkontur added the T6-XCM This PR/Issue is related to XCM. label Sep 12, 2023
@acatangiu acatangiu marked this pull request as ready for review September 12, 2023 14:28
@acatangiu acatangiu requested a review from a team as a code owner September 12, 2023 14:28
@acatangiu acatangiu enabled auto-merge (squash) September 14, 2023 07:34
@acatangiu acatangiu merged commit 76724ce into master Sep 14, 2023
104 of 110 checks passed
@acatangiu acatangiu deleted the bko-remote-exporters branch September 14, 2023 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T6-XCM This PR/Issue is related to XCM.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants