Closed Leouarz closed 2 days ago
Interesting, must be a parsing issue in apps. The api now returns a isClaimed
field in each of the rewards. I will check this out.
Thanks, i saw the isClaimed field being used, and while adding logs in the api, i saw the rewards coming with isClaimed being correctly false, then they are all set tu claimed in this piece of code. I did not went further to be honest
This is also happening with the Tangle RPC (wss://rpc.tangle.tools). Example account is tgGv1ckHJRCzpggcPyZxeyK2T9PugDogZSd9X9q4jFWWZLVJS
Thank you @Leouarz for the extra info - it definitely helped narrow it down faster. The problem was indeed that line. PR in the api: https://github.com/polkadot-js/api/pull/6026
Hopefully this will resolve the issue! I need to release it in the api first then propogate it to apps later in the week.
Hey @TarikGul, just tested the changes by applying them manually, they seem to work as expected, thank you ! Waiting for the release.
Pending payout should be displayed in the payouts tab. Few weeks ago, the payout section was showing eras already paid. This issue was tracked here It was recently closed, as a fixed was pushed and deployed. Now no eras is shown in the payout page.
Before the fix, the bug was indeed there, eg. in here, eras 212 and 215 are already claimed and still showing:
After the fix, no era is displayed:
In comparison, in the staking dashboard, we have this:
To reproduce, here is the required data on Avail testnet:
Don't hesitate in case you need any other information.
Allowing users to claimed some era rewards or all of them.
Version:
Environment:
Language: