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

lookahead collator: only build on top of scheduled relay parents #1429

Merged
merged 4 commits into from
Sep 12, 2023

Conversation

slumber
Copy link
Contributor

@slumber slumber commented Sep 6, 2023

Partially addresses #1400

if the parachain is not scheduled
@slumber slumber added the T9-cumulus This PR/Issue is related to cumulus. label Sep 6, 2023
@slumber slumber requested review from rphmeier and sandreim September 6, 2023 14:47
@sandreim
Copy link
Contributor

sandreim commented Sep 7, 2023

With async backing enabled, no candidates are backed with this PR and latest Westend(master) runtime.

@sandreim
Copy link
Contributor

sandreim commented Sep 7, 2023

With async backing enabled, no candidates are backed with this PR and latest Westend(master) runtime.

Actually I haven't built it with network-protocol-staging and that explains the issue.

@paritytech-ci paritytech-ci requested review from a team September 7, 2023 12:08
@sandreim
Copy link
Contributor

sandreim commented Sep 7, 2023

Looks good on Versi!

@rphmeier
Copy link
Contributor

rphmeier commented Sep 8, 2023

The lookahead collator should only build on chains where all in-scope and off-chain blocks are built on allowed relay-parents.

This PR only does half of the issue.
It changes collators not to build on disallowed relay-parents, but collators will still build on top of blocks which had disallowed relay parents. The parent search would need to be altered in order to fix this.

I'm OK with merging as-is, since an entirely-honest collator set would have no issues. But we should leave #1400 open

@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-clippy
Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3659191

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T9-cumulus This PR/Issue is related to cumulus.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants