Skip to content
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

Switch to using Delegation Staking for pools #5

Merged

Conversation

Ank4n
Copy link

@Ank4n Ank4n commented Nov 6, 2024

This would enable pool members to participate with their pooled funds in opengov.

Changes

Same for both polkadot and kusama.

  • Initialises pallet-delegated-staking: This makes nomination pool delegation based, i.e. funds are held in user account and "delegated" to the pool account for the purpose of staking.
  • NominationPool migration from TransferStake to DelegateStake.
  • Slashes to the pool would be lazy (as stake is distributed among many members) and can be applied permissionlessly. Reporters are incentivised to apply any pending slash and get paid 1% of the slash as reward.
  • Slashes are sent to the treasury, same as for direct stakers.

TODO

  • Update changelog.
  • Run try runtime migration.

@Ank4n Ank4n marked this pull request as ready for review November 9, 2024 11:42
@Ank4n
Copy link
Author

Ank4n commented Nov 9, 2024

@pandres95 Could you merge these changes into your pull request? 🙏

@pandres95 pandres95 merged commit cf05416 into pandres95:upgrade-polkadot-stable2409 Nov 9, 2024
43 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants