mel-project / melwalletd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sync wallet failed: state validation error

opened this issue · comments

This bug was reported by Venkat#6928 in the discord community, and I compiled the information he gave me and submitted the issue.

Description

When running melwalletd, a strange error occurs, which is logged as:

[2023-XX-XXTXX:XX:XXZ INFO melwalletd] using node RPC 185.132.179.104:41814
[2023-XX-XXTXX:XX:XXZ INFO melwalletd] starting RPC server at 127.0.0.1:11773
[2023-XX-XXTXX:XX:XXZ WARN melwalletd::database] VERY behind, so doing a full sync of <WALLET_ADDRESS>
[2023-XX-XXTXX:XX:XXZ WARN melwalletd::state] sync <WALLET_NAME> failed: state validation error: got incomplete list of 52 coins rather than 51

Here are some images:

image

image

image

image

image

image

Environment Information

  • OS: Windows/Ubuntu/macOS
  • Commands for melwalletd: melwalletd --wallet-dir <PATH>
  • Commands for melwallet-cli: melwallet-cli summary -w <WALLET_NAME>
  • melwalletd version: 0.6.3
  • melwallet-client version: 0.7.3

Looking into this now -- it's most likely a bug with the indexer / get_some_coins RPC

This is most likely fixed in melblkidx 0.7.2 with a fix for handling liquidity transactions. We will do some more extensive testing on our side, but please let us know if you still see this issue after upgrading in the meantime.

This bug has been fixed after melblkidx and melnode updated and rebuilt their indexes.