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

Wallet did not display the amount of Stably USDS [Bug] #15966

Closed
Magicwalker opened this issue Aug 8, 2023 · 12 comments
Closed

Wallet did not display the amount of Stably USDS [Bug] #15966

Magicwalker opened this issue Aug 8, 2023 · 12 comments

Comments

@Magicwalker
Copy link

What happened?

  1. Version 2.0.0 RC3, when sending coins 500 usds from Goby to wallet on receive address did not display on UI.
  2. Close the Chia UI , delete wallet db and check process no more any chia.exe also same. Newly send over 500 usds was not show in UI
  3. Environment Windows 10, CPU 5950x, RAM 128GB

Restore version 1.8.2 able to see the amount.

After that upgrade the 2.0.0 RC3, did not resync use existing copy wallet db able to see the USDS amount.
Other Asset ID, XCH amount was ok.

Study case : https://play.goby.app/history?tx=51ad5f48707b54de1e6b3fd3f7ca961142c9a867c8947e907488f4b5b0d74b5d&network=mainnet

Version

2.0.0 RC3

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output

No response

@bramv-chia
Copy link

Can you test if this is related to the Goby wallet as follows:

  • send yourself 1 USDS via 2.0.0 RC3
    and report back if you see the same behavior?

This way we can eliminate Goby as the possible source of the issue.

@Magicwalker
Copy link
Author

Magicwalker commented Aug 10, 2023

Can you test if this is related to the Goby wallet as follows:

  • send yourself 1 USDS via 2.0.0 RC3
    and report back if you see the same behavior?

This way we can eliminate Goby as the possible source of the issue.

Hi Bramv,
I can confirm is 2.0.0 R3 UI wallet issue, another Asset TICA went missing when I delete wallet db and resync using 2.0.0 RC3.
Adding Asset Id: 895d30090a17116d282af37cedec585613d4ee0faec3eaa7e19eb3f2bcd236e1 resync , token balance was 0. But in chia blockchain, this CAT2 is 225,000 coins

Resync again using 1.8.2 the total amount of both coin USDS and TICA coming back.

Only resync wallet from starting 0 got this issue.

@KryptomineCH
Copy link

Might be related to issues described in #15633?
but these are with 1.8.

@Magicwalker
Copy link
Author

Might be related to issues described in #15633? but these are with 1.8.

nope Chia not issue receive fund. Its only happen on CAT2, 1.8.2 no issue receive any CAT

@bramv-chia
Copy link

Could you provide us the logs [DEBUG] from the 2.0.0 R3 build? We're mainly concerned about exceptions from the log file.

@joshpainter
Copy link
Contributor

I'm seeing this issue as well. To recreate, send any CAT from Goby to 2.0.0rc5 wallet. The CAT will never show up in the UI. I see these errors in the log:

2023-08-17T10:11:38.859 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 4529c6161c10da53a81da7d97cf7017b8dac8c5edf46146d97a6e9b48c208efb, puzzle_hash: b8c6bc6af8b526fb8c5cf0459a4fb1e90ea87fe9923428a373597bd31b66872a, amount: 1 }, spent_height: Some(4026493), created_height: Some(4025218) }, error: list index out of range
Traceback (most recent call last):
File "chia\wallet\wallet_state_manager.py", line 1301, in _add_coin_states
File "chia\wallet\trade_manager.py", line 161, in coins_of_interest_farmed
IndexError: list index out of range
2023-08-17T10:11:40.209 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 55ffb02f2e0f392e3b96fbd00b8c9e9c17538b3654644f598179a44980d339c2, puzzle_hash: 8986e8a1c0331831ce2e078809381edb859f6b7b396c70bdc344367f3005b33e, amount: 1 }, spent_height: Some(4026436), created_height: Some(4025218) }, error: list index out of range
Traceback (most recent call last):
File "chia\wallet\wallet_state_manager.py", line 1301, in _add_coin_states
File "chia\wallet\trade_manager.py", line 161, in coins_of_interest_farmed
IndexError: list index out of range
2023-08-17T10:11:41.662 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 878e17e4337e2b9358691c47676b16a632825de62842fd9d7137f5a5c0f71d86, puzzle_hash: 59031dd8fa3d6caf6158df8be6ed548aaa3da60bb015d85e18637bc00cd4a9ca, amount: 1 }, spent_height: Some(4026479), created_height: Some(4025218) }, error: list index out of range
Traceback (most recent call last):
File "chia\wallet\wallet_state_manager.py", line 1301, in _add_coin_states
File "chia\wallet\trade_manager.py", line 161, in coins_of_interest_farmed
IndexError: list index out of range
2023-08-17T10:11:45.566 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 4769f3d4ce99c1e289c1c10c8299dea81dbd0a234c8f1b125c6ae97edddad6ca, puzzle_hash: 09e6d392af7f9b47ec94c2dfe67509bc31f907d5bbefb259248451a93d9e9abe, amount: 1 }, spent_height: Some(4026438), created_height: Some(4025201) }, error: list index out of range
Traceback (most recent call last):
File "chia\wallet\wallet_state_manager.py", line 1301, in _add_coin_states
File "chia\wallet\trade_manager.py", line 161, in coins_of_interest_farmed
IndexError: list index out of range

As a workaround, I can load up the same fingerprint in 1.8. The CAT coins show up in the UI and I can send them to my own address. Once confirmed, they will show up in the new 2.0 RC. Something weird about Goby's spends/reveals maybe?

@Magicwalker
Copy link
Author

This is not solve by the version 2.0, my asset id : 895d30090a17116d282af37cedec585613d4ee0faec3eaa7e19eb3f2bcd236e1 is not showing balance in my wallet and this is not related to Goby at all. If developer want to test it. Developer can purchase the coin in dexie.

@joshpainter
Copy link
Contributor

Just an update to confirm that this bug remains in 2.0.0 final. Any CAT sent from Goby to the 2.0.0 wallet doesn't show up unless you use an older client and my workaround above.

@dimitrysuen
Copy link

dimitrysuen commented Sep 8, 2023

Hi,
We just released a new version. Now, Goby is compatible with CHIP-20.
New CAT2 transfers from Goby to Chia wallets are working fine now.

@BrandtH22
Copy link
Contributor

Hi, We just released a new version. Now, Goby is compatible with CHIP-20. New CAT2 transfers from Goby to Chia wallets are working fine now.

What is the recommendation for users who sent CATs prior to this new version being published?

@BrandtH22
Copy link
Contributor

BrandtH22 commented Sep 8, 2023

Just confirmed with a user who this issue effected that installing chia version 1.8.2 will allow the users wallet to properly identify the CATs. Once identified the user was able to send the tokens to another one of their xch addresses in the chia client then upgrade back to the current version of Chia and all tokens are accessible:
https://github.com/Chia-Network/chia-blockchain/releases/tag/1.8.0

@BrandtH22
Copy link
Contributor

closing as Goby has updated their implementation and a workaround has been identified for anyone who had sent tokens prior to that update occurring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants