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

remove hardcoded scheduled GRANDPA pause #911

Merged
merged 1 commit into from
Mar 18, 2020
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
4 changes: 0 additions & 4 deletions service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,6 @@ pub fn new_full<Runtime, Dispatch, Extrinsic>(
// add a custom voting rule to temporarily stop voting for new blocks
// after the given pause block is finalized and restarting after the
// given delay.

// temporarily hardcode a GRANDPA pause for the upcoming runtime upgrade
let grandpa_pause = grandpa_pause.or(Some((1491586, 6000)));

let voting_rule = match grandpa_pause {
bkchr marked this conversation as resolved.
Show resolved Hide resolved
Some((block, delay)) => {
info!("GRANDPA scheduled voting pause set for block #{} with a duration of {} blocks.",
Expand Down