pvf-precheck: PVF pre-checker subsystem (#4643)

This commit implements the last major piece of #3211: the subsystem that
tracks PVFs that require voting, issues pre-check requests to
candidate-validation and makes sure that the votes are submitted to the
chain.
This commit is contained in:
Sergei Shulepov
2022-01-07 19:10:23 +01:00
committed by GitHub
parent db790e967f
commit d752f8664a
16 changed files with 1829 additions and 7 deletions
+3
View File
@@ -732,6 +732,8 @@ where
chain_spec.is_versi() ||
chain_spec.is_wococo();
let pvf_checker_enabled = !is_collator.is_collator() && chain_spec.is_versi();
let select_chain = if requires_overseer_for_chain_sel {
let metrics =
polkadot_node_subsystem_util::metrics::Metrics::register(prometheus_registry.as_ref())?;
@@ -979,6 +981,7 @@ where
chain_selection_config,
dispute_coordinator_config,
disputes_enabled,
pvf_checker_enabled,
},
)
.map_err(|e| {