-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Showing waiting, active and inactive nominations on the Accounts page #10998
Conversation
stashId: string; | ||
slashes: Option<SlashingSpans>[]; | ||
nominees: string[]; | ||
activeEra: DeriveSessionIndexes['activeEra'] | undefined; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably better to set this to EraIndex
instead of DeriveSessionIndexes['activeEra']
as it will be more explicit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few nits, overall amazing!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job!
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Staking Pallet changes for v14 applied.
Backwards compatibility ensured.
deprecated calls:
erasStakers
- deprecated in v14stakers
- deprecated earliernew calls:
erasStakersPaged
- used in aquery.derive.staking.eraExposure
Note:
query.derive.staking.eraExposure
is a really expensive call, it delays showing the numbers of validators by a few seconds. I added a spinner there.Resolves #10804