mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-08 03:41:07 +00:00
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:
1 parent
5045aeb2f9
commit
fa2a7d1efa
2 files changed
+174
-175
No files matched your search
Generated
+172
-173
File diff suppressed because it is too large.
Load diff
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user