mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 10:07:56 +00:00
Substrate companion for change slot duration fetching (#4556)
* Substrate companion for change slot duration fetching https://github.com/paritytech/substrate/pull/10509 * Fix bridges * update lockfile for substrate Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+168
-169
File diff suppressed because it is too large
Load Diff
@@ -207,7 +207,7 @@ where
|
||||
)?;
|
||||
let justification_import = grandpa_block_import.clone();
|
||||
|
||||
let babe_config = sc_consensus_babe::Config::get_or_compute(&*client)?;
|
||||
let babe_config = sc_consensus_babe::Config::get(&*client)?;
|
||||
let (block_import, babe_link) =
|
||||
sc_consensus_babe::block_import(babe_config.clone(), grandpa_block_import, client.clone())?;
|
||||
|
||||
|
||||
@@ -457,7 +457,7 @@ where
|
||||
|
||||
let justification_import = grandpa_block_import.clone();
|
||||
|
||||
let babe_config = babe::Config::get_or_compute(&*client)?;
|
||||
let babe_config = babe::Config::get(&*client)?;
|
||||
let (block_import, babe_link) =
|
||||
babe::block_import(babe_config.clone(), grandpa_block_import, client.clone())?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user