Closed rossbulat closed 1 year ago
Hey, is anyone still working on this? Due to the inactivity this issue has been automatically marked as stale. It will be closed if no further activity occurs. Thank you for your contributions.
bot rebase
Error: Command 'Command { std: cd "/storage/repositories/substrate" && "git" "merge" "origin/master" "--no-ff" "--no-edit", kill_on_drop: false }' failed with status Some(1); output: no output
Closing in favour of https://github.com/paritytech/substrate/pull/14451/.
Deprecating this PR In favour of a lazy migration
RewardDestination
variant is removed.This PR removes the
RewardDestination::Controller
variant as a continuation of the controller account deprecation effort for staking.Included is a migration that updates existing
Controller
payees toAccount(controller)
.RewardDestination::Controller
.RewardDestination::Controller
toRewardDestination::Account(existing_controller)
.Controller
Payees to MigrateThe migration in this PR migrates every payee record, as
Controller
was index 3 and removing it therefore changes the encoding of the subsequent variants. Nevertheless, the actualController
reward destinations that exist on the networks are as follows:Polkadot: 706 Kusama: 571 Last updated: 07/07/2023 21:35 GMT+1