mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 19:11: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>
143 lines
6.0 KiB
TOML
143 lines
6.0 KiB
TOML
[package]
|
|
name = "polkadot-runtime-parachains"
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
impl-trait-for-tuples = "0.2.2"
|
|
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
|
|
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
|
|
log = { version = "0.4.17", default-features = false }
|
|
rustc-hex = { version = "2.1.0", default-features = false }
|
|
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
|
serde = { version = "1.0.188", default-features = false, features = ["derive", "alloc"] }
|
|
derive_more = "0.99.17"
|
|
bitflags = "1.3.2"
|
|
|
|
sp-api = { path = "../../../substrate/primitives/api", default-features = false }
|
|
inherents = { package = "sp-inherents", path = "../../../substrate/primitives/inherents", default-features = false }
|
|
sp-std = { package = "sp-std", path = "../../../substrate/primitives/std", default-features = false }
|
|
sp-io = { path = "../../../substrate/primitives/io", default-features = false }
|
|
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false, features=["serde"] }
|
|
sp-session = { path = "../../../substrate/primitives/session", default-features = false }
|
|
sp-staking = { path = "../../../substrate/primitives/staking", default-features = false, features=["serde"] }
|
|
sp-core = { path = "../../../substrate/primitives/core", default-features = false, features=["serde"] }
|
|
sp-keystore = { path = "../../../substrate/primitives/keystore", optional = true }
|
|
sp-application-crypto = { path = "../../../substrate/primitives/application-crypto", default-features = false, optional = true }
|
|
sp-tracing = { path = "../../../substrate/primitives/tracing", default-features = false, optional = true }
|
|
|
|
pallet-authority-discovery = { path = "../../../substrate/frame/authority-discovery", default-features = false }
|
|
pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false }
|
|
pallet-balances = { path = "../../../substrate/frame/balances", default-features = false }
|
|
pallet-babe = { path = "../../../substrate/frame/babe", default-features = false }
|
|
pallet-message-queue = { path = "../../../substrate/frame/message-queue", default-features = false }
|
|
pallet-session = { path = "../../../substrate/frame/session", default-features = false }
|
|
pallet-staking = { path = "../../../substrate/frame/staking", default-features = false }
|
|
pallet-timestamp = { path = "../../../substrate/frame/timestamp", default-features = false }
|
|
pallet-vesting = { path = "../../../substrate/frame/vesting", default-features = false }
|
|
frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true }
|
|
frame-support = { path = "../../../substrate/frame/support", default-features = false }
|
|
frame-system = { path = "../../../substrate/frame/system", default-features = false }
|
|
|
|
xcm = { package = "staging-xcm", path = "../../xcm", default-features = false }
|
|
xcm-executor = { package = "staging-xcm-executor", path = "../../xcm/xcm-executor", default-features = false }
|
|
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
|
|
|
|
rand = { version = "0.8.5", default-features = false }
|
|
rand_chacha = { version = "0.3.1", default-features = false }
|
|
static_assertions = { version = "1.1.0", optional = true }
|
|
polkadot-parachain-primitives = { path = "../../parachain", default-features = false }
|
|
polkadot-runtime-metrics = { path = "../metrics", default-features = false}
|
|
polkadot-core-primitives = { path = "../../core-primitives", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
futures = "0.3.21"
|
|
hex-literal = "0.4.1"
|
|
keyring = { package = "sp-keyring", path = "../../../substrate/primitives/keyring" }
|
|
frame-support-test = { path = "../../../substrate/frame/support/test" }
|
|
sc-keystore = { path = "../../../substrate/client/keystore" }
|
|
test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../primitives/test-helpers" }
|
|
sp-tracing = { path = "../../../substrate/primitives/tracing" }
|
|
thousands = "0.2.0"
|
|
assert_matches = "1"
|
|
serde_json = "1.0.107"
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
no_std = []
|
|
std = [
|
|
"bitvec/std",
|
|
"frame-benchmarking?/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"inherents/std",
|
|
"log/std",
|
|
"pallet-authority-discovery/std",
|
|
"pallet-authorship/std",
|
|
"pallet-babe/std",
|
|
"pallet-balances/std",
|
|
"pallet-message-queue/std",
|
|
"pallet-session/std",
|
|
"pallet-staking/std",
|
|
"pallet-timestamp/std",
|
|
"pallet-vesting/std",
|
|
"parity-scale-codec/std",
|
|
"polkadot-core-primitives/std",
|
|
"polkadot-parachain-primitives/std",
|
|
"polkadot-runtime-metrics/std",
|
|
"primitives/std",
|
|
"rustc-hex/std",
|
|
"scale-info/std",
|
|
"serde/std",
|
|
"sp-api/std",
|
|
"sp-application-crypto?/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-keystore",
|
|
"sp-runtime/std",
|
|
"sp-session/std",
|
|
"sp-staking/std",
|
|
"sp-std/std",
|
|
"xcm-executor/std",
|
|
"xcm/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-babe/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-message-queue/runtime-benchmarks",
|
|
"pallet-staking/runtime-benchmarks",
|
|
"pallet-timestamp/runtime-benchmarks",
|
|
"pallet-vesting/runtime-benchmarks",
|
|
"polkadot-parachain-primitives/runtime-benchmarks",
|
|
"primitives/runtime-benchmarks",
|
|
"sp-application-crypto",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"sp-staking/runtime-benchmarks",
|
|
"static_assertions",
|
|
"xcm-executor/runtime-benchmarks",
|
|
]
|
|
try-runtime = [
|
|
"frame-support-test/try-runtime",
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"pallet-authority-discovery/try-runtime",
|
|
"pallet-authorship/try-runtime",
|
|
"pallet-babe/try-runtime",
|
|
"pallet-balances/try-runtime",
|
|
"pallet-message-queue/try-runtime",
|
|
"pallet-session/try-runtime",
|
|
"pallet-staking/try-runtime",
|
|
"pallet-timestamp/try-runtime",
|
|
"pallet-vesting/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|
|
runtime-metrics = [
|
|
"polkadot-runtime-metrics/runtime-metrics",
|
|
"sp-tracing/with-tracing",
|
|
]
|