mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07:57 +00:00
f80cfc2259
This PR backports version bumps from release branch `release-polkadot-v1.6.0` back to `master` and also moved `prdoc` files related to the release to the appropriate folder
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
# Schema: Parity PR Documentation Schema (prdoc)
|
|
# See doc at https://github.com/paritytech/prdoc
|
|
|
|
title: Supporting paged rewards allowing all nominators to be rewarded
|
|
|
|
doc:
|
|
- audience: Node Operator
|
|
description: |
|
|
We used to clip top `MaxNominatorRewardedPerValidator` nominators by stake that are eligible for staking reward.
|
|
This was done to limit computation cost of paying out rewards. This PR introduces paging to reward payouts,
|
|
meaning we still clip nominators upto MaxExposurePageSize per page and there could be multiple pages of rewards to
|
|
be paid out. Validators get commission pro-rata to the amount of reward that is paid out for the page.
|
|
|
|
notes:
|
|
- payout_stakers should be called multiple times, once for each page of nominators.
|
|
- payout_stakers_by_page can be used to pay out rewards for a specific page.
|
|
- Some old non-paged era storage items are deprecated, and can be removed in a future upgrade.
|
|
|
|
migrations:
|
|
db: []
|
|
|
|
runtime:
|
|
- reference: pallet-staking
|
|
description: "v14: Migration of era exposure storage items to paged exposures."
|
|
|
|
crates:
|
|
- name: pallet-staking
|
|
|
|
host_functions: []
|