impact-graph
impact-graph copied to clipboard
Add giveth tag to subgraph queries
In order to get a higher rate limit from subgraph, we can set giveth as source value in our requests

I added this issue to performance epic, is it still valid?
A FE stuff. Not applied yet, am I right @MohammadPCh ?
Is this still needed @MoeNick @MohammadPCh @aminlatifi
The issue has not appeared for a while, but it's better to implement this feature for future proof.
@maryjaf to test and verify The Subgraph endpoint has changed so please test related features (like GIV balance, staked balance, locked token balance, APR, and GIVpower balance)
@aminlatifi should I add this tag to MPETH_GRAPHQL_PRICES_URL and POIGN_ART_SUBGRAPH_URL as well? (in impact-graph env vars)
@aminlatifi should I add this tag to MPETH_GRAPHQL_PRICES_URL and POIGN_ART_SUBGRAPH_URL as well? (in impact-graph env vars)
I don't know how often they are called and whether we suffer from rate limiting there.
@maryjaf to test and verify The Subgraph endpoint has changed so please test related features (like GIV balance, staked balance, locked token balance, APR, and GIVpower balance
I've tested stake,unstake,lock,harvest flows and there is no problem
but the APR is shown 0, I haven't more data about calculating APR it seems there is a problem relate to this @RamRamez
@maryjaf to test and verify The Subgraph endpoint has changed so please test related features (like GIV balance, staked balance, locked token balance, APR, and GIVpower balance
I've tested stake,unstake,lock,harvest flows and there is no problem but the APR is shown 0, I haven't more data about calculating APR it seems there is a problem relate to this @RamRamez
I think the APR problem is related to Subgraph on staging, because I used staging branch locally with production Subgraph endpoints and it was working fine.