`/staking-payouts` should be updated for `staking.eraStakersClipped` deprecation.
TarikGul opened this issue · comments
Given polkadot-js/api#5771 there is change happening to eraStakersClipped
that is going to be an internal breaking change. It is being replaced by ErasStakersPaged
, and ErasStakersOverview
.
The PR linked has all the information necessary to the original PR, and forum link describing the changes.
Pending Items
In addition to the changes in the linked PR, we need to:
- Add tests for eras after the runtime upgrade . Cover cases :
- for validator account with
own
exposure == 0 or not - if possible find an example with
page
!= 0
- for validator account with
- Add tracking issue to remove completely the
erasStakersClipped
call as soon as it is removed from storage. The progress can be checked in this issue.