Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Fix solo to para custom header return #882

Merged
merged 2 commits into from
Jan 3, 2022

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Jan 2, 2022

#825 brought support for returning a custom header as part of the validation phase. This was tested only in isolation, aka not in a integration test. While testing it, we found out that we missed to also handle the client side correctly when there is a custom header to be returned. To be more precise, we need to return the new custom header also as part of the collation because otherwise the validation fails on the relay chain. This pr fixes this by adding an integration test and then it follows on what was outlined in #881

Fixes: #881

@bkchr bkchr added A0-pleasereview B0-silent Changes should not be mentioned in any release notes labels Jan 2, 2022
@bkchr bkchr requested review from skunert and NachoPal January 2, 2022 20:39
Copy link
Contributor

@skunert skunert 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!

@bkchr bkchr merged commit 2f9e97c into master Jan 3, 2022
@bkchr bkchr deleted the bkchr-fix-solo-to-parachain-migration branch January 3, 2022 19:14
HCastano added a commit to paritytech/canvas that referenced this pull request Jan 8, 2022
cmichi pushed a commit to paritytech/canvas that referenced this pull request Jan 10, 2022
* Bump Cumulus, Polkadot, and Substrate

Also bumps some other depenencies

* Remove duplicate `polkadot` dependency

* Update `service.rs`

Changes related to: paritytech/cumulus#835

* Update `command.rs`

* Add `AddressGenerator` config type

From: paritytech/substrate#10521

* Allow Root to execute overweight XCMP messages

From: paritytech/cumulus#799

* Add `header` argument to `collect_collation_info`

From: paritytech/cumulus#882

* Update Cumulus and friends again

* Add Fork ID to genesis config

paritytech/cumulus#870

* Add `state_version` field

paritytech/substrate#9732

* Add `MaxConsumers` config parameter

paritytech/substrate#10382

* Update Substrate compatibility note in README
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B0-silent Changes should not be mentioned in any release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support returning custom header on the client side as well
2 participants