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] Erroneous "Account does not exist" displays when an account has no SOL #336

Open
JuanMarchetto opened this issue Apr 20, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@JuanMarchetto
Copy link

Describe the bug
"Account does not exist" is get displays when an account has no SOL, even if is an account with previus activity and has ATAs

To Reproduce
Steps to reproduce the behavior:

  1. Look up an address with some SOL and at least another token or NFT for more clarity
  2. Check how the balance is displayed on the explorer
  3. Send max amount of SOL to another wallet you own
  4. You can verify that now how the explorer displays "Account does not exist" in the "Balance (SOL)" field

Example Links

Expected behavior
An account should be display his SOL balance as 0 in this escenario

Screenshots
Screenshot 2024-04-20 at 09 47 48

@JuanMarchetto JuanMarchetto added the bug Something isn't working label Apr 20, 2024
@JuanMarchetto
Copy link
Author

I can make a PR to address this issue if you agree

@nickfrosty
Copy link

This is as expected. When an account did exist and all its SOL (aka lamports) are transferred out, making its balance 0, the account gets garbage collected by the run time. Making it no longer exist

@JuanMarchetto
Copy link
Author

This is as expected. When an account did exist and all its SOL (aka lamports) are transferred out, making its balance 0, the account gets garbage collected by the run time. Making it no longer exist

Ok, i understand, maybe is a too technical concept for general users do, but if you think that display that is enough we can close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants