Skip to content

Commit a317f15

Browse files
AndreiEresggwpezjasl
authored andcommitted
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Jun Jiang <jasl9187@hotmail.com>
1 parent cee0ef6 commit a317f15

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

polkadot/node/service/src/overseer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ where
284284
keystore.clone(),
285285
Metrics::register(registry)?,
286286
))
287-
.candidate_validation(CandidateValidationSubsystem::with_config(
287+
.candidate_validation(CandidateValidationSubsystem::with_config_and_keystore(
288288
candidate_validation_config,
289289
keystore.clone(),
290290
Metrics::register(registry)?, // candidate-validation metrics

prdoc/pr_5247.prdoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
2+
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
3+
4+
title: Prepare PVFs if node is a validator in the next session
5+
6+
doc:
7+
- audience: Node Operator
8+
description: |
9+
- On every active leaf candidate-validation subsystem checks if the node is the next session authority.
10+
- If it is, it fetches backed candidates and prepares unknown PVFs.
11+
- Number of PVF preparations per block is limited to not overload subsystem.
12+
13+
crates:
14+
- name: polkadot
15+
bump: patch
16+
- name: polkadot-service
17+
bump: patch
18+
- name: polkadot-node-core-candidate-validation
19+
bump: minor

0 commit comments

Comments
 (0)