Use higher priority for PVF preparation in dispute/approval context (#4172)
Related to https://github.com/paritytech/polkadot-sdk/issues/4126
discussion
Currently all preparations have same priority and this is not ideal in
all cases. This change should improve the finality time in the context
of on-demand parachains and when `ExecutorParams` are updated on-chain
and a rebuild of all artifacts is required. The desired effect is to
speed up approval and dispute PVF executions which require preparation
and delay backing executions which require preparation.
---------
Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io>
parent
4f125d19
Pipeline
#467210
canceled
with stages
in
7 minutes and 50 seconds
Stage:
Stage:
Stage:
Stage:
Stage:
Stage:
Stage:
Showing
- polkadot/node/core/candidate-validation/src/lib.rs 30 additions, 10 deletionspolkadot/node/core/candidate-validation/src/lib.rs
- polkadot/node/core/candidate-validation/src/tests.rs 2 additions, 0 deletionspolkadot/node/core/candidate-validation/src/tests.rs
- polkadot/node/core/pvf/src/host.rs 1 addition, 1 deletionpolkadot/node/core/pvf/src/host.rs
- polkadot/node/core/pvf/src/priority.rs 4 additions, 3 deletionspolkadot/node/core/pvf/src/priority.rs
Please register or sign in to comment