-
Notifications
You must be signed in to change notification settings - Fork 699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Payees
lazy migration to PayoutDestination
, Split
variant for payouts, remove Controller
#1196
Conversation
…/polkadot-sdk into rb-payout-destination
The CI pipeline was cancelled due to failure one of the required jobs. |
Just a note for AppSec, this PR has broken due to a ledger refactor & needs to be fixed. It'll involve rebuilding the PR from the latest master I imagine. I will take a stab this week. |
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
@Ank4n why was this never merged? Should we now close this pr? |
This is probably blocked by #3706 that is not yet executed. |
There was a lack of interest in reviewing and finalising this so it never got past the finish line. It can be closed and reimplemented as the codebase has changed and I don't have org access to manage this PR anymore. |
Tracking issue: #1195
This PR is part 1 of a lazy migration to update reward destinations, which removes Controller, refactors RewardDestination into a new PayoutDestination enum, and adds an additional Split enum for the ability to compound a part of rewards and have the rest as free balance.
PayoutDestination
with new variants and introducePayees
storage item to replace Payee.set_payee
removes Payee (RewardDestination
) and inserts toPayees
(PayoutDestination
)update_payee
call to lazily migrate fromPayee
toPayees
storage item.Split
logic onpayout_stakers
with getter that migratesPayee
to newPayees
storage.get_payout_destination
, ensurePayees
is populated.