Stats Bug | “Total Spent” discrepancies from actual RPC usage (e.g., daily spend)
Closed this issue · 2 comments
Context: When creating a new LlamaNodes Premium account, the (1) Daily Average & (2) Monthly Average is showing correct based on usage. (3) Total Spent amount, however is not correct - as it shows a much higher usage than what the users has actually spent on RPC Calls. Screenshot attached for reference.
-Incorrect = Remaining Balance: /user/balance
-Correct = Daily usage / Monthly usage / chart: /user/stats/aggregate
-Reproduces on New Wallets w/ zero balance. Account given credit in USD, then testing initiates and issue arises.
-Reproduces on Staging and Production environments
Staging: https://deploy-preview-849--grand-longma-8fd79c.netlify.app/admin/login
Production: https://deploy-preview-852--grand-longma-8fd79c.netlify.app/
Desired outcome: Total spent = daily usage (for new wallets)
Should be fixed by #182
that did it!