mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
f3bf5c1acd
The `xcm` crate was renamed to `staging-xcm` to be able to publish it to crates.io as someone as squatted `xcm`. The problem with this rename is that the `TypeInfo` includes the crate name which ultimately lands in the metadata. The metadata is consumed by downstream users like `polkadot-js` or people building on top of `polkadot-js`. These people are using the entire `path` to find the type in the type registry. Thus, their code would break as the type path would now be [`staging_xcm`, `VersionedXcm`] instead of [`xcm`, `VersionedXcm`]. This pull request fixes this by renaming the path segment `staging_xcm` to `xcm`. This requires: https://github.com/paritytech/scale-info/pull/197 --------- Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com>
64 lines
2.4 KiB
TOML
64 lines
2.4 KiB
TOML
[package]
|
|
name = "assets-common"
|
|
version = "0.1.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
description = "Assets common utilities"
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
|
log = { version = "0.4.20", default-features = false }
|
|
impl-trait-for-tuples = "0.2.2"
|
|
|
|
# Substrate
|
|
frame-support = { path = "../../../../../substrate/frame/support", default-features = false}
|
|
sp-api = { path = "../../../../../substrate/primitives/api", default-features = false}
|
|
sp-std = { path = "../../../../../substrate/primitives/std", default-features = false}
|
|
sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-features = false}
|
|
pallet-asset-conversion = { path = "../../../../../substrate/frame/asset-conversion", default-features = false }
|
|
pallet-asset-tx-payment = { path = "../../../../../substrate/frame/transaction-payment/asset-tx-payment", default-features = false }
|
|
|
|
# Polkadot
|
|
pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false}
|
|
xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false}
|
|
xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false}
|
|
xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false}
|
|
|
|
# Cumulus
|
|
parachains-common = { path = "../../../common", default-features = false }
|
|
cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false }
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder" }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"codec/std",
|
|
"cumulus-primitives-core/std",
|
|
"frame-support/std",
|
|
"log/std",
|
|
"pallet-asset-conversion/std",
|
|
"pallet-asset-tx-payment/std",
|
|
"pallet-xcm/std",
|
|
"parachains-common/std",
|
|
"sp-api/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"xcm-builder/std",
|
|
"xcm-executor/std",
|
|
"xcm/std",
|
|
]
|
|
|
|
runtime-benchmarks = [
|
|
"frame-support/runtime-benchmarks",
|
|
"pallet-asset-conversion/runtime-benchmarks",
|
|
"pallet-asset-tx-payment/runtime-benchmarks",
|
|
"pallet-xcm/runtime-benchmarks",
|
|
"parachains-common/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"xcm-builder/runtime-benchmarks",
|
|
"xcm-executor/runtime-benchmarks",
|
|
]
|