Closed trgarrett closed 1 year ago
Couple of additional data points. The issue is definitely intermittent, and it is not new to 1.7.0. I went down to 1.6.2 to try to clean up my state with another fresh sync. Some of the coins from some of my derivation indexes were again not synced. I have now also seen it affect the main XCH balance in both 1.6.2 and 1.7.0.
So, after about 5 full syncs in the last 2 days (with ~3 GB of data transfer each), I haven't had any that found all the coins but I have been able to move some coins to the primary observable address as I had syncs that found them.
Behavior continues with 1.8.0-b1.
Tried several things. After enabling unknown CAT loading (automatically_add_unknown_cats: true), I am now seemingly able to see all my CAT balances, although I have a lot more wallets than I would prefer to be syncing. I don't remember it behaving this way before. If it's meant to be an improvement rather than a regression, I could see some benefits. Just looking for clarity now.
Okay, after a full new sync with 1.8.0-b1, my CAT balances look much improved. I am missing several DID coins now though, and hundreds of NFTs.
I am using a trusted local node for syncing. Should I explore restoring it from an earlier backup?
Okay, with 1.8.0-b1 sync stopped and showed Synced at derivation index 2496. Going to manually update that and see if that will get the remaining DIDs and NFTs in place.
Edit: It did not. Trying a sync with untrusted nodes to eliminate possibilities.
Edit: A sync with my own full node in untrusted mode did not work either.
Have you tried to use 1.6.2?
Have you tried to use 1.6.2?
Yes. 1.6.2 did not give a clean sync either. I can work backward to 1.6.1, 1.6.0 and find the last version that worked correctly, but I am unable to accept the vast majority of offers made with 1.7.0 if I do that.
I'm seeing the same issues as well. Thank you for confirming it's not just me.
Could try running main and run a chia wallet check chia wallet check --db-path ~/.chia/mainnet/wallet/db/blockchain_wallet_v2_r1_mainnet_<your_fingerprint>.sqlite
?
Nice. A new command! Here's my output @MumfMeisterT:
`Reading /Users/tgarrett/.chia/mainnet/wallet/db/blockchain_wallet_v2_r1_mainnet_2544449244.sqlite No errors found.
Reading /Users/tgarrett/.chia/mainnet/wallet/db/blockchain_wallet_v2_r1_mainnet_1307711849.sqlite
---- Errors Found ----
Missing Wallet IDs: [5 to 9, 12, 14, 18 to 23, 33 to 34, 41, 82, 89]`
Hi there, thanks for using the tool!
This tools automates integrity checking of the wallet DB, but can't tell you why an issue happened.
Missing Wallet IDs can happen for two reasons that I know of:
One, we created a wallet and later deleted it. This is okay in normal operations, as we don't reuse wallet IDs.
Two, there is a bug in the wallet code we are tracking down that can cause these to appear. This bug does not cause any loss on-chain, but can make the wallet's local idea of your balances incorrect.
I'll update the output to be more understandable in the Missing Wallet ID case.
Hello again - the improved messages should hit main soon.
@aqk On 1.7.1, the command "chia wallet check" is not recognized. Is this expected to come back in the future?
What happened?
I have a wallet with an effective derivation index of right around 7,200. With 1.7.0 and a fresh sync, I noticed all my CAT balances were starting out 0. Only as new CATS (such as the daily deposits of MZ token) came in, were they counted. Also, of 4 NFTs in one DID, I saw 2, 3, or 4 of them on different fresh syncs. To me, this points to a problem handling derivation indexes consistently.
Version
1.7.0
What platform are you using?
macOS
What ui mode are you using?
GUI
Relevant log output