-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Pending payouts are not displayed in the payout page #11071
Comments
Interesting, must be a parsing issue in apps. The api now returns a |
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). |
Thank you @Leouarz for the extra info - it definitely helped narrow it down faster. The problem was indeed that line. PR in the api: polkadot-js/api#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. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
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:
![image](https://private-user-images.githubusercontent.com/15839293/383991962-b40febbf-4ffc-4223-8c7c-5e929e215698.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDg4MTQsIm5iZiI6MTczOTM0ODUxNCwicGF0aCI6Ii8xNTgzOTI5My8zODM5OTE5NjItYjQwZmViYmYtNGZmYy00MjIzLThjN2MtNWU5MjllMjE1Njk4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA4MjE1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA4NWZkNjMxM2U1NGFjNmUyY2JiZjdmMmM0OTNjOTAyZGIxMDg3MzNmODFkYjc3ODQ2MTk5MzA0MTA4Y2UwMDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DdgfKq03nsEZmbY8dxcfArxsRH-eqO6B16D4wt57PpE)
After the fix, no era is displayed:
![image](https://private-user-images.githubusercontent.com/15839293/383992449-e6ddccb2-7d42-472c-9dae-32c932c1c9fe.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDg4MTQsIm5iZiI6MTczOTM0ODUxNCwicGF0aCI6Ii8xNTgzOTI5My8zODM5OTI0NDktZTZkZGNjYjItN2Q0Mi00NzJjLTlkYWUtMzJjOTMyYzFjOWZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA4MjE1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNkZTUwZTE5MjllMGU1NjQ4YTdhNzg0YTdiN2E1NzFjM2ZlNTU5MTNiNzk3MGE5NTRkYzczNGEyYjcxYTQwN2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.E0JCbMUQZRLMqoIGAs2U8rJ5hfA_RkV7-vXdRqiIe0c)
In comparison, in the staking dashboard, we have this:
![image](https://private-user-images.githubusercontent.com/15839293/383992605-3b59cd3a-1507-42d7-b556-5937f67be59c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDg4MTQsIm5iZiI6MTczOTM0ODUxNCwicGF0aCI6Ii8xNTgzOTI5My8zODM5OTI2MDUtM2I1OWNkM2EtMTUwNy00MmQ3LWI1NTYtNTkzN2Y2N2JlNTljLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA4MjE1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ5Nzk1ZDczNzQ1MTk1YzA1OWIzMTMzNWFiMmE0M2NhZWViMTAyMzM4OGVhOTUwM2UyZGUyYzRiNzg5ZmY2M2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.YP5gUqMKr2TVf0OSCwD_hzpj4atys1FYzhvTBnBvwy8)
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:
The text was updated successfully, but these errors were encountered: