XCM revamp (#2836)
* Remove unused relaying XCM * Aggregate HRMP (XCMP/HMP) messages. Payloads for spambot. * Revert lock * Fix * Broken example * Introduce fee payment mechanics into XCM. * Weight limitations on XCM execution * Mock environment for tests and the first test * Tests for XCM and a few refactors. * Remove code that's not ready * Fix for an XCM and an additional test * Query response system * XCMP message dispatch system reimagining - Moved most of the logic into xcm-handler pallet - Altered the outgoing XCMP API from push to pull - Changed underlying outgoing queue data structures to avoid multi-page read/writes - Introduced queuing for incoming messages - Introduced signal messages as a flow-control sub-stream - Introduced flow-control with basic threshold back-pressure - Introduced overall weight limitation on messages executed - Additonal alterations to XCM APIs for the new system * Some build fixes * Remove the Encode bounds sprayed around * More faff * Fix bounds amek use latest scale codec. * remove println * fixes * Fix XcmExecutor Tests * Fix XCM bounds using derivative crate * Refactor names of XcmGeneric &c into Xcm * Repot the xcm-executor into xcm-builder * Docs * Docs * Fixes * Update xcm/src/lib.rs Co-authored-by:Shawn Tabrizi <shawntabrizi@gmail.com> * Fixes * Docs * Update runtime/parachains/src/ump.rs Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com> * Docs * Fixes * Fixes * Fixes * Docs * Fixes * Fixes * Introduce transfer_asset specialisation. * Fixes * Fixes Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com>
Showing
- polkadot/Cargo.lock 23 additions, 5 deletionspolkadot/Cargo.lock
- polkadot/runtime/common/src/paras_sudo_wrapper.rs 1 addition, 1 deletionpolkadot/runtime/common/src/paras_sudo_wrapper.rs
- polkadot/runtime/common/src/xcm_sender.rs 2 additions, 2 deletionspolkadot/runtime/common/src/xcm_sender.rs
- polkadot/runtime/parachains/src/hrmp.rs 3 additions, 3 deletionspolkadot/runtime/parachains/src/hrmp.rs
- polkadot/runtime/parachains/src/ump.rs 11 additions, 9 deletionspolkadot/runtime/parachains/src/ump.rs
- polkadot/runtime/rococo/src/lib.rs 10 additions, 1 deletionpolkadot/runtime/rococo/src/lib.rs
- polkadot/xcm/Cargo.toml 1 addition, 0 deletionspolkadot/xcm/Cargo.toml
- polkadot/xcm/src/double_encoded.rs 74 additions, 0 deletionspolkadot/xcm/src/double_encoded.rs
- polkadot/xcm/src/lib.rs 22 additions, 3 deletionspolkadot/xcm/src/lib.rs
- polkadot/xcm/src/v0/junction.rs 5 additions, 1 deletionpolkadot/xcm/src/v0/junction.rs
- polkadot/xcm/src/v0/mod.rs 96 additions, 35 deletionspolkadot/xcm/src/v0/mod.rs
- polkadot/xcm/src/v0/multi_asset.rs 153 additions, 0 deletionspolkadot/xcm/src/v0/multi_asset.rs
- polkadot/xcm/src/v0/order.rs 55 additions, 7 deletionspolkadot/xcm/src/v0/order.rs
- polkadot/xcm/src/v0/traits.rs 80 additions, 8 deletionspolkadot/xcm/src/v0/traits.rs
- polkadot/xcm/xcm-builder/src/barriers.rs 90 additions, 0 deletionspolkadot/xcm/xcm-builder/src/barriers.rs
- polkadot/xcm/xcm-builder/src/currency_adapter.rs 10 additions, 9 deletionspolkadot/xcm/xcm-builder/src/currency_adapter.rs
- polkadot/xcm/xcm-builder/src/filter_asset_location.rs 36 additions, 0 deletionspolkadot/xcm/xcm-builder/src/filter_asset_location.rs
- polkadot/xcm/xcm-builder/src/fungibles_adapter.rs 69 additions, 112 deletionspolkadot/xcm/xcm-builder/src/fungibles_adapter.rs
- polkadot/xcm/xcm-builder/src/lib.rs 24 additions, 27 deletionspolkadot/xcm/xcm-builder/src/lib.rs
- polkadot/xcm/xcm-builder/src/location_conversion.rs 75 additions, 63 deletionspolkadot/xcm/xcm-builder/src/location_conversion.rs
Please register or sign in to comment