XCM: PayOverXcm config (#6900)
* Move XCM query functionality to trait * Fix tests * Add PayOverXcm implementation * fix the PayOverXcm trait to compile * moved doc comment out of trait implmeentation and to the trait * PayOverXCM documentation * Change documentation a bit * Added empty benchmark methods implementation and changed docs * update PayOverXCM to convert AccountIds to MultiLocations * Implement benchmarking method * Change v3 to latest * Descend origin to an asset sender (#6970) * descend origin to an asset sender * sender as tuple of dest and sender * Add more variants to the QueryResponseStatus enum * Change Beneficiary to Into<[u8; 32]> * update PayOverXcm to return concrete errors and use AccountId as sender * use polkadot-primitives for AccountId * fix dependency to use polkadot-core-primitives * force Unpaid instruction to the top of the instructions list * modify report_outcome to accept interior argument * use new_query directly for building final xcm query, instead of report_outcome * fix usage of new_query to use the XcmQueryHandler * fix usage of new_query to use the XcmQueryHandler * tiny method calling fix * xcm query handler (#7198) * drop redundant query status * rename ReportQueryStatus to OuterQueryStatus * revert rename of QueryResponseStatus * update mapping * Update xcm/xcm-builder/src/pay.rs Co-authored-by:Gavin Wood <gavin@parity.io> * Updates * Docs * Fix benchmarking stuff * Destination can be determined based on asset_kind * Tweaking API to minimise clones * Some repotting and docs --------- Co-authored-by:
Anthony Alaribe <anthonyalaribe@gmail.com> Co-authored-by:
Muharem Ismailov <ismailov.m.h@gmail.com> Co-authored-by:
Anthony Alaribe <anthony.alaribe@parity.io> Co-authored-by:
Gavin Wood <gavin@parity.io>
Showing
- polkadot/runtime/test-runtime/src/lib.rs 2 additions, 1 deletionpolkadot/runtime/test-runtime/src/lib.rs
- polkadot/xcm/pallet-xcm/src/lib.rs 62 additions, 55 deletionspolkadot/xcm/pallet-xcm/src/lib.rs
- polkadot/xcm/pallet-xcm/src/mock.rs 2 additions, 1 deletionpolkadot/xcm/pallet-xcm/src/mock.rs
- polkadot/xcm/pallet-xcm/src/tests.rs 5 additions, 3 deletionspolkadot/xcm/pallet-xcm/src/tests.rs
- polkadot/xcm/xcm-builder/Cargo.toml 2 additions, 1 deletionpolkadot/xcm/xcm-builder/Cargo.toml
- polkadot/xcm/xcm-builder/src/lib.rs 6 additions, 2 deletionspolkadot/xcm/xcm-builder/src/lib.rs
- polkadot/xcm/xcm-builder/src/location_conversion.rs 20 additions, 0 deletionspolkadot/xcm/xcm-builder/src/location_conversion.rs
- polkadot/xcm/xcm-builder/src/pay.rs 205 additions, 0 deletionspolkadot/xcm/xcm-builder/src/pay.rs
- polkadot/xcm/xcm-executor/src/traits/mod.rs 1 addition, 1 deletionpolkadot/xcm/xcm-executor/src/traits/mod.rs
- polkadot/xcm/xcm-executor/src/traits/on_response.rs 70 additions, 1 deletionpolkadot/xcm/xcm-executor/src/traits/on_response.rs
Please register or sign in to comment