-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 Accept trailing topics on xcm barrier (#335)
## What? - Make messages with a trailing `SetTopic` pass the barriers ## Why? - This is a convention used by parachains. Any query we send will be responded with the response + topic, and currently our barriers don't expect that ## How? - The wrapper checks if at the end there is a `SetTopic`, and if so removes it and sets the topic of the executor ## Testing? No tests ## Anything Else? Discussion on the SDK repo: paritytech/polkadot-sdk#4868
- Loading branch information
Showing
1 changed file
with
30 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters