Skip to content

Collation Generation - ready for old relay parents#11456

Open
eskimor wants to merge 4 commits intomasterfrom
rk-low-latency-collation-generation
Open

Collation Generation - ready for old relay parents#11456
eskimor wants to merge 4 commits intomasterfrom
rk-low-latency-collation-generation

Conversation

@eskimor
Copy link
Member

@eskimor eskimor commented Mar 20, 2026

@iulianbarbu Haven't checked. Let me know if this is conflicting with any changes already done.

Fixes: #11423

@eskimor eskimor added the T20-low-latency for issues and PRs related to Low Latency work label Mar 20, 2026
@eskimor eskimor changed the title Validator <-> Collator: Prep for old relay parents Collation Generation - ready for old relay parents Mar 20, 2026
@eskimor eskimor added T0-node This PR/Issue is related to the topic “node”. T8-polkadot This PR/Issue is related to/affects the Polkadot network. labels Mar 20, 2026
@alindima alindima self-requested a review March 23, 2026 10:57
Copy link
Contributor

@iulianbarbu iulianbarbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I don't like the fact we expect in a hidden way in the constructor.. ideally we should make it a bit more obvious to protect against misuse, but I am also fine keeping it simple for now.

Comment on lines +17 to +18
The `parent_head` field is removed from `SubmitCollationParams` — callers should set
`validation_data.parent_head` directly instead.
Copy link
Contributor

@iulianbarbu iulianbarbu Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already done in the block builder. Not sure though why it was important to modify validation_data.parent_head to the extra parent_head from SubmitCollationParams after requesting the persisted validation data from the runtime (in collation-generation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T0-node This PR/Issue is related to the topic “node”. T8-polkadot This PR/Issue is related to/affects the Polkadot network. T20-low-latency for issues and PRs related to Low Latency work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix collation generation relay parent usage

2 participants