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

Gravita Subgraph logic issue - doesnt use block number #49

Closed
nitish-91 opened this issue Apr 16, 2024 · 3 comments
Closed

Gravita Subgraph logic issue - doesnt use block number #49

nitish-91 opened this issue Apr 16, 2024 · 3 comments

Comments

@nitish-91
Copy link
Contributor

@spider-g please create a PR to update gravita code. The function getUserTVLByBlock in index.ts does take the block number input but doesnt use it while calling the subgraph query.

For each input block number, we need tvl at that block number only. Right now that is not happening. You can refer this PR

#14

@spider-g
Copy link
Contributor

spider-g commented Apr 16, 2024

Solved by PR #58

@0xroll
Copy link
Contributor

0xroll commented Apr 17, 2024

@spider-g can you check your subgraph for stability pool? number seems to be off according to the output from the merged pr

@spider-g
Copy link
Contributor

can you elaborate on what you think seems off? I checked the reported number against the contract and it looks okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants