RabbyHub / RabbyDesktop

rabby desktop application, for web3 users
Other
43 stars 19 forks source link

A single safe address always shows as $0 when adding to Bundled Addresses #600

Open timjrobinson opened 9 months ago

timjrobinson commented 9 months ago

Prerequisites

Expected Behavior

When I select a wallet from my wallet list to add it to the bundled addresses list. It should add it to the bundle and add the value of tokens to the combined asset value.

Current Behavior

When I add this address to my bundle, the combined asset value doesn't change and the wallet appears as $0 in the sidebar. When I un-add it the value of the wallet comes back.

This is only happening for the address 0xba59ba8e40bdc56611b130be5d9696fcd1025e8f, my other Safe addresses and normal EOA accounts are working fine.

Steps to Reproduce

  1. Add the wallet address 0xba59ba8e40bdc56611b130be5d9696fcd1025e8f, this is a Gnosis Safe on Polygon containing 10,737 MATIC and 1.4 WETH
  2. Notice this wallet has a value in the sidebar
  3. Add the wallet to a bundle
  4. Notice the wallet now appears as $0 value when it's added to the bundle
  5. Notice the bundle total value hasn't changed
  6. When removing this wallet from the bundle the value of this wallet goes back to full on the right hand side

Screenshots

2023-12-18 22_15_18-Window

2023-12-18 22_23_29-Window

2023-12-18 22_23_42-Window

Possible Solution (Not obligatory)

I'd assume this is some wallet value caching issue, where it's value has been calculated in some piece of code but not cached correctly. Or there is some token that is breaking Rabby causing it to not calculate the wallets value correctly.

Your Environment

shekohex commented 9 months ago

Hey, I'm facing the same bug. Just wanted to add that this bug also happens with Imported Hardware wallets.

shekohex commented 9 months ago

I found this on Discord:

@bitomoney: Hey man, I had this issue. The trick @eleanor_0x taught me is to goto debank, and drop the address in the search bar, then goto the address page. This forces debank to load the balance from the blockchain, and it will then appear in Rabby portfolio view

And that worked for me, Hope it works for you too!

r3lik commented 8 months ago

I found this on Discord:

@bitomoney: Hey man, I had this issue. The trick @eleanor_0x taught me is to goto debank, and drop the address in the search bar, then goto the address page. This forces debank to load the balance from the blockchain, and it will then appear in Rabby portfolio view

And that worked for me, Hope it works for you too!

Facing the same issue and this seems to have fixed it for me. Thanks much!