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

Companion PR for Substrate #7186 #1816

Merged
10 commits merged into from
Nov 11, 2020
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "mas
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
Expand Down
3 changes: 3 additions & 0 deletions node/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,8 @@ pub fn new_full<RuntimeApi, Executor>(
{
let role = config.role.clone();
let force_authoring = config.force_authoring;
let backoff_authoring_blocks =
Some(sc_consensus_slots::SimpleBackoffAuthoringBlocksStrategy::default());
let disable_grandpa = config.disable_grandpa;
let name = config.network.node_name.clone();

Expand Down Expand Up @@ -656,6 +658,7 @@ pub fn new_full<RuntimeApi, Executor>(
sync_oracle: network.clone(),
inherent_data_providers: inherent_data_providers.clone(),
force_authoring,
backoff_authoring_blocks,
babe_link,
can_author_with,
};
Expand Down