Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
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
Prev Previous commit
Disable pvf checker for non-authorities
  • Loading branch information
slumber committed Sep 7, 2022
commit 721b2903ccb72eadd4a0a05647f2922f26806f04
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();
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