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

cumulus: ParachainBlockData support multiple blocks #6137

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Oct 18, 2024

This pull request adds support to ParachainBlockData to support multiple blocks at once. This basically means that cumulus based Parachains could start packaging multiple blocks into one PoV. From the relay chain POV nothing changes and these PoVs appear like any other PoV. Internally this PoV then executes the blocks sequentially. However, all these blocks together can use the same amount of resources like a single PoV. This pull request is basically a preparation to support running parachains with a faster block time than the relay chain.

This breaks the encoding of ParachainBlockData. It requires that the collators upgrade first before the runtime requiring the new ParachainBlockData is enacted. The collators will decide based on the api version of CollectCollationInfo, which ParachainBlockData format they will send to the relay chain so that the validation code can interpret it correctly.

@bkchr bkchr added the T9-cumulus This PR/Issue is related to cumulus. label Oct 18, 2024
@bkchr bkchr requested a review from skunert October 18, 2024 22:35
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.

1 participant