shardeum / bug-reporting

59 stars 33 forks source link

RPC ```eth_getBalance``` returns 0 SHM in Metamask #44

Closed AndreiW3b3 closed 9 months ago

AndreiW3b3 commented 1 year ago
What is the issue?

Metamask shows 0 SHM for an account that has more than 0 SHM on the Shardeum explorer.

What impact does the issue have?

Cannot send SHM between wallets.

How to reproduce the issue?

Use Metamask with Betanet 1.X with SHM in the wallet address, then wait for the balances to randomly go to 0 SHM.

What other resources can you share regarding this issue?

RPC method eth_getBalance:

https://www.quicknode.com/docs/ethereum/eth_getBalance

MarcusWentz commented 1 year ago

This is due to an RPC issue we are looking into.

AndreiW3b3 commented 1 year ago

Thank you for the fast response.

Saw the announcement as well.

Keep it up 🔥

MarcusWentz commented 1 year ago

This is working now in a Betanet 1.1 test environment.

MarcusWentz commented 1 year ago

Betanet 1.1 appears to have RPC and Validator issues causing this. We are looking into this.

AndreiW3b3 commented 1 year ago

Just after i instaled the last update i just noticed thae the ballance in my metamask started decreasing again

MarcusWentz commented 1 year ago

Q1. Does the balance go to 0 SHM randomly in Metamask?

Q2. Does the actual SHM balance decrease on the Shardeum Explorer?

AndreiW3b3 commented 1 year ago

Q1. It does go to zero from time to time

Q2. It is decreasing also in my MetaMask. I was 4.90 and now I have 4.72

On Sun, 26 Mar 2023 at 02:40, Marcus Wentz @.***> wrote:

Q1. Does the balance go to 0 SHM randomly in Metamask?

Q2. Does the actual SHM balance decrease on the Shardeum Explorer?

— Reply to this email directly, view it on GitHub https://github.com/Shardeum/shardeum-bug-reporting/issues/44#issuecomment-1483967682, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5SQNHW7HTDR3RD4ECCFW6TW56NBFANCNFSM6AAAAAAUUT72VQ . You are receiving this because you authored the thread.Message ID: @.***>

MarcusWentz commented 1 year ago

Q1. Did you stake with the address with the decreasing SHM balance?

Q2. What is your wallet address with the decreasing Metamask balance?

AndreiW3b3 commented 1 year ago

Yes I staked with the wallet the the balance is decreasing as I did not notice that before staking0x7eb1DD4eC345dF607885597EC9f8aEFb4EeEEd4aSent from my iPhoneOn 26 Mar 2023, at 04:23, Marcus Wentz @.***> wrote: Q1. Did you stake with the address with the decreasing SHM balance? Q2. What is your wallet address with the decreasing Metamask balance?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

swarna1101 commented 9 months ago

Extensive testing conducted on Metamask with Betanet 1.X revealed that the balances intermittently showed 0 SHM, despite having holdings on the Shardeum explorer. The issue has been rectified in the latest version, ensuring accurate and synchronized SHM balances between Metamask and the Shardeum explorer.