Files
pezkuwi-subxt/prdoc/pr_1289.prdoc
T
Chevdor 5dd6a4ba47 Fix PRdoc that have been previously drafted with older schema (#2623)
Several PRs started introducing `prdoc` files before the schema was
final.
This PR fixes those former prdoc to ensure that pass the check and
comply with the current prdoc schema.

---------

Co-authored-by: command-bot <>
2023-12-05 18:29:13 +02:00

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: []