mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-17 14:45:41 +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>
65 lines
2.4 KiB
TOML
65 lines
2.4 KiB
TOML
[package]
|
|
name = "pallet-xcm-benchmarks"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
version = "1.0.0"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
|
|
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
|
frame-support = { path = "../../../substrate/frame/support", default-features = false}
|
|
frame-system = { path = "../../../substrate/frame/system", default-features = false}
|
|
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false}
|
|
sp-std = { path = "../../../substrate/primitives/std", default-features = false}
|
|
sp-io = { path = "../../../substrate/primitives/io", default-features = false}
|
|
xcm-executor = { package = "staging-xcm-executor", path = "../xcm-executor", default-features = false }
|
|
frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false}
|
|
xcm = { package = "staging-xcm", path = "..", default-features = false }
|
|
xcm-builder = { package = "staging-xcm-builder", path = "../xcm-builder", default-features = false }
|
|
log = "0.4.17"
|
|
|
|
[dev-dependencies]
|
|
pallet-balances = { path = "../../../substrate/frame/balances" }
|
|
pallet-assets = { path = "../../../substrate/frame/assets" }
|
|
sp-core = { path = "../../../substrate/primitives/core" }
|
|
sp-tracing = { path = "../../../substrate/primitives/tracing" }
|
|
xcm = { package = "staging-xcm", path = ".." }
|
|
# temp
|
|
pallet-xcm = { path = "../pallet-xcm" }
|
|
polkadot-runtime-common = { path = "../../runtime/common" }
|
|
# westend-runtime = { path = "../../runtime/westend", features = ["runtime-benchmarks"] }
|
|
polkadot-primitives = { path = "../../primitives" }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"codec/std",
|
|
"frame-benchmarking/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"log/std",
|
|
"scale-info/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"xcm-builder/std",
|
|
"xcm-executor/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-assets/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-xcm/runtime-benchmarks",
|
|
"polkadot-primitives/runtime-benchmarks",
|
|
"polkadot-runtime-common/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"xcm-builder/runtime-benchmarks",
|
|
"xcm-executor/runtime-benchmarks",
|
|
]
|