polkadot-js / apps

Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.
https://dotapps.io
Apache License 2.0
1.73k stars 1.51k forks source link

Payout displays eras already paid #10677

Open Juanma0x opened 2 weeks ago

Juanma0x commented 2 weeks ago

Payout should only display unpaid, pending staking rewards.

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

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

Polkadot-JS UI image

Subscan image

TarikGul commented 2 weeks ago

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 commented 1 week ago

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: