PVF host prechecking support v2 (#4123)
* pvf host: store only compiled artifacts on disk
* Correctly handle failed artifacts
* Serialize result of PVF preparation uniquely
* Set the artifact state depending on the result
* Return the result of PVF preparation directly
* Move PrepareError to the error module
* Update doc comments
* Update misleading comment
* pvf host: turn off parallel compilation
* pvf host: implement precheck requests
* Fix warnings
* Unnecessary clone
* Add a note about timed out outcome
* Revert the pool outcome handling behavior
* Move the prepare result type into error mod
* Test prepare done
* fmt
* Add an explanation to wasmtime config
* Split pvf host test
* Add precheck to dictionary
Co-authored-by:
Sergei Shulepov <sergei@parity.io>
Showing
- polkadot/node/core/pvf/src/artifacts.rs 11 additions, 4 deletionspolkadot/node/core/pvf/src/artifacts.rs
- polkadot/node/core/pvf/src/error.rs 7 additions, 1 deletionpolkadot/node/core/pvf/src/error.rs
- polkadot/node/core/pvf/src/executor_intf.rs 7 additions, 1 deletionpolkadot/node/core/pvf/src/executor_intf.rs
- polkadot/node/core/pvf/src/host.rs 203 additions, 8 deletionspolkadot/node/core/pvf/src/host.rs
- polkadot/node/core/pvf/src/lib.rs 1 addition, 1 deletionpolkadot/node/core/pvf/src/lib.rs
- polkadot/node/core/pvf/src/prepare/pool.rs 16 additions, 2 deletionspolkadot/node/core/pvf/src/prepare/pool.rs
- polkadot/node/core/pvf/src/prepare/queue.rs 6 additions, 6 deletionspolkadot/node/core/pvf/src/prepare/queue.rs
- polkadot/node/core/pvf/src/prepare/worker.rs 58 additions, 59 deletionspolkadot/node/core/pvf/src/prepare/worker.rs
- polkadot/scripts/gitlab/lingua.dic 1 addition, 0 deletionspolkadot/scripts/gitlab/lingua.dic
Please register or sign in to comment