mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-06 03:17:25 +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>
98 lines
3.7 KiB
TOML
98 lines
3.7 KiB
TOML
[package]
|
|
name = "cumulus-pallet-parachain-system"
|
|
version = "0.1.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
description = "Base pallet for cumulus-based parachains"
|
|
|
|
[dependencies]
|
|
bytes = { version = "1.4.0", default-features = false }
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
|
environmental = { version = "1.1.4", default-features = false }
|
|
impl-trait-for-tuples = "0.2.1"
|
|
log = { version = "0.4.20", default-features = false }
|
|
trie-db = { version = "0.28.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-core = { path = "../../../substrate/primitives/core", default-features = false}
|
|
sp-externalities = { path = "../../../substrate/primitives/externalities", default-features = false}
|
|
sp-inherents = { path = "../../../substrate/primitives/inherents", default-features = false}
|
|
sp-io = { path = "../../../substrate/primitives/io", default-features = false}
|
|
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false}
|
|
sp-state-machine = { path = "../../../substrate/primitives/state-machine", default-features = false}
|
|
sp-std = { path = "../../../substrate/primitives/std", default-features = false}
|
|
sp-trie = { path = "../../../substrate/primitives/trie", default-features = false}
|
|
sp-version = { path = "../../../substrate/primitives/version", default-features = false}
|
|
|
|
# Polkadot
|
|
polkadot-parachain-primitives = { path = "../../../polkadot/parachain", default-features = false, features = [ "wasm-api" ]}
|
|
polkadot-runtime-parachains = { path = "../../../polkadot/runtime/parachains", default-features = false }
|
|
xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false}
|
|
|
|
# Cumulus
|
|
cumulus-pallet-parachain-system-proc-macro = { path = "proc-macro", default-features = false }
|
|
cumulus-primitives-core = { path = "../../primitives/core", default-features = false }
|
|
cumulus-primitives-parachain-inherent = { path = "../../primitives/parachain-inherent", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
assert_matches = "1.5"
|
|
hex-literal = "0.4.1"
|
|
lazy_static = "1.4"
|
|
|
|
# Substrate
|
|
sc-client-api = { path = "../../../substrate/client/api" }
|
|
sp-keyring = { path = "../../../substrate/primitives/keyring" }
|
|
sp-tracing = { path = "../../../substrate/primitives/tracing" }
|
|
sp-version = { path = "../../../substrate/primitives/version" }
|
|
|
|
# Cumulus
|
|
cumulus-test-client = { path = "../../test/client" }
|
|
cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder" }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"bytes/std",
|
|
"codec/std",
|
|
"cumulus-pallet-parachain-system-proc-macro/std",
|
|
"cumulus-primitives-core/std",
|
|
"cumulus-primitives-parachain-inherent/std",
|
|
"environmental/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"log/std",
|
|
"polkadot-parachain-primitives/std",
|
|
"polkadot-runtime-parachains/std",
|
|
"scale-info/std",
|
|
"sp-core/std",
|
|
"sp-externalities/std",
|
|
"sp-inherents/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-state-machine/std",
|
|
"sp-std/std",
|
|
"sp-trie/std",
|
|
"trie-db/std",
|
|
"xcm/std",
|
|
]
|
|
|
|
runtime-benchmarks = [
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"polkadot-parachain-primitives/runtime-benchmarks",
|
|
"polkadot-runtime-parachains/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
]
|
|
|
|
try-runtime = [
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"polkadot-runtime-parachains/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|
|
|
|
parameterized-consensus-hook = []
|