Commit 2ddfe5ed authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Ensure relay chain block number strictly increases (#1280)



* Ensure relay chain block number strictly increases

This is a safeguard for when async backing is enabled on the relay chain and multiple parachain
blocks per relay chain block are legal. We will need to later change this to support then multiple
parachain blocks per relay chain block.

* Make the check configurable

* Fix compilation

* Update pallets/parachain-system/src/lib.rs

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

* Update pallets/parachain-system/src/lib.rs

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

* Fix test

Co-authored-by: default avatarAndré Silva <[email protected]>
parent e6781f08
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