workbenchapp / solana-workbench

Your one-stop shop for developing on Solana
MIT License
63 stars 7 forks source link

Hide data for wallets #221

Closed nathanleclaire closed 2 years ago

nathanleclaire commented 2 years ago

If we know the private key for the wallet, it's most likely a "wallet" account, and contains no data.

Technically, we should probably hide decoded data for all accounts where it's empty regardless of if we know the key, but this is a quick patch that will get 80% of the way there.

SvenDowideit commented 2 years ago

I don't like it. this presumes that nothing weird ever happens on chain.

I'd much rather show no data, only if there actually is no data

its a debug tool - i want to be able to debug what is on the chain, not be limited by what "should" be on the chain.

nathanleclaire commented 2 years ago

gonna close this and we'll re-visit in some sync design follow ups