forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nomination pools: Fix payout destination in permissionless unbond (pa…
…ritytech#3110) This fixes a bug in nomination pools that msitakenly claimed the rewards, upon pool destruction, into the caller of `unbond` and not the actual member. More description and a PA coming soon. Opening this for now to expediate backport. --------- Co-authored-by: Gonçalo Pestana <[email protected]>
- Loading branch information
1 parent
f07316f
commit a190e0e
Showing
4 changed files
with
193 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
title: Nomination pools Fix payout destination in permissionless unbond | ||
|
||
doc: | ||
- audience: Runtime Dev | ||
description: | | ||
This PR fixes an issue whereby when a nomination pool allowed for permissionless unbonding of | ||
funds, the implicit claimed rewards were mistakenly sent to the caller of the `unbond`, and | ||
not the actual member. A nomination pool only allows permissionless unbonding when its state | ||
was set into `Destroying` by the operator | ||
|
||
crates: | ||
- name: pallet-nomination-pools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.