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

When running Wallet only mode, unable to run Split coins command[Bug] #15527

Open
shaneo257 opened this issue Jun 14, 2023 · 11 comments
Open

When running Wallet only mode, unable to run Split coins command[Bug] #15527

shaneo257 opened this issue Jun 14, 2023 · 11 comments
Assignees
Labels
2.0.0 bug Something isn't working Wallet

Comments

@shaneo257
Copy link

What happened?

When trying to run the Split coins command when running in Wallet only mode, it throws an error that the wallet needs to be in sync, when switching to farming mode, it works as intended, reported by user in discord https://discord.com/channels/1034523881404370984/1034870571864948777/1118370242066923652

Version

1.8.1

What platform are you using?

Linux

What ui mode are you using?

GUI

Relevant log output

chia wallet coins split -n 1 -a .01 -t 0x2f663a3298190844cfef29c86a0c82e096a72bcec3cc1e90fe705d1d13351e1f  Exception from 'wallet' {'error': 'Wallet needs to be fully synced before sending transactions', 'success': False}:
Traceback (most recent call last):
  File "chia/cmds/cmds_util.py", line 116, in get_any_service_client
  File "chia/cmds/cmds_util.py", line 235, in execute_with_wallet
  File "chia/cmds/coin_funcs.py", line 219, in async_split
  File "chia/rpc/wallet_rpc_client.py", line 214, in send_transaction_multi
  File "chia/rpc/rpc_client.py", line 61, in fetch
ValueError: {'error': 'Wallet needs to be fully synced before sending transactions', 'success': False}
@shaneo257 shaneo257 added the bug Something isn't working label Jun 14, 2023
@danieljperry
Copy link
Contributor

I confirmed the issue with a wallet on which I had been testing clawbacks. That wallet also has a rather lengthy history (maybe 2-3 months) of standard transactions. In order to obtain a clean log file, I created a new wallet, sent it a coin, and tried to split it. This time the split worked.

So the issue is reproduceable with certain wallets, but not others. This testing (both the error and passing cases) was done on 1.8.2rc3, installed on Windows from binary, running the light wallet only.

@github-actions
Copy link
Contributor

This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days.

@github-actions github-actions bot added the stale-issue flagged as stale and will be closed in 7 days if not updated label Jun 29, 2023
@forReason
Copy link

have the same issue on 1.8.1 wallet

@github-actions github-actions bot removed the stale-issue flagged as stale and will be closed in 7 days if not updated label Jun 30, 2023
@acoolprogrammer123
Copy link

Still seeing this issue in 1.8.2, running ubuntu in wallet mode on testnet.

@github-actions
Copy link
Contributor

This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days.

@github-actions github-actions bot added the stale-issue flagged as stale and will be closed in 7 days if not updated label Jul 26, 2023
@forReason
Copy link

bump

@wjblanke
Copy link
Contributor

We are checking on this. Thanks

@jack60612 jack60612 removed the stale-issue flagged as stale and will be closed in 7 days if not updated label Jul 26, 2023
@jack60612
Copy link
Contributor

the code that raises the error is on line 1033 and 1034, need to look into why its mad when there is no node.

        if await self.service.wallet_state_manager.synced() is False:
            raise ValueError("Wallet needs to be fully synced before sending transactions")

@forReason
Copy link

The issue still persists in the 2.0.0 Version on a fresh wallet

@nick07002
Copy link

Also experiencing this issue. Please prioritize and fix.

@sc0-0001
Copy link

This still remains an issue in 2.1.4. Flagging interest in a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0.0 bug Something isn't working Wallet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants