Companion for substrate#10878 (#4940)

* Companion for substrate#10878

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
André Silva
2022-02-22 21:52:31 +00:00
committed by GitHub
parent fc2ddae965
commit 4ff40eb562
2 changed files with 168 additions and 166 deletions
+165 -163
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -418,7 +418,7 @@ fn new_partial<RuntimeApi, ExecutorDispatch, ChainSelection>(
(BeefySignedCommitmentSender<Block>, BeefyBestBlockSender<Block>),
),
grandpa::SharedVoterState,
std::time::Duration, // slot-duration
sp_consensus_babe::SlotDuration,
Option<Telemetry>,
),
>,
@@ -473,7 +473,7 @@ where
let timestamp = sp_timestamp::InherentDataProvider::from_system_time();
let slot =
sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_duration(
sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration(
*timestamp,
slot_duration,
);
@@ -1071,7 +1071,7 @@ where
let timestamp = sp_timestamp::InherentDataProvider::from_system_time();
let slot =
sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_duration(
sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration(
*timestamp,
slot_duration,
);