Skip to content
Commit d6f06bf5 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Adds support for checking the timestamp inherent while validating a block (#494)



* Adds support for checking the timestamp inherent while validating a block

This adds support for checking the timestamp inherent while validating a
block. This will use the relay chain slot number * relay chain slot
duration to calculate a timestamp. This timestamp is used to check the
timestamp in the timestamp inherent.

* Update polkadot-parachains/rococo-runtime/src/lib.rs

Co-authored-by: default avatarShawn Tabrizi <[email protected]>

* Update polkadot-parachains/statemine-runtime/src/lib.rs

Co-authored-by: default avatarShawn Tabrizi <[email protected]>

* Update primitives/timestamp/src/lib.rs

Co-authored-by: default avatarAndré Silva <[email protected]>

* Fix warnings

Co-authored-by: default avatarShawn Tabrizi <[email protected]>
Co-authored-by: default avatarAndré Silva <[email protected]>
parent 80b739d8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment