Skip to content

[stable2503] Backport #7763#7912

Merged
EgorPopelyaev merged 1 commit intostable2503from
backport-7763-to-stable2503
Mar 17, 2025
Merged

[stable2503] Backport #7763#7912
EgorPopelyaev merged 1 commit intostable2503from
backport-7763-to-stable2503

Conversation

@paritytech-release-backport-bot
Copy link
Copy Markdown

Backport #7763 into stable2503 from Ank4n.

See the documentation on how to use this bot.

## Summary
The existing fungible migration code has an issue when handling
partially unbonding accounts, leaving them in an inconsistent state.
These changes fix it by properly withdrawing overstake from unlock
chunks.

This PR also removes the `withdraw_overstake` extrinsic from
pallet-staking, as this scenario could only occur before the fungible
migration. With fungibles, over-staking is no longer possible.

## TODO
- [ ] Backport to stable2503.

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit f540d2b)
@github-actions github-actions bot added the A3-backport Pull request is already reviewed well in another branch. label Mar 13, 2025
@github-actions
Copy link
Copy Markdown
Contributor

This pull request is amending an existing release. Please proceed with extreme caution,
as to not impact downstream teams that rely on the stability of it. Some things to consider:

  • Backports are only for 'patch' or 'minor' changes. No 'major' or other breaking change.
  • Should be a legit fix for some bug, not adding tons of new features.
  • Must either be already audited or not need an audit.
Emergency Bypass

If you really need to bypass this check: add validate: false to each crate
in the Prdoc where a breaking change is introduced. This will release a new major
version of that crate and all its reverse dependencies and basically break the release.

@paritytech-workflow-stopper
Copy link
Copy Markdown

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/13833654900
Failed job name: check-runtime-migration

@EgorPopelyaev EgorPopelyaev merged commit e3383ec into stable2503 Mar 17, 2025
180 of 254 checks passed
@EgorPopelyaev EgorPopelyaev deleted the backport-7763-to-stable2503 branch March 17, 2025 09:37
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.

2 participants