mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-10 04:07:59 +00:00
4eabe5e0dd
follow up of https://github.com/paritytech/polkadot-sdk/pull/2604 closes https://github.com/paritytech/polkadot-sdk/pull/2604 - [x] take relevant changes from Marcin's PR - [x] extract common duplicate code for workers (low-hanging fruits) ~Some unpassed ci problems are more general and should be fixed in master (see https://github.com/paritytech/polkadot-sdk/pull/4074)~ Proposed labels: **T0-node**, **R0-silent**, **I4-refactor** ----- kusama address: FZXVQLqLbFV2otNXs6BMnNch54CFJ1idpWwjMb3Z8fTLQC6 --------- Co-authored-by: s0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com>
82 lines
2.7 KiB
TOML
82 lines
2.7 KiB
TOML
[package]
|
|
name = "polkadot-node-core-pvf"
|
|
description = "Polkadot crate that implements the PVF validation host. Responsible for coordinating preparation and execution of PVFs."
|
|
version = "7.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
always-assert = "0.1"
|
|
array-bytes = "6.1"
|
|
blake3 = "1.5"
|
|
cfg-if = "1.0"
|
|
futures = "0.3.30"
|
|
futures-timer = "3.0.2"
|
|
gum = { package = "tracing-gum", path = "../../gum" }
|
|
is_executable = { version = "1.0.1", optional = true }
|
|
pin-project = "1.0.9"
|
|
rand = "0.8.5"
|
|
slotmap = "1.0"
|
|
tempfile = "3.3.0"
|
|
thiserror = { workspace = true }
|
|
tokio = { version = "1.24.2", features = ["fs", "process"] }
|
|
|
|
parity-scale-codec = { version = "3.6.1", default-features = false, features = [
|
|
"derive",
|
|
] }
|
|
|
|
polkadot-parachain-primitives = { path = "../../../parachain" }
|
|
polkadot-core-primitives = { path = "../../../core-primitives" }
|
|
polkadot-node-core-pvf-common = { path = "common" }
|
|
polkadot-node-metrics = { path = "../../metrics" }
|
|
polkadot-node-primitives = { path = "../../primitives" }
|
|
polkadot-node-subsystem = { path = "../../subsystem" }
|
|
polkadot-primitives = { path = "../../../primitives" }
|
|
|
|
sp-core = { path = "../../../../substrate/primitives/core" }
|
|
sp-maybe-compressed-blob = { path = "../../../../substrate/primitives/maybe-compressed-blob", optional = true }
|
|
polkadot-node-core-pvf-prepare-worker = { path = "prepare-worker", optional = true }
|
|
polkadot-node-core-pvf-execute-worker = { path = "execute-worker", optional = true }
|
|
|
|
[dev-dependencies]
|
|
assert_matches = "1.4.0"
|
|
criterion = { version = "0.4.0", default-features = false, features = [
|
|
"async_tokio",
|
|
"cargo_bench_support",
|
|
] }
|
|
hex-literal = "0.4.1"
|
|
|
|
polkadot-node-core-pvf-common = { path = "common", features = ["test-utils"] }
|
|
# For benches and integration tests, depend on ourselves with the test-utils
|
|
# feature.
|
|
polkadot-node-core-pvf = { path = "", features = ["test-utils"] }
|
|
rococo-runtime = { path = "../../../runtime/rococo" }
|
|
|
|
adder = { package = "test-parachain-adder", path = "../../../parachain/test-parachains/adder" }
|
|
halt = { package = "test-parachain-halt", path = "../../../parachain/test-parachains/halt" }
|
|
|
|
[target.'cfg(target_os = "linux")'.dev-dependencies]
|
|
libc = "0.2.153"
|
|
procfs = "0.16.0"
|
|
rusty-fork = "0.3.0"
|
|
sc-sysinfo = { path = "../../../../substrate/client/sysinfo" }
|
|
|
|
[[bench]]
|
|
name = "host_prepare_rococo_runtime"
|
|
harness = false
|
|
|
|
[features]
|
|
ci-only-tests = []
|
|
jemalloc-allocator = ["polkadot-node-core-pvf-common/jemalloc-allocator"]
|
|
# This feature is used to export test code to other crates without putting it in the production build.
|
|
test-utils = [
|
|
"dep:is_executable",
|
|
"dep:polkadot-node-core-pvf-execute-worker",
|
|
"dep:polkadot-node-core-pvf-prepare-worker",
|
|
"dep:sp-maybe-compressed-blob",
|
|
]
|