Skip to content

Commit

Permalink
Revert "Modify grandpa voting rule by increasing BeforeBestBlockBy
Browse files Browse the repository at this point in the history
…to 7 (#1105)"

This reverts commit f5bccf0.
  • Loading branch information
dmitrylavrenov committed Jul 31, 2024
1 parent 7b20581 commit 031b83e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/humanode-peer/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,7 @@ pub async fn new_full(config: Configuration) -> Result<TaskManager, ServiceError
link: grandpa_link,
network: Arc::clone(&network),
sync: Arc::clone(&sync_service),
voting_rule: sc_consensus_grandpa::VotingRulesBuilder::new()
.add(sc_consensus_grandpa::BeforeBestBlockBy(7u32))
.add(sc_consensus_grandpa::ThreeQuartersOfTheUnfinalizedChain)
.build(),
voting_rule: sc_consensus_grandpa::VotingRulesBuilder::default().build(),
prometheus_registry,
shared_voter_state: grandpa_shared_voter_state_cloned,
telemetry: telemetry.as_ref().map(|x| x.handle()),
Expand Down

0 comments on commit 031b83e

Please sign in to comment.