Skip to content
Commit ce80bc2d authored by Gavin Wood's avatar Gavin Wood Committed by GitHub
Browse files

XCM v1 (#2815)



* MultiAsset TWO

* Draft next MultiAsset API.

* XCM core builds

* XCM Executor builds

* XCM Builder builds

* API changes making their way throughout

* Some TODOs

* Further build fixes

* Basic compile builds

* First test fixed

* All executor tests fixed

* Typo

* Optimize subsume_assets and add test

* Optimize checked_sub

* XCM Builder first test fixed

* Fix builder tests

* Fix doc test

* fix some doc tests

* spelling

* named fields for AllOf

* Update xcm/src/v0/multiasset.rs

Co-authored-by: default avatarAlexander Popiak <[email protected]>

* Update xcm/src/v0/multiasset.rs

Co-authored-by: default avatarAlexander Popiak <[email protected]>

* Update xcm/src/v0/multiasset.rs

Co-authored-by: default avatarAlexander Popiak <[email protected]>

* Update xcm/src/v0/multiasset.rs

Co-authored-by: default avatarAlexander Popiak <[email protected]>

* Reformat

* Move to XCM version 1

* Spelling

* warnings

* Replace some more v0->v1s

* warnings

* format

* Add max_assets param

* building

* test fixes

* tests

* another test

* final test

* tests

* Rename Null -> Here

* Introduce

* More ergonomics

* More ergonomics

* test fix

* test fixes

* docs

* BuyExecution includes

* Fix XCM extrinsics

* fmt

* Make Vec<MultiAsset>/MultiAssets conversions safe

* More MultiAssets conversion safety

* spelling

* fix doc test

* Apply suggestions from code review

Co-authored-by: default avatarAmar Singh <[email protected]>

* Apply suggestions from code review

Co-authored-by: default avatarAmar Singh <[email protected]>

* fmt

* Add v0, remove VersionedMultiAsset

* Remove VersionedMultiLocation

* Update xcm/src/v1/order.rs

Co-authored-by: default avatarAmar Singh <[email protected]>

* Update xcm/src/v1/mod.rs

Co-authored-by: default avatarAmar Singh <[email protected]>

* XCM v0 backwards compatibility

* Full compatibility

* fmt

* Update xcm/pallet-xcm/src/lib.rs

* Update xcm/src/v0/order.rs

Co-authored-by: default avatarShawn Tabrizi <[email protected]>

* Tweaks to versioning system

* Fixes

* fmt

* Update xcm/xcm-executor/src/assets.rs

Co-authored-by: default avatarShawn Tabrizi <[email protected]>

* Update xcm/xcm-executor/src/assets.rs

Co-authored-by: default avatarShawn Tabrizi <[email protected]>

* Grumbles

* Update xcm/src/v1/multiasset.rs

Co-authored-by: default avatarShawn Tabrizi <[email protected]>

* fmt

* Update xcm/src/v1/multiasset.rs

Co-authored-by: default avatarShawn Tabrizi <[email protected]>

* Update xcm/src/v1/multiasset.rs

Co-authored-by: default avatarShawn Tabrizi <[email protected]>

* Fixes

* Formatting

Co-authored-by: default avatarAlexander Popiak <[email protected]>
Co-authored-by: default avatarAmar Singh <[email protected]>
Co-authored-by: default avatarShawn Tabrizi <[email protected]>
parent d86bb658
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment