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

Payout displays eras already paid #10677

Open
2 of 7 tasks
Juanma0x opened this issue Jun 17, 2024 · 2 comments
Open
2 of 7 tasks

Payout displays eras already paid #10677

Juanma0x opened this issue Jun 17, 2024 · 2 comments

Comments

@Juanma0x
Copy link

  • I'm submitting a ...

    • Bug report
    • Feature request
    • Support request
    • Other
  • What is the current behavior and expected behavior?

Payout should only display unpaid, pending staking rewards.

  • What is the motivation for changing the behavior?

Avoid allowing users to issue extrinsics for reward claims that will fail because the rewards have already been claimed.

  • Please tell us about your environment:

https://polkadot.js.org/apps/#/staking/payout

  • Version:
    Parity Polkadot v1.13.0
    api v11.1.1
    apps v0.138.2-21

  • Environment:

    • Node.js
    • Browser
    • Other (limited support for other environments)
  • Example:
    Random staker: 15rkXKWsDfwPreMDyTyt3riPGkeyj4fvfGeHhkorhqU7MsWQ

Polkadot-JS UI
image

Subscan
image

@TarikGul
Copy link
Member

So the issue here is with RANDOM_STAKER? It might have to do with this comment here, and if I had to take a guess might be resolved once we pass 84 eras since the breaking changes with staking.

@Juanma0x
Copy link
Author

So the issue here is with RANDOM_STAKER? [...]

I observed the same issue for any nominator. The RANDOM_STAKER is just that, a random nominator I used as an example. You can check the issue using any other nominator.

[...] if I had to take a guess might be resolved once we pass 84 eras since the breaking changes with staking.

I hope it's solved, as you commented. There are quite a few failed transactions (alreadyClaimed) because of it:

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

No branches or pull requests

2 participants