mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-17 04:15:42 +00:00
a0e2aaad78
* 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>
58 lines
2.3 KiB
TOML
58 lines
2.3 KiB
TOML
[package]
|
|
name = "xcm-builder"
|
|
description = "Tools & types for building with XCM and its executor."
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
|
|
[dependencies]
|
|
impl-trait-for-tuples = "0.2.1"
|
|
parity-scale-codec = { version = "3.4.0", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
|
|
xcm = { path = "..", default-features = false }
|
|
xcm-executor = { path = "../xcm-executor", default-features = false }
|
|
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-weights = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
log = { version = "0.4.17", default-features = false }
|
|
|
|
# Polkadot dependencies
|
|
polkadot-parachain = { path = "../../parachain", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
primitive-types = "0.12.1"
|
|
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pallet-xcm = { path = "../pallet-xcm" }
|
|
polkadot-runtime-parachains = { path = "../../runtime/parachains" }
|
|
assert_matches = "1.5.0"
|
|
polkadot-test-runtime = { path = "../../runtime/test-runtime" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
runtime-benchmarks = [
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"xcm-executor/runtime-benchmarks",
|
|
]
|
|
std = [
|
|
"log/std",
|
|
"parity-scale-codec/std",
|
|
"scale-info/std",
|
|
"xcm/std",
|
|
"xcm-executor/std",
|
|
"sp-std/std",
|
|
"sp-arithmetic/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-weights/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"polkadot-parachain/std",
|
|
"pallet-transaction-payment/std",
|
|
]
|