Skip to content
Snippets Groups Projects
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 <123550+andresilva@users.noreply.github.com>

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

Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>

* Fix test

Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
parent e6781f08
No related merge requests found
Showing
with 99 additions and 10 deletions
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