mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 20:48:02 +00:00
4a44356773
Adds a config file that allows to run `zepter` without any arguments in the workspace to address all issues. A secondary workflow for the CI is provided as `zepter run check`. Both the formatting and linting are now in one check for efficiancy. The latest version also detects some more things that `featalign` was already showing. Error message [in the CI](https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3916205) now looks like this: ```pre ... crate 'test-parachains' (/Users/vados/Documents/work/polkadot-sdk/polkadot/parachain/test-parachains/Cargo.toml) feature 'std' must propagate to: parity-scale-codec Found 55 issues (run with --fix to fix). Error: Command 'lint propagate-feature' failed with exit code 1 Polkadot-SDK uses the Zepter CLI to detect abnormalities in the feature configuration. It looks like one more more checks failed; please check the console output. You can try to automatically address them by running `zepter`. Otherwise please ask directly in the Merge Request, GitHub Discussions or on Matrix Chat, thank you. For more information, see: - https://github.com/paritytech/polkadot-sdk/issues/1831 - https://github.com/ggwpez/zepter ``` TODO: - [x] Check that CI fails correctly --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
92 lines
3.2 KiB
TOML
92 lines
3.2 KiB
TOML
[package]
|
|
name = "cumulus-pallet-xcmp-queue"
|
|
version = "0.1.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ], default-features = false }
|
|
log = { version = "0.4.20", default-features = false }
|
|
rand_chacha = { version = "0.3.0", default-features = false }
|
|
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
|
|
|
# Substrate
|
|
frame-support = { path = "../../../substrate/frame/support", default-features = false}
|
|
frame-system = { path = "../../../substrate/frame/system", default-features = false}
|
|
sp-io = { path = "../../../substrate/primitives/io", default-features = false}
|
|
sp-core = { path = "../../../substrate/primitives/core", default-features = false }
|
|
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false}
|
|
sp-std = { path = "../../../substrate/primitives/std", default-features = false}
|
|
|
|
# Polkadot
|
|
polkadot-runtime-common = { path = "../../../polkadot/runtime/common", default-features = false }
|
|
polkadot-runtime-parachains = { path = "../../../polkadot/runtime/parachains", default-features = false }
|
|
xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false }
|
|
xcm-executor = { package = "staging-xcm-executor", path = "../../../polkadot/xcm/xcm-executor", default-features = false }
|
|
|
|
# Cumulus
|
|
cumulus-primitives-core = { path = "../../primitives/core", default-features = false }
|
|
|
|
# Optional import for benchmarking
|
|
frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true}
|
|
|
|
# Bridges
|
|
bp-xcm-bridge-hub-router = { path = "../../../bridges/primitives/xcm-bridge-hub-router", default-features = false, optional = true }
|
|
|
|
[dev-dependencies]
|
|
|
|
# Substrate
|
|
sp-core = { path = "../../../substrate/primitives/core" }
|
|
pallet-balances = { path = "../../../substrate/frame/balances" }
|
|
|
|
# Polkadot
|
|
xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder" }
|
|
|
|
# Cumulus
|
|
cumulus-pallet-parachain-system = { path = "../parachain-system", features = ["parameterized-consensus-hook"] }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"bp-xcm-bridge-hub-router?/std",
|
|
"codec/std",
|
|
"cumulus-primitives-core/std",
|
|
"frame-benchmarking?/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"log/std",
|
|
"polkadot-runtime-common/std",
|
|
"polkadot-runtime-parachains/std",
|
|
"rand_chacha/std",
|
|
"scale-info/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"xcm-executor/std",
|
|
"xcm/std",
|
|
]
|
|
|
|
runtime-benchmarks = [
|
|
"cumulus-pallet-parachain-system/runtime-benchmarks",
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"polkadot-runtime-common/runtime-benchmarks",
|
|
"polkadot-runtime-parachains/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"xcm-builder/runtime-benchmarks",
|
|
"xcm-executor/runtime-benchmarks",
|
|
]
|
|
try-runtime = [
|
|
"cumulus-pallet-parachain-system/try-runtime",
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"pallet-balances/try-runtime",
|
|
"polkadot-runtime-common/try-runtime",
|
|
"polkadot-runtime-parachains/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|
|
bridging = [ "bp-xcm-bridge-hub-router" ]
|