Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

alindima
Copy link
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 eskimor and bkchr July 26, 2024 14:47
@bkchr bkchr merged commit 778e9d1 into release-polkadot-v1.14.0 Jul 26, 2024
158 of 169 checks passed
@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