feat(xcm): support json schema (for CosmWasm VM support) (#1454)
# Description - What does this PR do? Allows to generate JSON schema for subset of XCM in std builds - Why are these changes needed? To support XCM messages in CosmWasm contracts which require Schemars to generate contract clients - How were these changes implemented and what do they affect? We will use schema feature flag to build XCM pallet with JSON schema enabled # Checklist - [x] My PR includes a detailed description as outlined in the "Description" section above - [x] My PR follows the [labeling requirements](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) - [x] If this PR alters any external APIs or interfaces used by Polkadot, the corresponding Polkadot PR is ready as well as the corresponding Cumulus PR (optional)
parent
1a4ab64b
Showing
- Cargo.lock 40 additions, 2 deletionsCargo.lock
- polkadot/xcm/Cargo.toml 3 additions, 1 deletionpolkadot/xcm/Cargo.toml
- polkadot/xcm/src/double_encoded.rs 1 addition, 0 deletionspolkadot/xcm/src/double_encoded.rs
- polkadot/xcm/src/v2/mod.rs 1 addition, 0 deletionspolkadot/xcm/src/v2/mod.rs
- polkadot/xcm/src/v3/junction.rs 4 additions, 0 deletionspolkadot/xcm/src/v3/junction.rs
- polkadot/xcm/src/v3/junctions.rs 1 addition, 0 deletionspolkadot/xcm/src/v3/junctions.rs
- polkadot/xcm/src/v3/mod.rs 10 additions, 0 deletionspolkadot/xcm/src/v3/mod.rs
- polkadot/xcm/src/v3/multiasset.rs 8 additions, 0 deletionspolkadot/xcm/src/v3/multiasset.rs
- polkadot/xcm/src/v3/multilocation.rs 1 addition, 0 deletionspolkadot/xcm/src/v3/multilocation.rs
- polkadot/xcm/src/v3/traits.rs 1 addition, 0 deletionspolkadot/xcm/src/v3/traits.rs
- prdoc/pr_1454.prdoc 10 additions, 0 deletionsprdoc/pr_1454.prdoc
- substrate/primitives/weights/Cargo.toml 5 additions, 0 deletionssubstrate/primitives/weights/Cargo.toml
- substrate/primitives/weights/src/weight_v2.rs 1 addition, 0 deletionssubstrate/primitives/weights/src/weight_v2.rs
Please register or sign in to comment