-
Notifications
You must be signed in to change notification settings - Fork 2
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
Prevent user positions from flickering #104
Comments
I'm pretty sure now that it is rate limiting that does this. Things to add to VNL 2.0: aggregate queries for owned tokens. |
One way to tackle this could be to use websockets instead of http: https://docs.alchemyapi.io/alchemy/guides/using-websockets |
Assuming this is what I'm seeing myself: the main issue is not that positions flicker, but that they show up as empty. It might freak users out in a way that a Loading message wouldn't. |
Seeing a bunch of errors in the console, starting with a few:
Then followed by
I had the tab open, though so those might be from previous attempts. |
The most recent errors are a cluster of
Followed by a bunch of
|
Page refresh.
|
It behaves slightly different after Advanced HODL mode. It will:
|
Yeah, not surprising since the HODL mode updates reduced the amount of requests made to Alchemy so it rate limits less :D |
I'm still getting this issue. I don't visit VanillaDefi.com that often, so can't say if it's been there in the last few weeks, but it's happening constantly today with the same error.
|
An uncommon bug, but sometimes user positions can flicker in and out of view. This might be due to rate-limited queries to Alchemy, or conflicting account queries (dangling info on connected wallets)
The text was updated successfully, but these errors were encountered: