Skip to content

[unstable2507] Backport #10051#10062

Merged
kianenigma merged 1 commit into
unstable2507from
backport-10051-to-unstable2507
Oct 20, 2025
Merged

[unstable2507] Backport #10051#10062
kianenigma merged 1 commit into
unstable2507from
backport-10051-to-unstable2507

Conversation

@paritytech-release-backport-bot

Copy link
Copy Markdown

Backport #10051 into unstable2507 from kianenigma.

See the documentation on how to use this bot.

TLDR: Thanks to a number of reports from Kusama validator, we have been
investigating an issue where the self stake of some validators is not
present in `ErasStakersPaged` and `ErasStakersOverview`, and
consequently not earning staking rewards.

After investigation, it was clear that the `polkadot-staking-miner` is
doing the right thing, and the self-stake is indeed submitted to the
chain as a part of the staking election result.

The root cause in how `pallet-staking-async` ingests the staking
election result. This code **made a (wrong) assumption that self-stake
is only present in the first page of a multi-page election. This PR
fixes this issue.**

---

- [x] (nice to have) revisit try-state checks of the pallet,
`ErasStakersPaged`, `ErasStakersOverview` and `ErasTotalStake` are
triple checked for correctness
- [ ] (nice to have) fix related displays in PJS:
polkadot-js/apps#11930
- [ ] backport to 2507 and 2509
- Westend
- [ ] Find a similar issue in westend for monitoring
(paritytech/devops#4402)
  - [ ] Upgrade westend to a branch/release containing this fix
- [ ] Upgrade westend with this fix, observe test examples are resolved
- [ ] Bump backported version in `fellowship/runtimes`
- [ ] Release 1.9.3 for Kusama with this fix
- [ ] Ensure known test cases are fixed
- One example: `F2WyUUFXLYnBg6acv7t2KFzH6D7CyNcvC4mRCwUdsHTUB4t` (in
election round 46, likely repeating in subsequent ones too)
- This PR will be part of Polkadot release 2.0.0, the Polkadot AHM.
- [ ] Forum post with further explanation once PR is merged.

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 56e4b10)
@paritytech-release-backport-bot paritytech-release-backport-bot Bot requested a review from a team as a code owner October 20, 2025 19:48
@github-actions github-actions Bot added the A3-backport Pull request is already reviewed well in another branch. label Oct 20, 2025
@github-actions github-actions Bot requested a review from kianenigma October 20, 2025 19:48
@kianenigma kianenigma enabled auto-merge (squash) October 20, 2025 20:07
@kianenigma kianenigma merged commit 1f8b54b into unstable2507 Oct 20, 2025
273 of 278 checks passed
@kianenigma kianenigma deleted the backport-10051-to-unstable2507 branch October 20, 2025 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A3-backport Pull request is already reviewed well in another branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants