mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-10 05:17:59 +00:00
d4ad8d5e74
* pvf: use test-utils feature to export test only * adding comment to test-utils feature * make prepare-worker and execute-worker as optional dependencies and add comments to test-utils * remove doc hidden from pvf testing * add prepare worker and execute worker entrypoints to test-utils feature * pvf: add sp_tracing as optional dependency of test-utils * add test-utils for polkadot and malus * add test-utils feature to prepare and execute workers script * remove required features from prepare and executing * Try to trigger CI again to fix broken jobs --------- Co-authored-by: Marcin S <marcin@realemail.net>
66 lines
2.6 KiB
TOML
66 lines
2.6 KiB
TOML
[package]
|
|
name = "polkadot-test-malus"
|
|
description = "Misbehaving nodes for local testnets, system and Simnet tests."
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "malus"
|
|
path = "src/malus.rs"
|
|
|
|
# Use artifact dependencies once stable.
|
|
# See https://github.com/rust-lang/cargo/issues/9096.
|
|
[[bin]]
|
|
name = "polkadot-execute-worker"
|
|
path = "../../src/bin/execute-worker.rs"
|
|
# Prevent rustdoc error. Already documented from top-level Cargo.toml.
|
|
doc = false
|
|
[[bin]]
|
|
name = "polkadot-prepare-worker"
|
|
path = "../../src/bin/prepare-worker.rs"
|
|
# Prevent rustdoc error. Already documented from top-level Cargo.toml.
|
|
doc = false
|
|
|
|
[dependencies]
|
|
polkadot-cli = { path = "../../cli", features = [ "malus", "rococo-native", "kusama-native", "westend-native", "polkadot-native" ] }
|
|
polkadot-node-subsystem = { path = "../subsystem" }
|
|
polkadot-node-subsystem-util = { path = "../subsystem-util" }
|
|
polkadot-node-subsystem-types = { path = "../subsystem-types" }
|
|
polkadot-node-core-dispute-coordinator = { path = "../core/dispute-coordinator" }
|
|
polkadot-node-core-candidate-validation = { path = "../core/candidate-validation" }
|
|
polkadot-node-core-backing = { path = "../core/backing" }
|
|
polkadot-node-primitives = { path = "../primitives" }
|
|
polkadot-primitives = { path = "../../primitives" }
|
|
color-eyre = { version = "0.6.1", default-features = false }
|
|
assert_matches = "1.5"
|
|
async-trait = "0.1.57"
|
|
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
clap = { version = "4.0.9", features = ["derive"] }
|
|
futures = "0.3.21"
|
|
futures-timer = "3.0.2"
|
|
gum = { package = "tracing-gum", path = "../gum/" }
|
|
erasure = { package = "polkadot-erasure-coding", path = "../../erasure-coding" }
|
|
rand = "0.8.5"
|
|
|
|
# Required for worker binaries to build.
|
|
polkadot-node-core-pvf-common = { path = "../core/pvf/common", features = ["test-utils"] }
|
|
polkadot-node-core-pvf-execute-worker = { path = "../core/pvf/execute-worker" }
|
|
polkadot-node-core-pvf-prepare-worker = { path = "../core/pvf/prepare-worker" }
|
|
|
|
[dev-dependencies]
|
|
polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" }
|
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
futures = { version = "0.3.21", features = ["thread-pool"] }
|
|
|
|
[build-dependencies]
|
|
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
[features]
|
|
default = []
|
|
fast-runtime = ["polkadot-cli/fast-runtime"]
|