allow clear_origin in safe xcm builder (#4777)
Fixes #3770 Added `clear_origin` as an allowed command after commands that load the holdings register, in the safe xcm builder. Checklist - [x] My PR includes a detailed description as outlined in the "Description" section above - [x] My PR follows the [labeling requirements](https://github.com/paritytech/polkadot-sdk/blob/master/docs/contributor/CONTRIBUTING.md#Process) of this project (at minimum one label for T required) - [x] I have made corresponding changes to the documentation (if applicable) - [x] I have added tests that prove my fix is effective or that my feature works (if applicable) --------- Co-authored-by:Francisco Aguirre <franciscoaguirreperez@gmail.com> Co-authored-by:
gupnik <mail.guptanikhil@gmail.com>
Showing
- polkadot/xcm/procedural/src/builder_pattern.rs 27 additions, 0 deletionspolkadot/xcm/procedural/src/builder_pattern.rs
- polkadot/xcm/procedural/tests/builder_pattern.rs 21 additions, 0 deletionspolkadot/xcm/procedural/tests/builder_pattern.rs
- prdoc/pr_4777.prdoc 27 additions, 0 deletionsprdoc/pr_4777.prdoc
Please register or sign in to comment