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

Top accounts wealth is not up to date #1661

Open
janmichek opened this issue Jan 2, 2024 · 6 comments
Open

Top accounts wealth is not up to date #1661

janmichek opened this issue Jan 2, 2024 · 6 comments

Comments

@janmichek
Copy link

firefox_733cdaHJ4p.mp4
@michele-franchi
Copy link

@sborrazas @jyeshe any update?

@yaboiishere
Copy link
Contributor

Hello, I'm trying to reproduce this in the testnet and it the wealth endpoint seems to be upating instantly. Is there a way to check if this issue still persists, if it does think it might be due to the way the middleware stores and updates the balance data asynchronously, but I can't say for certain.

@janmichek
Copy link
Author

Thanks for checking. When I replicate the scenario from the screen capture above, it still seems to be an issue.

@michele-franchi
Copy link

@yaboiishere this is reproducible using the mainnet endpoint:
https://mainnet.aeternity.io/mdw/v2/wealth

If you check a few accounts you will notice that the balance is not up to date. Here's the current data:

/wealth endpoint:
image

Node data:
https://mainnet.aeternity.io/v3/accounts/ak_5tRWRq7cYfWRtjvvXGKqUKoDCbput3fBcvKv4FPPbeHbvMNYK
image

https://mainnet.aeternity.io/v3/accounts/ak_zAbG2GGWrYJeU3PinouJSCT9ujgmHFJRQVrMiUZGqrJRFXmuF
image

Balance is 0 but in the /wealth endpoint it's not.

@michele-franchi
Copy link

ping @yaboiishere

@yaboiishere
Copy link
Contributor

Hey, sorry forgot to update, It's seems like a bigger problem than what i though. I've looked into the logs of the mdw and the code and i can't seem to find what is causing this issue. I'm trying to sync the middleware locally, so i can debug this, but that turned out to be really slow. I plan on coming back to this issue when i have it synced

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