Skip to content

staking: do not remove an invulnerable in case of bad solution - #10454

Merged
sigurpol merged 3 commits into
masterfrom
sigurpol-do-not-remove-invulnerables-bad-solution
Nov 28, 2025
Merged

staking: do not remove an invulnerable in case of bad solution#10454
sigurpol merged 3 commits into
masterfrom
sigurpol-do-not-remove-invulnerables-bad-solution

Conversation

@sigurpol

@sigurpol sigurpol commented Nov 28, 2025

Copy link
Copy Markdown
Contributor

Invulnerables are not automatically removed from the Invulnerables storage when their solution is rejected.
Removal should occur only through governance, not automatically.
An operational or network issue that leads to an incomplete submission is much more likely than a bad faith action from an invulnerable.

Close https://github.com/paritytech-secops/srlabs_findings/issues/602.

Invulnerables are not automatically removed from the Invulnerables
storage when their solution is rejected.
Removal should only happen through governance, not automatically.
We consider an operational or network issue much more likely than
a bad faith action from an invulnerable.
@sigurpol
sigurpol requested a review from a team as a code owner November 28, 2025 09:01
@sigurpol

Copy link
Copy Markdown
Contributor Author

/cmd prdoc --audience runtime_dev --bump patch

@sigurpol sigurpol added the T2-pallets This PR/Issue is related to a particular pallet. label Nov 28, 2025
@sigurpol
sigurpol added this pull request to the merge queue Nov 28, 2025
Merged via the queue into master with commit 142ceec Nov 28, 2025
251 of 256 checks passed
@sigurpol
sigurpol deleted the sigurpol-do-not-remove-invulnerables-bad-solution branch November 28, 2025 16:00
bee344 pushed a commit that referenced this pull request Dec 2, 2025
Invulnerables are not automatically removed from the Invulnerables
storage when their solution is rejected.
Removal should occur only through governance, not automatically. 
An operational or network issue that leads to an incomplete submission
is much more likely than a bad faith action from an invulnerable.

Close https://github.com/paritytech-secops/srlabs_findings/issues/602.

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@Polkadot-Forum

Copy link
Copy Markdown

This pull request has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/2026-06-30-staking-election-stall-postmortem/18077/1

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

Labels

T2-pallets This PR/Issue is related to a particular pallet.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants