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

"Nan" is shown in Givpower table for some project #4275

Closed
maryjaf opened this issue Jun 13, 2024 · 5 comments
Closed

"Nan" is shown in Givpower table for some project #4275

maryjaf opened this issue Jun 13, 2024 · 5 comments
Assignees
Labels
bug Something isn't working P1 it's a blocker to other tasks or issues.

Comments

@maryjaf
Copy link
Collaborator

maryjaf commented Jun 13, 2024

One record and TOTAL GIVPOWER are shown NaN in Givpower table for the below project

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://giveth.io/project/ecosynthesisx-public-good-funding-impact-market
  2. tap on Givpower tab

Screenshots
image

cc: @divine-comedian

@maryjaf maryjaf added the bug Something isn't working label Jun 13, 2024
@divine-comedian
Copy link
Contributor

Thanks MJ! @mohammadranjbarz - can you check this out? Could it be related to subgraph issues from the recent migration?

@laurenluz - I'll let you follow up on this one.

@divine-comedian divine-comedian added the P1 it's a blocker to other tasks or issues. label Jun 13, 2024
@RamRamez
Copy link
Collaborator

The problem is that backend says the user address "0xa198b3e3028882122d6365a2290906074aad3431" has some power boostings, but when on client side we query the unipoolBalances, it doesn't return any info for that account, so either our backend is not telling the truth for some reason, or subgraph is not returning the correct unipoolBalance for that address.
The problem is just with this user, for other users the subgraph query results are ok.

the getPowerBoosting query:
image

Subgraph unipoolBalances query:
image

image

@mohammadranjbarz
Copy link
Contributor

@lovelgeorge99 Can you take care of it?
You can DM me on Discord if you needed help

@lovelgeorge99 lovelgeorge99 self-assigned this Jun 18, 2024
@lovelgeorge99
Copy link
Collaborator

@maryjaf is it possible to reproduce this issue...because currently the table dose not show NaN

@divine-comedian
Copy link
Contributor

@lovelgeorge99 - I think @aminlatifi resolved this issue 1-2 days ago in #4326

@github-project-automation github-project-automation bot moved this to Done in All-Devs Jun 26, 2024
@divine-comedian divine-comedian moved this from Done to Merged to Production in All-Devs Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1 it's a blocker to other tasks or issues.
Projects
Status: Merged to Production
Development

No branches or pull requests

5 participants