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

deposit ui freezing #17

Open
0xtrooper opened this issue Jul 7, 2023 · 0 comments
Open

deposit ui freezing #17

0xtrooper opened this issue Jul 7, 2023 · 0 comments

Comments

@0xtrooper
Copy link

Right now the cached "existing_deposits.json" was last updated at block 22673201. It is more then 6.1M blocks behind. Therefore the UI needs to fetch a lot of logs to update the pubkey list and validate a new deposit.
The way the "getPastLogs" function (use-deposit and use-dappnode-deposit) works, it create a lot of errors.

With each error thrown it has to re-fetch that chunk and it doubles the amount of async fetches. This made it impossible for me to deposit. Therefor the number of concurrent RPC calls should be limited.

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

1 participant