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

Bug report: Programs with massive accounts amounts breaks the UI and node.js #3

Open
gonzaotc opened this issue Mar 5, 2025 · 0 comments

Comments

@gonzaotc
Copy link

gonzaotc commented Mar 5, 2025

Bug Description

  1. Programs with many accounts break the UI arrow relationship indicators. Nonetheless, with our testnet marketplace, ~2000 accounts, all seem to appear correctly on the UI. I could scroll to see them all, even if the arrows didn't point right.

  2. Additionally, when I tried with our mainnet marketplace ~0.5 MM accounts, even node.js broke when pulling the accounts. This leads me to think the underlying strategy should differ for large real-world apps.

Evidence

  1. arrow relationship indicator breaks
Image
  1. node.js maximum call stack size exceeded
Image

Proposed Solution/Improvement

I suggest modifying the UI to allow for "progressive pulling." Pull the main programs and some accounts instead of pulling every account at the start. Then, add buttons on the UI to load more optionally, populating the UI as the accounts load.

This would first make it a cleaner and unloaded UI, enabling progressive visualization of large programs and relationships while reducing the heavy load Node.js has to take at the tool startup.

Great tool!

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