Skip to content

[v.1.14 backport]: runtime: make the candidate relay parent progression check more strict#5156

Merged
bkchr merged 1 commit intorelease-polkadot-v1.14.0from
alindima/backport-v1.14
Jul 26, 2024
Merged

[v.1.14 backport]: runtime: make the candidate relay parent progression check more strict#5156
bkchr merged 1 commit intorelease-polkadot-v1.14.0from
alindima/backport-v1.14

Conversation

@alindima
Copy link
Copy Markdown
Contributor

Backports #5113 on top of v1.14

#5113)

Previously, we were checking if the relay parent of a new candidate does
not move backwards from the latest included on-chain candidate. This was
fine prior to elastic scaling. We now need to also check that the relay
parent progresses from the latest pending availability candidate, as
well as check the progression within the candidate chain in the inherent
data.

Prospective-parachains is already doing this check but we should also
add it in the runtime
@alindima alindima added A3-backport Pull request is already reviewed well in another branch. I2-bug The node fails to follow expected behavior. T8-polkadot This PR/Issue is related to/affects the Polkadot network. labels Jul 26, 2024
@alindima alindima requested review from bkchr and eskimor July 26, 2024 14:47
@bkchr bkchr merged commit 778e9d1 into release-polkadot-v1.14.0 Jul 26, 2024
@bkchr bkchr deleted the alindima/backport-v1.14 branch July 26, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A3-backport Pull request is already reviewed well in another branch. I2-bug The node fails to follow expected behavior. T8-polkadot This PR/Issue is related to/affects the Polkadot network.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants