mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 04:41:03 +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>
84 lines
3.9 KiB
TOML
84 lines
3.9 KiB
TOML
[package]
|
|
name = "asset-test-utils"
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
description = "Test utils for Asset Hub runtimes."
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
|
|
|
# Substrate
|
|
frame-support = { path = "../../../../../substrate/frame/support", default-features = false}
|
|
frame-system = { path = "../../../../../substrate/frame/system", default-features = false}
|
|
pallet-assets = { path = "../../../../../substrate/frame/assets", default-features = false}
|
|
pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false}
|
|
pallet-session = { path = "../../../../../substrate/frame/session", default-features = false}
|
|
sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false}
|
|
sp-io = { path = "../../../../../substrate/primitives/io", default-features = false}
|
|
sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-features = false}
|
|
sp-std = { path = "../../../../../substrate/primitives/std", default-features = false}
|
|
sp-core = { path = "../../../../../substrate/primitives/core", default-features = false}
|
|
|
|
# Cumulus
|
|
cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook",] }
|
|
cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false }
|
|
cumulus-pallet-dmp-queue = { path = "../../../../pallets/dmp-queue", default-features = false }
|
|
pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false }
|
|
parachains-common = { path = "../../../common", default-features = false }
|
|
assets-common = { path = "../common", default-features = false }
|
|
cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false }
|
|
cumulus-primitives-parachain-inherent = { path = "../../../../primitives/parachain-inherent", default-features = false }
|
|
cumulus-test-relay-sproof-builder = { path = "../../../../test/relay-sproof-builder", default-features = false }
|
|
parachain-info = { path = "../../../pallets/parachain-info", default-features = false }
|
|
parachains-runtimes-test-utils = { path = "../../test-utils", default-features = false }
|
|
|
|
# Polkadot
|
|
xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false }
|
|
xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false }
|
|
xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false }
|
|
pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false }
|
|
polkadot-parachain-primitives = { path = "../../../../../polkadot/parachain", default-features = false }
|
|
|
|
# Bridges
|
|
pallet-xcm-bridge-hub-router = { path = "../../../../../bridges/modules/xcm-bridge-hub-router", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.4.1"
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder" }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"assets-common/std",
|
|
"codec/std",
|
|
"cumulus-pallet-dmp-queue/std",
|
|
"cumulus-pallet-parachain-system/std",
|
|
"cumulus-pallet-xcmp-queue/std",
|
|
"cumulus-primitives-core/std",
|
|
"cumulus-primitives-parachain-inherent/std",
|
|
"cumulus-test-relay-sproof-builder/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"pallet-assets/std",
|
|
"pallet-balances/std",
|
|
"pallet-collator-selection/std",
|
|
"pallet-session/std",
|
|
"pallet-xcm-bridge-hub-router/std",
|
|
"pallet-xcm/std",
|
|
"parachain-info/std",
|
|
"parachains-common/std",
|
|
"parachains-runtimes-test-utils/std",
|
|
"polkadot-parachain-primitives/std",
|
|
"sp-consensus-aura/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"xcm-builder/std",
|
|
"xcm-executor/std",
|
|
"xcm/std",
|
|
]
|