[package] name = "polkadot-test-malus" description = "Misbehaving nodes for local testnets, system and Simnet tests." version = "1.0.0" authors.workspace = true edition.workspace = true license.workspace = true readme = "README.md" publish = false [lints] workspace = true [[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", "westend-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.79" sp-keystore = { path = "../../../substrate/primitives/keystore" } sp-core = { path = "../../../substrate/primitives/core" } clap = { version = "4.5.3", features = ["derive"] } futures = "0.3.30" 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" } 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 = { path = "../../../substrate/primitives/core" } futures = { version = "0.3.30", features = ["thread-pool"] } [build-dependencies] substrate-build-script-utils = { path = "../../../substrate/utils/build-script-utils" } [features] default = [] fast-runtime = ["polkadot-cli/fast-runtime"]