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

Fix checking for the ParachainHost runtime api #4594

Merged
merged 1 commit into from
Dec 23, 2021

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Dec 23, 2021

The function has_api checks that the api + version matches, which
isn't true anymore after bumping the version. The fix is to just compare
the runtime api version being at least 1.

The function `has_api` checks that the api + version matches, which
isn't true anymore after bumping the version. The fix is to just compare
the runtime api version being at least `1`.
@bkchr bkchr added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Dec 23, 2021
@ordian
Copy link
Member

ordian commented Dec 23, 2021

Fixes #4584 when backported to older collators.

@bkchr bkchr added this to the v0.9.15 milestone Dec 23, 2021
@ordian ordian linked an issue Dec 23, 2021 that may be closed by this pull request
@ordian ordian added B1-releasenotes C3-medium PR touches the given topic and has a medium impact on builders. and removed B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Dec 23, 2021
@ordian
Copy link
Member

ordian commented Dec 23, 2021

Would be good to mention this in release notes to make sure validators and collators are aware they need to update the client fairly quickly.

@bkchr bkchr added C7-high ❗️ and removed C3-medium PR touches the given topic and has a medium impact on builders. labels Dec 23, 2021
@bkchr
Copy link
Member Author

bkchr commented Dec 23, 2021

Would be good to mention this in release notes to make sure validators and collators are aware they need to update the client fairly quickly.

Good point, but we should increase this to "High".

@bkchr bkchr merged commit 2a8a49e into master Dec 23, 2021
@bkchr bkchr deleted the bkchr-check-runtime-api-version branch December 23, 2021 19:27
drahnr pushed a commit that referenced this pull request Jan 4, 2022
The function `has_api` checks that the api + version matches, which
isn't true anymore after bumping the version. The fix is to just compare
the runtime api version being at least `1`.
@chevdor chevdor modified the milestones: v0.9.15, v0.9.16 Jan 11, 2022
Wizdave97 pushed a commit to ComposableFi/polkadot that referenced this pull request Feb 3, 2022
The function `has_api` checks that the api + version matches, which
isn't true anymore after bumping the version. The fix is to just compare
the runtime api version being at least `1`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

polkadot-launch test doesn't work
3 participants