Skip to content
Snippets Groups Projects
Unverified Commit f540d2b3 authored by Ankan's avatar Ankan Committed by GitHub
Browse files

[staking] Currency Migration and Overstake fix (#7763)


## 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: default avatarcmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
parent 57f72199
No related merge requests found
Pipeline #518770 waiting for manual action with stages
in 55 minutes and 25 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment