Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

pvf-checker: enable subsystem on all chains #5977

Merged
merged 2 commits into from
Sep 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion node/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ where
let auth_or_collator = role.is_authority() || is_collator.is_collator();
let requires_overseer_for_chain_sel = local_keystore.is_some() && auth_or_collator;

let pvf_checker_enabled = !is_collator.is_collator() && chain_spec.is_versi();
let pvf_checker_enabled = role.is_authority() && !is_collator.is_collator();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to submit votes a node is required to be an active validator, enabling it otherwise will unnecessarily poll runtime at each activation.


let select_chain = if requires_overseer_for_chain_sel {
let metrics =
Expand Down