mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 02:57:57 +00:00
59b2661444
This PR backports Node version and `spec_version` bumps to `1.8.0` from the latest release and orders prdoc files related to it.
16 lines
705 B
Plaintext
16 lines
705 B
Plaintext
title: "Fixes a scenario where a nomination pool's `TotalValueLocked` is out of sync due to staking's implicit withdraw"
|
|
|
|
doc:
|
|
- audience: Runtime Dev
|
|
description: |
|
|
The nomination pools pallet `TotalValueLocked` may get out of sync if the staking pallet
|
|
does implicit withdrawal of unlocking chunks belonging to a bonded pool stash. This fix
|
|
is based on a new method on the `OnStakingUpdate` traits, `on_withdraw`, which allows the
|
|
nomination pools pallet to adjust the `TotalValueLocked` every time there is an implicit or
|
|
explicit withdrawal from a bonded pool's stash.
|
|
|
|
crates:
|
|
- name: "pallet-nomination-pools"
|
|
- name: "pallet-staking"
|
|
- name: "sp-staking"
|