mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +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>
49 lines
2.0 KiB
TOML
49 lines
2.0 KiB
TOML
[package]
|
|
name = "xcm-simulator-example"
|
|
description = "Examples of xcm-simulator usage."
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
version = "1.0.0"
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.6.1" }
|
|
scale-info = { version = "2.10.0", features = ["derive"] }
|
|
log = { version = "0.4.14", default-features = false }
|
|
|
|
frame-system = { path = "../../../../substrate/frame/system" }
|
|
frame-support = { path = "../../../../substrate/frame/support" }
|
|
pallet-balances = { path = "../../../../substrate/frame/balances" }
|
|
pallet-message-queue = { path = "../../../../substrate/frame/message-queue" }
|
|
pallet-uniques = { path = "../../../../substrate/frame/uniques" }
|
|
sp-std = { path = "../../../../substrate/primitives/std" }
|
|
sp-core = { path = "../../../../substrate/primitives/core" }
|
|
sp-runtime = { path = "../../../../substrate/primitives/runtime" }
|
|
sp-io = { path = "../../../../substrate/primitives/io" }
|
|
sp-tracing = { path = "../../../../substrate/primitives/tracing" }
|
|
|
|
xcm = { package = "staging-xcm", path = "../.." }
|
|
xcm-simulator = { path = ".." }
|
|
xcm-executor = { package = "staging-xcm-executor", path = "../../xcm-executor" }
|
|
xcm-builder = { package = "staging-xcm-builder", path = "../../xcm-builder" }
|
|
pallet-xcm = { path = "../../pallet-xcm" }
|
|
polkadot-core-primitives = { path = "../../../core-primitives" }
|
|
polkadot-runtime-parachains = { path = "../../../runtime/parachains" }
|
|
polkadot-parachain-primitives = { path = "../../../parachain" }
|
|
|
|
[features]
|
|
default = []
|
|
runtime-benchmarks = [
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-message-queue/runtime-benchmarks",
|
|
"pallet-uniques/runtime-benchmarks",
|
|
"pallet-xcm/runtime-benchmarks",
|
|
"polkadot-parachain-primitives/runtime-benchmarks",
|
|
"polkadot-runtime-parachains/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"xcm-builder/runtime-benchmarks",
|
|
"xcm-executor/runtime-benchmarks",
|
|
]
|