Pvf refactor execute worker errors follow up (#4071)
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>
parent
eba3deca
Showing
- Cargo.lock 2 additions, 4 deletionsCargo.lock
- polkadot/node/core/pvf/Cargo.toml 14 additions, 8 deletionspolkadot/node/core/pvf/Cargo.toml
- polkadot/node/core/pvf/common/Cargo.toml 4 additions, 3 deletionspolkadot/node/core/pvf/common/Cargo.toml
- polkadot/node/core/pvf/common/src/error.rs 3 additions, 0 deletionspolkadot/node/core/pvf/common/src/error.rs
- polkadot/node/core/pvf/common/src/execute.rs 20 additions, 16 deletionspolkadot/node/core/pvf/common/src/execute.rs
- polkadot/node/core/pvf/common/src/lib.rs 1 addition, 0 deletionspolkadot/node/core/pvf/common/src/lib.rs
- polkadot/node/core/pvf/common/src/pvf.rs 1 addition, 6 deletionspolkadot/node/core/pvf/common/src/pvf.rs
- polkadot/node/core/pvf/common/src/worker/mod.rs 80 additions, 4 deletionspolkadot/node/core/pvf/common/src/worker/mod.rs
- polkadot/node/core/pvf/execute-worker/src/lib.rs 85 additions, 95 deletionspolkadot/node/core/pvf/execute-worker/src/lib.rs
- polkadot/node/core/pvf/prepare-worker/src/lib.rs 8 additions, 43 deletionspolkadot/node/core/pvf/prepare-worker/src/lib.rs
- polkadot/node/core/pvf/src/execute/queue.rs 39 additions, 16 deletionspolkadot/node/core/pvf/src/execute/queue.rs
- polkadot/node/core/pvf/src/execute/worker_interface.rs 75 additions, 88 deletionspolkadot/node/core/pvf/src/execute/worker_interface.rs
- polkadot/node/core/pvf/src/host.rs 1 addition, 4 deletionspolkadot/node/core/pvf/src/host.rs
Please register or sign in to comment