Files
pezkuwi-subxt/cumulus/test/runtime/Cargo.toml
T
Bastian Köcher f3bf5c1acd xcm: Change TypeInfo::path to not include staging (#1948)
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>
2023-10-20 11:21:19 +02:00

71 lines
3.1 KiB
TOML

[package]
name = "cumulus-test-runtime"
version = "0.1.0"
authors.workspace = true
edition.workspace = true
publish = false
[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"] }
# Substrate
frame-executive = { path = "../../../substrate/frame/executive", default-features = false}
frame-support = { path = "../../../substrate/frame/support", default-features = false}
frame-system = { path = "../../../substrate/frame/system", default-features = false}
frame-system-rpc-runtime-api = { path = "../../../substrate/frame/system/rpc/runtime-api", default-features = false}
pallet-balances = { path = "../../../substrate/frame/balances", default-features = false}
pallet-sudo = { path = "../../../substrate/frame/sudo", default-features = false}
pallet-timestamp = { path = "../../../substrate/frame/timestamp", default-features = false}
pallet-glutton = { path = "../../../substrate/frame/glutton", default-features = false}
pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment", default-features = false}
sp-api = { path = "../../../substrate/primitives/api", default-features = false}
sp-block-builder = { path = "../../../substrate/primitives/block-builder", default-features = false}
sp-core = { path = "../../../substrate/primitives/core", default-features = false}
sp-inherents = { path = "../../../substrate/primitives/inherents", default-features = false}
sp-io = { path = "../../../substrate/primitives/io", default-features = false}
sp-offchain = { path = "../../../substrate/primitives/offchain", default-features = false}
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false}
sp-session = { path = "../../../substrate/primitives/session", default-features = false}
sp-std = { path = "../../../substrate/primitives/std", default-features = false}
sp-transaction-pool = { path = "../../../substrate/primitives/transaction-pool", default-features = false}
sp-version = { path = "../../../substrate/primitives/version", default-features = false}
# Cumulus
cumulus-pallet-parachain-system = { path = "../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook",] }
cumulus-primitives-core = { path = "../../primitives/core", default-features = false }
[build-dependencies]
substrate-wasm-builder = { path = "../../../substrate/utils/wasm-builder", optional = true }
[features]
default = [ "std" ]
std = [
"codec/std",
"cumulus-pallet-parachain-system/std",
"cumulus-primitives-core/std",
"frame-executive/std",
"frame-support/std",
"frame-system-rpc-runtime-api/std",
"frame-system/std",
"pallet-balances/std",
"pallet-glutton/std",
"pallet-sudo/std",
"pallet-timestamp/std",
"pallet-transaction-payment/std",
"scale-info/std",
"sp-api/std",
"sp-block-builder/std",
"sp-core/std",
"sp-inherents/std",
"sp-io/std",
"sp-offchain/std",
"sp-runtime/std",
"sp-session/std",
"sp-std/std",
"sp-transaction-pool/std",
"sp-version/std",
"substrate-wasm-builder",
]
increment-spec-version = []