Companion - Independence of Slot-based algorithms from Timestamp (#5997)

* Companion for substrate #12224

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Davide Galassi
2022-09-23 20:32:04 +02:00
committed by GitHub
parent 5045aeb2f9
commit fa2a7d1efa
2 changed files with 174 additions and 175 deletions
+172 -173
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -541,7 +541,7 @@ where
slot_duration, slot_duration,
); );
Ok((timestamp, slot)) Ok((slot, timestamp))
}, },
&task_manager.spawn_essential_handle(), &task_manager.spawn_essential_handle(),
config.prometheus_registry(), config.prometheus_registry(),
@@ -1152,7 +1152,7 @@ where
slot_duration, slot_duration,
); );
Ok((timestamp, slot, parachain)) Ok((slot, timestamp, parachain))
} }
}, },
force_authoring, force_authoring,