Polkadot and Kusama nominator controller accounts are being deprecated
rossbulat opened this issue · 1 comments
Polkadot and Kusama nominator controller accounts are being deprecated
This is an issue to notify the maintainers of this repo that nominator controller accounts are being deprecated on Polkadot and Kusama, in favour of proxy accounts. In an upcoming runtime upgrade (version and date is yet to be determined), 2 call signatures of the staking pallet will change. These are breaking changes for UIs, so UIs will need to update their codebases when the changes come into effect.
Call Changes
The staking.bond
and staking.setController
call signatures have now changed in the Substrate codebase PR here, and will take effect in a future runtime upgrade.
set_controller(controller)
will becomeset_controller()
. This call will simply set the controller account to the caller's stash account, if it is not already.bond(controller, value, payee)
will becomebond(value, payee)
. This call will now set the caller as the controller account (same as the stash).
UIs can prepare now by adding a controller deprecation message, and allow stakers to change their controller accounts back to their stash using the existing staking.setController(controller)
call. The Polkadot staking dashboard recently deployed this functionality and may be useful as reference code.
Next Steps
- A follow-up message will be made when we know when these changes will be on Westend, giving UIs time to test any needed changes.
- Follow-up messages will be made here when we know the runtime version and date of the change on Polkadot and Kusama.
Other Resources
- Polkadot Forum Discussion: https://forum.polkadot.network/t/staking-controller-deprecation-plan-staking-ui-leads-comms/2748
@rossbulat we are archiving this repo and continue working in the new one https://github.com/novasamatech/nova-wallet-ios.