mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 08:07:58 +00:00
1493fed1ed
We wanted to change niceness to accomodate the fact that some of the preparation tasks are low priority. For example, when a node sees that there is a new para was onboarded the node may start preparing right away. Since all other activities are more important, such as network I/O or validation of the backed candidates and preparation of the immediatelly needed PVFs. However, it turned out that this approach does not work: generally non-root processes can only decrease niceness and they cannot increase it to the previous value, as was assumed by the code. Apart from that, https://github.com/paritytech/polkadot/pull/4123 assumes all PVFs are prepared in the same way. Specifically, that if a PVF preparation failed before, then PVF pre-checking will also report that it was failed, even though it could happen that preparation failed due to being low-priority. In order to avoid such cases, we decided to simplify the whole preparation model. Preparation under low priority does not work well with that. Closes https://github.com/paritytech/polkadot/issues/4520
41 lines
1.7 KiB
TOML
41 lines
1.7 KiB
TOML
[package]
|
|
name = "polkadot-node-core-pvf"
|
|
version = "0.9.13"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[[bin]]
|
|
name = "puppet_worker"
|
|
path = "bin/puppet_worker.rs"
|
|
|
|
[dependencies]
|
|
always-assert = "0.1"
|
|
async-std = { version = "1.10.0", features = ["attributes"] }
|
|
async-process = "1.3.0"
|
|
assert_matches = "1.4.0"
|
|
futures = "0.3.17"
|
|
futures-timer = "3.0.2"
|
|
slotmap = "1.0"
|
|
tracing = "0.1.29"
|
|
pin-project = "1.0.8"
|
|
rand = "0.8.3"
|
|
parity-scale-codec = { version = "2.3.1", default-features = false, features = ["derive"] }
|
|
polkadot-parachain = { path = "../../../parachain" }
|
|
polkadot-core-primitives = { path = "../../../core-primitives" }
|
|
polkadot-node-subsystem-util = { path = "../../subsystem-util"}
|
|
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" }
|
|
|
|
[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.2.0"
|