Open SvenDowideit opened 2 years ago
I don't think this can be dealt with in 0.4.0, because we need to avoid making the getParsedTokenAccountsByOwner()
call entirely - the lockup is during the wait for the fetch()
inside this, not in our code.
its really a scalability issue in the solana API
I just picked an account on mainnet who'd response to
getParsedTokenAccountsByOwner()
retuens 19MB of datasee https://explorer.solana.com/address/6ZRCB7AAqGre6c72PRz3MHLC73VMYvJ8bi9KHf1HFpNk/tokens
the UI freezes, presumably because its busy parsing that data.
`
Originally posted by @SvenDowideit in https://github.com/workbenchapp/solana-workbench/issues/263#issuecomment-1189779903