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

[CONSOLE] Fix real-time balance on accounts #66

Closed
vmichalik opened this issue Apr 19, 2022 · 0 comments · Fixed by #76
Closed

[CONSOLE] Fix real-time balance on accounts #66

vmichalik opened this issue Apr 19, 2022 · 0 comments · Fixed by #76
Assignees

Comments

@vmichalik
Copy link
Contributor

Problem
The real time balances on some accounts are incorrect in the console, showing negative numbers and numbers inconsistent with the dashboard.

Details

  • This is because index distributions are not getting included in account balances due to the way the subgraph works.
  • The user dashboard makes a web3 RPC call to get the correct balance, and the subgraph also updates to the correct balance using an RPC call when an account in question performs any action.

Proposed Solution

  • Until a better solution emerges, we should add these RPC calls to the console.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants