This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Make authoring logic time independent #216
Labels
E5-needs_substrate_pr
This is an issue that needs to be implemented upstream in Substrate.
Currently all authoring logic in Substrate assumes that we use milliseconds since the Unix epoch. We need to remove this requirement on milliseconds from the authoring logic of Aura/Babe. In case of a parachain we will want to use the relay chain block height as "time source". This is required, because we otherwise can not check the "time" when validating a block of a parachain on the relay chain.
I propose that we start with
Aura
as this is much simpler thanBabe
.Implementation
Aura
/Babe
(while this can come later, depending on the complexity) to this new trait.Required by
Aura for parachains: #115
Babe for parachains: #116
The text was updated successfully, but these errors were encountered: