Substrate companion for fetching slot duration (#864)

* Substrate companion for fetching slot duration

https://github.com/paritytech/substrate/pull/10509

* update lockfile for substrate

* Update

Co-authored-by: parity-processbot <>
This commit is contained in:
Bastian Köcher
2021-12-21 00:46:45 +01:00
committed by GitHub
parent d791840446
commit f0b1e7484e
2 changed files with 443 additions and 419 deletions
Generated
+442 -418
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -276,7 +276,7 @@ where
{
let pov_recovery = cumulus_client_pov_recovery::PoVRecovery::new(
self.overseer_handle,
sc_consensus_babe::Config::get_or_compute(&*client)?.slot_duration(),
sc_consensus_babe::Config::get(&*client)?.slot_duration(),
self.client,
self.import_queue,
client,