explorer
explorer copied to clipboard
[Bug] Erroneous "Account does not exist" displays when an account has no SOL
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:
- Look up an address with some SOL and at least another token or NFT for more clarity
- Check how the balance is displayed on the explorer
- Send max amount of SOL to another wallet you own
- 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
I can make a PR to address this issue if you agree
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
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
@nickfrosty what about for cNFT Accounts? https://github.com/solana-labs/explorer/issues/378