Parachains runtime: properly filter backed candidate votes#9564
Merged
Conversation
eskimor
reviewed
Aug 27, 2025
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
tdimitrov
reviewed
Aug 27, 2025
tdimitrov
approved these changes
Aug 27, 2025
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
alexggh
approved these changes
Aug 27, 2025
Contributor
Author
|
/cmd prdoc generate --bump patch |
eskimor
approved these changes
Aug 27, 2025
paritytech-release-backport-bot Bot
pushed a commit
that referenced
this pull request
Aug 27, 2025
The `filter_backed_statements_from_disabled_validators` function does not properly map indices in the validator group to indices in the validity votes vec. This PR fixes that. TODO: - [x] add more tests - [x] PRDoc --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> (cherry picked from commit 3dfbdf4)
|
Successfully created backport PR for |
paritytech-release-backport-bot Bot
pushed a commit
that referenced
this pull request
Aug 27, 2025
The `filter_backed_statements_from_disabled_validators` function does not properly map indices in the validator group to indices in the validity votes vec. This PR fixes that. TODO: - [x] add more tests - [x] PRDoc --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> (cherry picked from commit 3dfbdf4)
|
Successfully created backport PR for |
paritytech-release-backport-bot Bot
pushed a commit
that referenced
this pull request
Aug 27, 2025
The `filter_backed_statements_from_disabled_validators` function does not properly map indices in the validator group to indices in the validity votes vec. This PR fixes that. TODO: - [x] add more tests - [x] PRDoc --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> (cherry picked from commit 3dfbdf4)
|
Successfully created backport PR for |
sandreim
added a commit
that referenced
this pull request
Aug 28, 2025
Backport #9564 into `unstable2507` from sandreim. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
EgorPopelyaev
pushed a commit
that referenced
this pull request
Aug 28, 2025
Backport #9564 into `stable2503` from sandreim. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This was referenced Aug 28, 2025
fellowship-merge-bot Bot
pushed a commit
to polkadot-fellows/runtimes
that referenced
this pull request
Aug 28, 2025
Release runtimes 1.7.1: - Bump `polkadot-runtime-parachains` to 21.0.1 (includes [#9564](paritytech/polkadot-sdk#9564)) - Updated CHANGELOG - Bumped runtime spec versions to `1_007_001` Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
fellowship-merge-bot Bot
pushed a commit
to polkadot-fellows/runtimes
that referenced
this pull request
Aug 29, 2025
This is release targeting only the Polkadot RC, so I am not bumping spec versions for anything else. Changes: - Bump `polkadot-runtime-parachains` to 19.2.1 (includes [#9564](paritytech/polkadot-sdk#9564)) - Updated CHANGELOG - Bumped Polkadot RC runtime spec versions to `1_006_002` I've also checked the diff of PRs since Polkdot-SDK `2503-7-rc1` @ [b9ac350](paritytech/polkadot-sdk@b9ac350) relevant to the minor/patch bumps for dependencies of `polkadot-runtime-parachains v19.2.1`: - frame-benchmarking v40.2.0 -> v40.2.1 - frame-system v40.1.0 -> v40.2.0 - pallet-balances v41.1.0 -> v41.1.1 - staging-xcm-executor v19.1.2 -> v19.1.3 There is no need to do any further changes (weights, migrations, etc) for this Polkadot RC release, but please review and double check. --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: Adrian Catangiu <adrian@parity.io>
EgorPopelyaev
added a commit
that referenced
this pull request
Sep 2, 2025
Backport #9564 into `stable2506` from sandreim. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Egor_P <egor@parity.io>
|
This pull request has been mentioned on Polkadot Forum. There might be relevant details there: https://forum.polkadot.network/t/2025-08-24-kusama-stall-postmortem/14729/1 |
ParthDesai
pushed a commit
to moondance-labs/polkadot-sdk
that referenced
this pull request
Sep 3, 2025
…h#9564) The `filter_backed_statements_from_disabled_validators` function does not properly map indices in the validator group to indices in the validity votes vec. This PR fixes that. TODO: - [x] add more tests - [x] PRDoc --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
ParthDesai
added a commit
to moondance-labs/polkadot-sdk
that referenced
this pull request
Sep 3, 2025
…h#9564) (#13) The `filter_backed_statements_from_disabled_validators` function does not properly map indices in the validator group to indices in the validity votes vec. This PR fixes that. TODO: - [x] add more tests - [x] PRDoc --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
ParthDesai
pushed a commit
to moondance-labs/polkadot-sdk
that referenced
this pull request
Sep 8, 2025
…h#9564) The `filter_backed_statements_from_disabled_validators` function does not properly map indices in the validator group to indices in the validity votes vec. This PR fixes that. TODO: - [x] add more tests - [x] PRDoc --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
alvicsam
pushed a commit
that referenced
this pull request
Oct 17, 2025
The `filter_backed_statements_from_disabled_validators` function does not properly map indices in the validator group to indices in the validity votes vec. This PR fixes that. TODO: - [x] add more tests - [x] PRDoc --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
filter_backed_statements_from_disabled_validatorsfunction does not properly map indices in the validator group to indices in the validity votes vec. This PR fixes that.TODO: