mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-25 21:11:07 +00:00
55b4aceb99
* Check spawned worker version vs node version before PVF preparation * Address discussions * Propagate errors and shutdown preparation and execution pipelines properly * Add logs; Fix execution worker checks * Revert "Propagate errors and shutdown preparation and execution pipelines properly" This reverts commit b96cc3160ff58db5ff001d8ca0bfea9bd4bdd0f2. * Don't try to shut down; report the condition and exit worker * Get rid of `VersionMismatch` preparation error * Merge master * Add docs; Fix tests * Update Cargo.lock * Kill again, but only the main node process * Move unsafe code to a common safe function * Fix libc dependency error on MacOS * pvf spawning: Add some logging, add a small integration test * Minor fixes * Restart CI --------- Co-authored-by: Marcin S <marcin@realemail.net>
59 lines
2.2 KiB
TOML
59 lines
2.2 KiB
TOML
[package]
|
|
name = "polkadot-node-core-pvf"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
|
|
[[bin]]
|
|
name = "puppet_worker"
|
|
path = "bin/puppet_worker.rs"
|
|
|
|
[dependencies]
|
|
always-assert = "0.1"
|
|
assert_matches = "1.4.0"
|
|
cpu-time = "1.0.0"
|
|
futures = "0.3.21"
|
|
futures-timer = "3.0.2"
|
|
gum = { package = "tracing-gum", path = "../../gum" }
|
|
libc = "0.2.139"
|
|
pin-project = "1.0.9"
|
|
rand = "0.8.5"
|
|
rayon = "1.5.1"
|
|
slotmap = "1.0"
|
|
tempfile = "3.3.0"
|
|
tikv-jemalloc-ctl = { version = "0.5.0", optional = true }
|
|
tokio = { version = "1.24.2", features = ["fs", "process"] }
|
|
|
|
parity-scale-codec = { version = "3.4.0", default-features = false, features = ["derive"] }
|
|
|
|
polkadot-parachain = { path = "../../../parachain" }
|
|
polkadot-core-primitives = { path = "../../../core-primitives" }
|
|
polkadot-node-metrics = { path = "../../metrics" }
|
|
polkadot-node-primitives = { path = "../../primitives" }
|
|
|
|
polkadot-primitives = { path = "../../../primitives" }
|
|
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-executor-wasmtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-executor-common = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
[build-dependencies]
|
|
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
tikv-jemalloc-ctl = "0.5.0"
|
|
|
|
[dev-dependencies]
|
|
adder = { package = "test-parachain-adder", path = "../../../parachain/test-parachains/adder" }
|
|
halt = { package = "test-parachain-halt", path = "../../../parachain/test-parachains/halt" }
|
|
hex-literal = "0.3.4"
|
|
tempfile = "3.3.0"
|
|
|
|
[features]
|
|
jemalloc-allocator = ["dep:tikv-jemalloc-ctl"]
|