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

feat(refactor): Remove pre-paged rewards code (part 1) #2101

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

rossbulat
Copy link
Collaborator

@rossbulat rossbulat commented Apr 30, 2024

Removes pre-paged rewards code that is no longer needed to calculate Payouts. maxExposurePageSize is also now being fetched for all networks, so the check for maxNominatorRewardedPerValidator is no longer needed.

Note that more deprecated code needs to be removed relating to era exposures. This can be done 10+ eras after paged rewards went active, as Staking Dashboard currently supports 10 eras of payout scraping.

@rossbulat rossbulat changed the title feat(refactor): Remove pre-paged rewards code feat(refactor): Remove pre-paged rewards code (part 1) Apr 30, 2024
@rossbulat rossbulat merged commit 6fa02f9 into main Apr 30, 2024
11 checks passed
@rossbulat rossbulat deleted the rb-remove-legacy-claim-payouts branch April 30, 2024 11:46
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.

None yet

1 participant