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

DAOWallet exit_lockup exception [Bug] #16456

Closed
danieljperry opened this issue Sep 29, 2023 · 0 comments
Closed

DAOWallet exit_lockup exception [Bug] #16456

danieljperry opened this issue Sep 29, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@danieljperry
Copy link
Contributor

What happened?

I have a DAO without any active proposals:

chia dao list_proposals -i 3 -f 2408648282

############################
Proposals have 2 blocks of soft close time.
############################

The DAO's wallet has 74,000 CATs locked up:

chia wallet show -f 2408648282

Wallet height: 3256731
Sync status: Synced
Balances, fingerprint: 2408648282

Chia Wallet:
   -Total Balance:         1.499558899998 txch (1499558899998 mojo)
   -Pending Total Balance: 1.499558899998 txch (1499558899998 mojo)
   -Spendable:             1.499558899998 txch (1499558899998 mojo)
   -Type:                  STANDARD_WALLET
   -Wallet ID:             1

Profile 1:
   -Total Balance:         1.0
   -Pending Total Balance: 1.0
   -Spendable:             1.0
   -Type:                  DAO
   -Treasury ID:           25062337440ad9d6d9b7596df783c77986389c1ccd5f2ce13c2c11200ed0c55f
   -Wallet ID:             3

CAT 713bb7e50d4bb570...:
   -Total Balance:         26.0  (26000 mojo)
   -Pending Total Balance: 26.0  (26000 mojo)
   -Spendable:             26.0  (26000 mojo)
   -Type:                  CAT
   -Asset ID:              713bb7e50d4bb570b8bbd3267e2d010f2807e426e4711645a5239665688b18ce
   -Wallet ID:             4

CAT 713bb7e50d4bb570...:
   -Total Balance:         74000.0
   -Pending Total Balance: 0.0
   -Spendable:             0.0
   -Type:                  DAO_CAT
   -Asset ID:              00000000000000030000000000000004713bb7e50d4bb570b8bbd3267e2d010f
   -Wallet ID:             5

I receive an error when I attempt to run the exit_lockup command:
chia dao exit_lockup -i 3 -m 0.00001 -f 2408648282

Exception from 'wallet' {'error': "'DAOWallet' object has no attribute 'create_tandem_xch_tx'", 'success': False, 'traceback': 'Traceback (most recent call last):\n  File "C:\\Users\\User\\Chia\\dao-wallet\\chia-blockchain\\chia\\rpc\\util.py", line 21, in inner\n    res_object = await f(request_data)\n  File "C:\\Users\\User\\Chia\\dao-wallet\\chia-blockchain\\chia\\rpc\\util.py", line 82, in rpc_endpoint\n    return await func(self, request, *args, tx_config=tx_config, extra_conditions=extra_conditions, **kwargs)\n  File "C:\\Users\\User\\Chia\\dao-wallet\\chia-blockchain\\chia\\rpc\\wallet_rpc_api.py", line 2718, in dao_exit_lockup\n    exit_tx = await dao_cat_wallet.exit_vote_state(\n  File "C:\\Users\\User\\Chia\\dao-wallet\\chia-blockchain\\chia\\wallet\\cat_wallet\\dao_cat_wallet.py", line 460, in exit_vote_state\n    chia_tx = await dao_wallet.create_tandem_xch_tx(\nAttributeError: \'DAOWallet\' object has no attribute \'create_tandem_xch_tx\'\n'}:
Traceback (most recent call last):
  File "C:\Users\User\Chia\dao-wallet\chia-blockchain\chia\cmds\cmds_util.py", line 119, in get_any_service_client
    yield node_client, config
  File "C:\Users\User\Chia\dao-wallet\chia-blockchain\chia\cmds\cmds_util.py", line 235, in get_wallet_client
    yield wallet_client, new_fp, config
  File "C:\Users\User\Chia\dao-wallet\chia-blockchain\chia\cmds\dao_funcs.py", line 423, in exit_lockup
    res = await wallet_client.dao_exit_lockup(
  File "C:\Users\User\Chia\dao-wallet\chia-blockchain\chia\rpc\wallet_rpc_client.py", line 1556, in dao_exit_lockup
    response = await self.fetch("dao_exit_lockup", request)
  File "C:\Users\User\Chia\dao-wallet\chia-blockchain\chia\rpc\rpc_client.py", line 61, in fetch
    raise ValueError(res_json)
ValueError: {'error': "'DAOWallet' object has no attribute 'create_tandem_xch_tx'", 'success': False, 'traceback': 'Traceback (most recent call last):\n  File "C:\\Users\\User\\Chia\\dao-wallet\\chia-blockchain\\chia\\rpc\\util.py", line 21, in inner\n    res_object = await f(request_data)\n  File "C:\\Users\\User\\Chia\\dao-wallet\\chia-blockchain\\chia\\rpc\\util.py", line 82, in rpc_endpoint\n    return await func(self, request, *args, tx_config=tx_config, extra_conditions=extra_conditions, **kwargs)\n  File "C:\\Users\\User\\Chia\\dao-wallet\\chia-blockchain\\chia\\rpc\\wallet_rpc_api.py", line 2718, in dao_exit_lockup\n    exit_tx = await dao_cat_wallet.exit_vote_state(\n  File "C:\\Users\\User\\Chia\\dao-wallet\\chia-blockchain\\chia\\wallet\\cat_wallet\\dao_cat_wallet.py", line 460, in exit_vote_state\n    chia_tx = await dao_wallet.create_tandem_xch_tx(\nAttributeError: \'DAOWallet\' object has no attribute \'create_tandem_xch_tx\'\n'}

Version

2.0.1b3.dev316 (dao-wallet branch)

What platform are you using?

Windows

What ui mode are you using?

CLI

Relevant log output

No response

@danieljperry danieljperry added the bug Something isn't working label Sep 29, 2023
geoffwalmsley added a commit that referenced this issue Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants