-
Notifications
You must be signed in to change notification settings - Fork 100
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
Negative values for borrowedReservesCount in User schema #77
Comments
honestly I think this should just be removed completely 😅 it's a bit unnecessary bloat on the subgraph |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are occurrences of negative values for
borrowedReservesCount
field in the User schema.To Reproduce
On the playground https://thegraph.com/hosted-service/subgraph/aave/protocol-v2?version=current the
borrowedReservesCount
can be a negative value.Expected behavior
The
borrowedReservesCount
should be always >=0. I assumed that a negative value meant that no reserves have been used for borrowing, however by queryingyou can see that there are reserves with non zero debt (e.g.
The text was updated successfully, but these errors were encountered: