Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.82k stars 2.03k forks source link

[Bug] VCs - Issuer unable to revoke a credential that is held by the holder's wallet #16050

Closed esaung closed 1 year ago

esaung commented 1 year ago

What happened?

After a blank VC has been issued to a holder's wallet, the issuer isn't able to revoke the credential from the command line. from the Issuer wallet I tried using both the coin id and the launcher id, but neither command worked.

Version

2.0.0 rc4

What platform are you using?

macOS

What ui mode are you using?

CLI

Relevant log output

(venv) esaung@Chia-Macbook chia-blockchain-gui % chia wallet vcs revoke -l 9b0cc1c3ed1d20d35be478dd9f4e9a0b21d16b5d6370215525a26c71fb07a5d4 -m 0.000005 --generate-new-puzhash

Active Wallet Key (*):
   -Fingerprint:           87074341
   -Label:                 issuer.com (Issuer)
   -Sync Status:           Synced

Wallet Keys:
1)    3830434144   main farm
2)    1645933707   esaung hot wallet
3)    2920272449   TN10 - Custody
4)    3049838316   Documentation demo wallet tn10
5)    1964611303   pawket tn10 wallet
6)    233773231    NFT wallet
7)    2618175902   Background wallet
8)    2780699030   test walleth tn10
9)    1783862898   mainnet exp
10)   2803029382   TN10 main wallet
11)   1498393629   TN10 CF bag wallet
12)   965505910    tn10 chia nft use case test wallet
13)   852356298    nucle wallet
14)   107923803    mainnet test wallet
15)   2691838111   Big Big of NFts
16)   2867337490   5k tn10 NFT test wallet
17)   2752540257   Frodo wallet testnet
18)   3208516197   Jeff's CB test wallet
19)   1622336804   jeff cb test wallet 2 untrusted opera
20)   3554663204   County Demo wallet (Issuer)
21) * 87074341     issuer.com (Issuer)
Choose a wallet key [1-21] ('q' to quit, or Enter to use 87074341): 
Exception from 'wallet' {'error': "bad bytes32 initializer b'<'", 'success': False}:
Traceback (most recent call last):
  File "/Users/esaung/Github/VC/chia-blockchain/chia/cmds/cmds_util.py", line 110, in get_any_service_client
    yield node_client, config
  File "/Users/esaung/Github/VC/chia-blockchain/chia/cmds/cmds_util.py", line 226, in get_wallet_client
    yield wallet_client, new_fp, config
  File "/Users/esaung/Github/VC/chia-blockchain/chia/cmds/wallet_funcs.py", line 1513, in revoke_vc
    txs = await wallet_client.vc_revoke(
  File "/Users/esaung/Github/VC/chia-blockchain/chia/rpc/wallet_rpc_client.py", line 1282, in vc_revoke
    response = await self.fetch(
  File "/Users/esaung/Github/VC/chia-blockchain/chia/rpc/rpc_client.py", line 61, in fetch
    raise ValueError(res_json)
ValueError: {'error': "bad bytes32 initializer b'<'", 'success': False}

(venv) esaung@Chia-Macbook chia-blockchain-gui % chia wallet vcs revoke -l dfd860d692f2fe034653de1255c3b614ef4c3221ee66e8d7f3fed5e84e4df263 -m 0.000005 --generate-new-puzhash

Active Wallet Key (*):
   -Fingerprint:           87074341
   -Label:                 issuer.com (Issuer)
   -Sync Status:           Synced

Wallet Keys:
1)    3830434144   main farm
2)    1645933707   esaung hot wallet
3)    2920272449   TN10 - Custody
4)    3049838316   Documentation demo wallet tn10
5)    1964611303   pawket tn10 wallet
6)    233773231    NFT wallet
7)    2618175902   Background wallet
8)    2780699030   test walleth tn10
9)    1783862898   mainnet exp
10)   2803029382   TN10 main wallet
11)   1498393629   TN10 CF bag wallet
12)   965505910    tn10 chia nft use case test wallet
13)   852356298    nucle wallet
14)   107923803    mainnet test wallet
15)   2691838111   Big Big of NFts
16)   2867337490   5k tn10 NFT test wallet
17)   2752540257   Frodo wallet testnet
18)   3208516197   Jeff's CB test wallet
19)   1622336804   jeff cb test wallet 2 untrusted opera
20)   3554663204   County Demo wallet (Issuer)
21) * 87074341     issuer.com (Issuer)
Choose a wallet key [1-21] ('q' to quit, or Enter to use 87074341): 
Exception from 'wallet' {'error': 'coin_state.coin must be spent coin', 'success': False}:
Traceback (most recent call last):
  File "/Users/esaung/Github/VC/chia-blockchain/chia/cmds/cmds_util.py", line 110, in get_any_service_client
    yield node_client, config
  File "/Users/esaung/Github/VC/chia-blockchain/chia/cmds/cmds_util.py", line 226, in get_wallet_client
    yield wallet_client, new_fp, config
  File "/Users/esaung/Github/VC/chia-blockchain/chia/cmds/wallet_funcs.py", line 1513, in revoke_vc
    txs = await wallet_client.vc_revoke(
  File "/Users/esaung/Github/VC/chia-blockchain/chia/rpc/wallet_rpc_client.py", line 1282, in vc_revoke
    response = await self.fetch(
  File "/Users/esaung/Github/VC/chia-blockchain/chia/rpc/rpc_client.py", line 61, in fetch
    raise ValueError(res_json)
ValueError: {'error': 'coin_state.coin must be spent coin', 'success': False}
Quexington commented 1 year ago

Hey @esaung do you have the relevant log output? When we get RPC errors like that it's helpful to see a stacktrace from the backend.

esaung commented 1 year ago

Does this bit of logs help? 2023-08-16T07:26:17.110 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056435 2023-08-16T07:27:24.678 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056436 timestamp: 1692188806 2023-08-16T07:27:24.680 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056436 2023-08-16T07:27:36.359 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056437 timestamp: 1692188806 2023-08-16T07:27:36.360 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056437 2023-08-16T07:27:46.948 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056438 timestamp: 1692188806 2023-08-16T07:27:46.949 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056438 2023-08-16T07:27:48.955 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056439 timestamp: 1692188806 2023-08-16T07:27:48.956 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056439 2023-08-16T07:28:16.479 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056440 timestamp: 1692188859 2023-08-16T07:28:16.480 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056440 2023-08-16T07:28:25.948 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056441 timestamp: 1692188859 2023-08-16T07:28:25.949 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056441 2023-08-16T07:28:27.924 wallet chia.wallet.wallet_node : INFO new coin state received (1-1/ 1) 2023-08-16T07:28:27.942 wallet chia.wallet.wallet_node : INFO SpendBundle has been received and accepted to mempool by the FullNode. {'error': None, 'status': 1, 'txid': '0xf77a3413175e86cc3e69a34381931b73ac1963f212d3d412d945c294e5e6013b'} 2023-08-16T07:28:27.944 wallet chia.wallet.wallet_state_manager: INFO Checking if we need to cancel trade for tx: f77a3413175e86cc3e69a34381931b73ac1963f212d3d412d945c294e5e6013b 2023-08-16T07:28:36.883 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056442 timestamp: 1692188859 2023-08-16T07:28:36.884 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056442 2023-08-16T07:29:30.381 wallet chia.wallet.wallet_node : INFO request coin: 38ea546b8b2379c03b13c62c0a04258b4eb4f2166e36e264c6b5bd616d025f8aCoinState { coin: Coin { parent_coin_info: 102d30a563664d97d342eb5a2edaff217f8f9f5414f9259d4edb1805cc3913b7, puzzle_hash: cfa9a65808a9565153d9a39154f73ff8b33e84cc4a2dc15869326c836221eac1, amount: 1 }, spent_height: None, created_height: Some(3056443) } 2023-08-16T07:29:30.384 wallet chia.wallet.wallet_node : INFO request coin: 42dc52de61cebbd6b1d1e6a8eb0397f374bb88094c5c1c0f02d2fdfc659373b5CoinState { coin: Coin { parent_coin_info: b14982479d32f6f40b419e4517c3100a4fce2263ad963f21c400791b36a4fb81, puzzle_hash: 1eeed6003a9fd80ca951efa1698ff9ce624995b8a8d0aae873d0f14c0cc41f7f, amount: 59499992 }, spent_height: Some(3056443), created_height: Some(3056435) } 2023-08-16T07:29:30.385 wallet chia.wallet.wallet_node : INFO request coin: cc6f0915f879575d6fa77d5297ec76778d38372141e11b86fad96f2f470251f5CoinState { coin: Coin { parent_coin_info: 42dc52de61cebbd6b1d1e6a8eb0397f374bb88094c5c1c0f02d2fdfc659373b5, puzzle_hash: 1eeed6003a9fd80ca951efa1698ff9ce624995b8a8d0aae873d0f14c0cc41f7f, amount: 59449991 }, spent_height: None, created_height: Some(3056443) } 2023-08-16T07:29:30.385 wallet chia.wallet.wallet_node : INFO request coin: 72f744b93b146d515bce67cfb3d650cd146f693d0153c4110b672b8cc42e3144CoinState { coin: Coin { parent_coin_info: fcc91476739404c286a886923fd4921e75d667762063274972e540178790c3b2, puzzle_hash: 3534413b94f71df57cdc21b752cb925b4a1610074ae8b954cf256f3218641197, amount: 1 }, spent_height: Some(3056443), created_height: Some(3056435) } 2023-08-16T07:29:30.385 wallet chia.wallet.wallet_node : INFO request coin: 226f52299cc03c365109cb4c82ab224d5dcc51c6e478f64f202fb7217282fab3CoinState { coin: Coin { parent_coin_info: 42dc52de61cebbd6b1d1e6a8eb0397f374bb88094c5c1c0f02d2fdfc659373b5, puzzle_hash: eff07522495060c066f66f32acc2a77e3a3e737aca8baea4d1a64ea4cdc13da9, amount: 1 }, spent_height: Some(3056443), created_height: Some(3056443) } 2023-08-16T07:29:30.385 wallet chia.wallet.wallet_node : INFO request coin: 102d30a563664d97d342eb5a2edaff217f8f9f5414f9259d4edb1805cc3913b7CoinState { coin: Coin { parent_coin_info: 226f52299cc03c365109cb4c82ab224d5dcc51c6e478f64f202fb7217282fab3, puzzle_hash: 52eab06f63fe421e80f951623c18dc4c4b89e2068371754a60587086787f182d, amount: 1 }, spent_height: Some(3056443), created_height: Some(3056443) } 2023-08-16T07:29:30.387 wallet chia.wallet.wallet_node : INFO clear_after_height 3056442 for peer WSChiaConnection(local_type=<NodeType.WALLET: 6>, local_port=8449, local_capabilities=[<Capability.BASE: 1>, <Capability.BLOCK_HEADERS: 2>, <Capability.RATE_LIMITS_V2: 3>], peer_info=PeerInfo(_ip=IPv4Address('192.168.0.117'), _port=58444), peer_node_id=<bytes32: 657fa4fc3c9462a6578c4dc94fca07d1eabc2bef06f99ce9fa8a3dee9622afd2>, outbound_rate_limiter=<chia.server.rate_limits.RateLimiter object at 0x120347370>, inbound_rate_limiter=<chia.server.rate_limits.RateLimiter object at 0x1203471c0>, is_outbound=True, creation_time=1692186353.5780952, bytes_read=25996640, bytes_written=80545, last_message_time=1692188970.380142, peer_server_port=58444, closed=False, connection_type=<NodeType.FULL_NODE: 1>, request_nonce=678, peer_capabilities=[<Capability.BASE: 1>, <Capability.BLOCK_HEADERS: 2>, <Capability.RATE_LIMITS_V2: 3>], version='2.0.0rc5', protocol_version=<Version('0.0.35')>) 2023-08-16T07:29:30.388 wallet chia.wallet.wallet_node : INFO Added to race cache: 3056443, CoinState { coin: Coin { parent_coin_info: b14982479d32f6f40b419e4517c3100a4fce2263ad963f21c400791b36a4fb81, puzzle_hash: 1eeed6003a9fd80ca951efa1698ff9ce624995b8a8d0aae873d0f14c0cc41f7f, amount: 59499992 }, spent_height: Some(3056443), created_height: Some(3056435) } 2023-08-16T07:29:30.389 wallet chia.wallet.wallet_node : INFO Added to race cache: 3056443, CoinState { coin: Coin { parent_coin_info: fcc91476739404c286a886923fd4921e75d667762063274972e540178790c3b2, puzzle_hash: 3534413b94f71df57cdc21b752cb925b4a1610074ae8b954cf256f3218641197, amount: 1 }, spent_height: Some(3056443), created_height: Some(3056435) } 2023-08-16T07:29:30.389 wallet chia.wallet.wallet_node : INFO Added to race cache: 3056443, CoinState { coin: Coin { parent_coin_info: 102d30a563664d97d342eb5a2edaff217f8f9f5414f9259d4edb1805cc3913b7, puzzle_hash: cfa9a65808a9565153d9a39154f73ff8b33e84cc4a2dc15869326c836221eac1, amount: 1 }, spent_height: None, created_height: Some(3056443) } 2023-08-16T07:29:30.389 wallet chia.wallet.wallet_node : INFO Added to race cache: 3056443, CoinState { coin: Coin { parent_coin_info: 42dc52de61cebbd6b1d1e6a8eb0397f374bb88094c5c1c0f02d2fdfc659373b5, puzzle_hash: 1eeed6003a9fd80ca951efa1698ff9ce624995b8a8d0aae873d0f14c0cc41f7f, amount: 59449991 }, spent_height: None, created_height: Some(3056443) } 2023-08-16T07:29:30.389 wallet chia.wallet.wallet_node : INFO Added to race cache: 3056443, CoinState { coin: Coin { parent_coin_info: 42dc52de61cebbd6b1d1e6a8eb0397f374bb88094c5c1c0f02d2fdfc659373b5, puzzle_hash: eff07522495060c066f66f32acc2a77e3a3e737aca8baea4d1a64ea4cdc13da9, amount: 1 }, spent_height: Some(3056443), created_height: Some(3056443) } 2023-08-16T07:29:30.389 wallet chia.wallet.wallet_node : INFO Added to race cache: 3056443, CoinState { coin: Coin { parent_coin_info: 226f52299cc03c365109cb4c82ab224d5dcc51c6e478f64f202fb7217282fab3, puzzle_hash: 52eab06f63fe421e80f951623c18dc4c4b89e2068371754a60587086787f182d, amount: 1 }, spent_height: Some(3056443), created_height: Some(3056443) } 2023-08-16T07:29:30.878 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056443 timestamp: 1692188939 2023-08-16T07:29:30.879 wallet chia.wallet.wallet_node : INFO Receiving race state: {CoinState { coin: Coin { parent_coin_info: 102d30a563664d97d342eb5a2edaff217f8f9f5414f9259d4edb1805cc3913b7, puzzle_hash: cfa9a65808a9565153d9a39154f73ff8b33e84cc4a2dc15869326c836221eac1, amount: 1 }, spent_height: None, created_height: Some(3056443) }, CoinState { coin: Coin { parent_coin_info: b14982479d32f6f40b419e4517c3100a4fce2263ad963f21c400791b36a4fb81, puzzle_hash: 1eeed6003a9fd80ca951efa1698ff9ce624995b8a8d0aae873d0f14c0cc41f7f, amount: 59499992 }, spent_height: Some(3056443), created_height: Some(3056435) }, CoinState { coin: Coin { parent_coin_info: 42dc52de61cebbd6b1d1e6a8eb0397f374bb88094c5c1c0f02d2fdfc659373b5, puzzle_hash: 1eeed6003a9fd80ca951efa1698ff9ce624995b8a8d0aae873d0f14c0cc41f7f, amount: 59449991 }, spent_height: None, created_height: Some(3056443) }, CoinState { coin: Coin { parent_coin_info: fcc91476739404c286a886923fd4921e75d667762063274972e540178790c3b2, puzzle_hash: 3534413b94f71df57cdc21b752cb925b4a1610074ae8b954cf256f3218641197, amount: 1 }, spent_height: Some(3056443), created_height: Some(3056435) }, CoinState { coin: Coin { parent_coin_info: 42dc52de61cebbd6b1d1e6a8eb0397f374bb88094c5c1c0f02d2fdfc659373b5, puzzle_hash: eff07522495060c066f66f32acc2a77e3a3e737aca8baea4d1a64ea4cdc13da9, amount: 1 }, spent_height: Some(3056443), created_height: Some(3056443) }, CoinState { coin: Coin { parent_coin_info: 226f52299cc03c365109cb4c82ab224d5dcc51c6e478f64f202fb7217282fab3, puzzle_hash: 52eab06f63fe421e80f951623c18dc4c4b89e2068371754a60587086787f182d, amount: 1 }, spent_height: Some(3056443), created_height: Some(3056443) }} 2023-08-16T07:29:30.945 wallet chia.wallet.wallet_node : INFO new coin state received (1-6/ 6) 2023-08-16T07:29:30.957 wallet chia.wallet.wallet_state_manager: INFO Setting tx_id: f77a3413175e86cc3e69a34381931b73ac1963f212d3d412d945c294e5e6013b to confirmed 2023-08-16T07:29:31.014 wallet chia.wallet.wallet_state_manager: WARNING Verified credential 7076005a3bcb3e1ec54889686cf3dc8f373af23107b0a6cad08afb8a37fb75f3 is not belong to the current wallet. 2023-08-16T07:29:31.058 wallet chia.wallet.wallet_state_manager: INFO Found verified credential 226f52299cc03c365109cb4c82ab224d5dcc51c6e478f64f202fb7217282fab3. 2023-08-16T07:29:31.132 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056443 2023-08-16T07:30:01.052 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056444 timestamp: 1692188976 2023-08-16T07:30:01.054 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056444 2023-08-16T07:30:21.158 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056445 timestamp: 1692188976 2023-08-16T07:30:21.159 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056445 2023-08-16T07:30:25.994 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056446 timestamp: 1692188976 2023-08-16T07:30:25.995 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056446 2023-08-16T07:30:33.839 daemon main : INFO ConnectionClosed. Closing websocket with ['Unknown'] 2023-08-16T07:30:35.862 wallet chia.wallet.wallet_state_manager: INFO Start: Creating puzzle hashes from 628 to 628 for wallet_id: 1 2023-08-16T07:30:35.867 wallet chia.wallet.wallet_state_manager: INFO Done: Creating puzzle hashes from 628 to 628 for wallet_id: 1 Time: 0.005361795425415039 seconds 2023-08-16T07:30:35.869 wallet chia.wallet.wallet_state_manager: INFO Start: Creating puzzle hashes from 628 to 628 for wallet_id: 2 2023-08-16T07:30:35.874 wallet chia.wallet.wallet_state_manager: INFO Done: Creating puzzle hashes from 628 to 628 for wallet_id: 2 Time: 0.01252889633178711 seconds 2023-08-16T07:30:35.875 wallet chia.wallet.wallet_state_manager: INFO Updating last used derivation index: 203 2023-08-16T07:30:35.879 wallet chia.wallet.wallet : INFO coins is not None {Coin { parent_coin_info: 42dc52de61cebbd6b1d1e6a8eb0397f374bb88094c5c1c0f02d2fdfc659373b5, puzzle_hash: 1eeed6003a9fd80ca951efa1698ff9ce624995b8a8d0aae873d0f14c0cc41f7f, amount: 59449991 }} 2023-08-16T07:30:35.879 wallet chia.wallet.wallet : INFO spend_value is 59449991 and total_amount is 5000000 2023-08-16T07:30:35.882 wallet chia.wallet.wallet_state_manager: INFO Start: Creating puzzle hashes from 629 to 629 for wallet_id: 1 2023-08-16T07:30:35.886 wallet chia.wallet.wallet_state_manager: INFO Done: Creating puzzle hashes from 629 to 629 for wallet_id: 1 Time: 0.00391387939453125 seconds 2023-08-16T07:30:35.886 wallet chia.wallet.wallet_state_manager: INFO Start: Creating puzzle hashes from 629 to 629 for wallet_id: 2 2023-08-16T07:30:35.891 wallet chia.wallet.wallet_state_manager: INFO Done: Creating puzzle hashes from 629 to 629 for wallet_id: 2 Time: 0.008893251419067383 seconds 2023-08-16T07:30:35.891 wallet chia.wallet.wallet_state_manager: INFO Updating last used derivation index: 204 2023-08-16T07:30:35.895 wallet chia.wallet.wallet : INFO About to sign a transaction: [CoinSpend(coin=Coin { parent_coin_info: 42dc52de61cebbd6b1d1e6a8eb0397f374bb88094c5c1c0f02d2fdfc659373b5, puzzle_hash: 1eeed6003a9fd80ca951efa1698ff9ce624995b8a8d0aae873d0f14c0cc41f7f, amount: 59449991 }, puzzle_reveal=SerializedProgram(ff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0a6252642d8a517436a68eb02fd7e42bee5a2592729d6efb6500ec135b7ea25c4ff688cbbef3f746a6d9b94948216ed9eff018080), solution=SerializedProgram(ff80ffff01ffff33ffa0eb29b1c427849dd5632f5154914aa01331bd2cd03458143430bdca4df5921df4ff84033ed74780ffff34ff834c4b4080ffff3cffa0e7c76ef0fa194753036113ca67f51401dbd5f41a93fb38add5229db90c7b153b80ffff3dffa0a369d5b9ff34422ea1b42b9c32e5cb3e30f38fd36eae023aff0d8d1986c229938080ff8080))] 2023-08-16T07:30:35.962 wallet chia.wallet.wallet_node : INFO new coin state received (1-1/ 1) 2023-08-16T07:30:35.977 wallet chia.wallet.wallet_node : INFO new coin state received (1-3/ 3) 2023-08-16T07:30:35.992 wallet chia.wallet.wallet_node : INFO SpendBundle has been received and accepted to mempool by the FullNode. {'error': None, 'status': 1, 'txid': '0x76305d0f3c983fc16ebb9aa90869b0ecef19a9e59a20d594a8652345deabadb6'} 2023-08-16T07:30:35.994 wallet chia.wallet.wallet_state_manager: INFO Checking if we need to cancel trade for tx: 76305d0f3c983fc16ebb9aa90869b0ecef19a9e59a20d594a8652345deabadb6 2023-08-16T07:30:42.298 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056447 timestamp: 1692189010 2023-08-16T07:30:42.299 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056447 2023-08-16T07:30:44.066 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056448 timestamp: 1692189010 2023-08-16T07:30:44.067 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056448 2023-08-16T07:30:46.890 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056449 timestamp: 1692189010 2023-08-16T07:30:46.891 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056449 2023-08-16T07:30:56.374 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056450 timestamp: 1692189010 2023-08-16T07:30:56.375 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056450 2023-08-16T07:31:10.112 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056451 timestamp: 1692189010 2023-08-16T07:31:10.113 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056451 2023-08-16T07:31:15.955 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056452 timestamp: 1692189010 2023-08-16T07:31:15.956 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056452 2023-08-16T07:31:17.407 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056453 timestamp: 1692189010 2023-08-16T07:31:17.408 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056453 2023-08-16T07:31:30.188 wallet chia.wallet.wallet_node : INFO request coin: 3ae8bf8c9ca8b31808e60e468e81cb24e013e27b91eff98b5dd7cca271889018CoinState { coin: Coin { parent_coin_info: 4a2ec7d28a48904d269a9fc721fac8015a188de6134a4f1f239eca92f1a16cae, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: None, created_height: Some(3056454) } 2023-08-16T07:31:30.190 wallet chia.wallet.wallet_node : INFO request coin: aa8371d718b2f9855944b6bb1373d22855ab1c43da6fcd864657b85ba1b348b9CoinState { coin: Coin { parent_coin_info: cc6f0915f879575d6fa77d5297ec76778d38372141e11b86fad96f2f470251f5, puzzle_hash: eb29b1c427849dd5632f5154914aa01331bd2cd03458143430bdca4df5921df4, amount: 54449991 }, spent_height: None, created_height: Some(3056454) } 2023-08-16T07:31:30.191 wallet chia.wallet.wallet_node : INFO request coin: 7da949ea7612aa6c97af9f47df654748be514b9004eda3c4ebd79325502fd12eCoinState { coin: Coin { parent_coin_info: 38ea546b8b2379c03b13c62c0a04258b4eb4f2166e36e264c6b5bd616d025f8a, puzzle_hash: e72e9f13eab7d30af75ed1b9cb8092f734e305bbcead323624a1a1972dbddb66, amount: 1 }, spent_height: None, created_height: Some(3056454) } 2023-08-16T07:31:30.191 wallet chia.wallet.wallet_node : INFO request coin: 38ea546b8b2379c03b13c62c0a04258b4eb4f2166e36e264c6b5bd616d025f8aCoinState { coin: Coin { parent_coin_info: 102d30a563664d97d342eb5a2edaff217f8f9f5414f9259d4edb1805cc3913b7, puzzle_hash: cfa9a65808a9565153d9a39154f73ff8b33e84cc4a2dc15869326c836221eac1, amount: 1 }, spent_height: Some(3056454), created_height: Some(3056443) } 2023-08-16T07:31:30.192 wallet chia.wallet.wallet_node : INFO request coin: 4a2ec7d28a48904d269a9fc721fac8015a188de6134a4f1f239eca92f1a16caeCoinState { coin: Coin { parent_coin_info: 96350f078f7aa783137425ea9ee79ac506d97dc0e63219b2f2ed439a9d051f21, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: Some(3056454), created_height: Some(3056435) } 2023-08-16T07:31:30.192 wallet chia.wallet.wallet_node : INFO request coin: cc6f0915f879575d6fa77d5297ec76778d38372141e11b86fad96f2f470251f5CoinState { coin: Coin { parent_coin_info: 42dc52de61cebbd6b1d1e6a8eb0397f374bb88094c5c1c0f02d2fdfc659373b5, puzzle_hash: 1eeed6003a9fd80ca951efa1698ff9ce624995b8a8d0aae873d0f14c0cc41f7f, amount: 59449991 }, spent_height: Some(3056454), created_height: Some(3056443) } 2023-08-16T07:31:30.195 wallet chia.wallet.wallet_node : INFO clear_after_height 3056453 for peer WSChiaConnection(local_type=<NodeType.WALLET: 6>, local_port=8449, local_capabilities=[<Capability.BASE: 1>, <Capability.BLOCK_HEADERS: 2>, <Capability.RATE_LIMITS_V2: 3>], peer_info=PeerInfo(_ip=IPv4Address('192.168.0.117'), _port=58444), peer_node_id=<bytes32: 657fa4fc3c9462a6578c4dc94fca07d1eabc2bef06f99ce9fa8a3dee9622afd2>, outbound_rate_limiter=<chia.server.rate_limits.RateLimiter object at 0x120347370>, inbound_rate_limiter=<chia.server.rate_limits.RateLimiter object at 0x1203471c0>, is_outbound=True, creation_time=1692186353.5780952, bytes_read=26194146, bytes_written=92186, last_message_time=1692189090.187165, peer_server_port=58444, closed=False, connection_type=<NodeType.FULL_NODE: 1>, request_nonce=753, peer_capabilities=[<Capability.BASE: 1>, <Capability.BLOCK_HEADERS: 2>, <Capability.RATE_LIMITS_V2: 3>], version='2.0.0rc5', protocol_version=<Version('0.0.35')>) 2023-08-16T07:31:30.198 wallet chia.wallet.wallet_node : INFO Added to race cache: 3056454, CoinState { coin: Coin { parent_coin_info: 96350f078f7aa783137425ea9ee79ac506d97dc0e63219b2f2ed439a9d051f21, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: Some(3056454), created_height: Some(3056435) } 2023-08-16T07:31:30.199 wallet chia.wallet.wallet_node : INFO Added to race cache: 3056454, CoinState { coin: Coin { parent_coin_info: 102d30a563664d97d342eb5a2edaff217f8f9f5414f9259d4edb1805cc3913b7, puzzle_hash: cfa9a65808a9565153d9a39154f73ff8b33e84cc4a2dc15869326c836221eac1, amount: 1 }, spent_height: Some(3056454), created_height: Some(3056443) } 2023-08-16T07:31:30.199 wallet chia.wallet.wallet_node : INFO Added to race cache: 3056454, CoinState { coin: Coin { parent_coin_info: 42dc52de61cebbd6b1d1e6a8eb0397f374bb88094c5c1c0f02d2fdfc659373b5, puzzle_hash: 1eeed6003a9fd80ca951efa1698ff9ce624995b8a8d0aae873d0f14c0cc41f7f, amount: 59449991 }, spent_height: Some(3056454), created_height: Some(3056443) } 2023-08-16T07:31:30.200 wallet chia.wallet.wallet_node : INFO Added to race cache: 3056454, CoinState { coin: Coin { parent_coin_info: 4a2ec7d28a48904d269a9fc721fac8015a188de6134a4f1f239eca92f1a16cae, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: None, created_height: Some(3056454) } 2023-08-16T07:31:30.200 wallet chia.wallet.wallet_node : INFO Added to race cache: 3056454, CoinState { coin: Coin { parent_coin_info: cc6f0915f879575d6fa77d5297ec76778d38372141e11b86fad96f2f470251f5, puzzle_hash: eb29b1c427849dd5632f5154914aa01331bd2cd03458143430bdca4df5921df4, amount: 54449991 }, spent_height: None, created_height: Some(3056454) } 2023-08-16T07:31:30.200 wallet chia.wallet.wallet_node : INFO Added to race cache: 3056454, CoinState { coin: Coin { parent_coin_info: 38ea546b8b2379c03b13c62c0a04258b4eb4f2166e36e264c6b5bd616d025f8a, puzzle_hash: e72e9f13eab7d30af75ed1b9cb8092f734e305bbcead323624a1a1972dbddb66, amount: 1 }, spent_height: None, created_height: Some(3056454) } 2023-08-16T07:31:30.484 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056454 timestamp: 1692189061 2023-08-16T07:31:30.485 wallet chia.wallet.wallet_node : INFO Receiving race state: {CoinState { coin: Coin { parent_coin_info: 4a2ec7d28a48904d269a9fc721fac8015a188de6134a4f1f239eca92f1a16cae, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: None, created_height: Some(3056454) }, CoinState { coin: Coin { parent_coin_info: cc6f0915f879575d6fa77d5297ec76778d38372141e11b86fad96f2f470251f5, puzzle_hash: eb29b1c427849dd5632f5154914aa01331bd2cd03458143430bdca4df5921df4, amount: 54449991 }, spent_height: None, created_height: Some(3056454) }, CoinState { coin: Coin { parent_coin_info: 38ea546b8b2379c03b13c62c0a04258b4eb4f2166e36e264c6b5bd616d025f8a, puzzle_hash: e72e9f13eab7d30af75ed1b9cb8092f734e305bbcead323624a1a1972dbddb66, amount: 1 }, spent_height: None, created_height: Some(3056454) }, CoinState { coin: Coin { parent_coin_info: 102d30a563664d97d342eb5a2edaff217f8f9f5414f9259d4edb1805cc3913b7, puzzle_hash: cfa9a65808a9565153d9a39154f73ff8b33e84cc4a2dc15869326c836221eac1, amount: 1 }, spent_height: Some(3056454), created_height: Some(3056443) }, CoinState { coin: Coin { parent_coin_info: 96350f078f7aa783137425ea9ee79ac506d97dc0e63219b2f2ed439a9d051f21, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: Some(3056454), created_height: Some(3056435) }, CoinState { coin: Coin { parent_coin_info: 42dc52de61cebbd6b1d1e6a8eb0397f374bb88094c5c1c0f02d2fdfc659373b5, puzzle_hash: 1eeed6003a9fd80ca951efa1698ff9ce624995b8a8d0aae873d0f14c0cc41f7f, amount: 59449991 }, spent_height: Some(3056454), created_height: Some(3056443) }}

esaung commented 1 year ago

another bit of logs that might help

2023-08-16T07:35:04.410 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056463 2023-08-16T07:35:33.254 daemon main : INFO ConnectionClosed. Closing websocket with ['Unknown'] 2023-08-16T07:35:43.633 daemon main : INFO ConnectionClosed. Closing websocket with ['Unknown'] 2023-08-16T07:36:27.887 daemon main : INFO ConnectionClosed. Closing websocket with ['Unknown'] 2023-08-16T07:36:28.578 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3056464 timestamp: 1692189351 2023-08-16T07:36:28.580 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3056464 2023-08-16T07:36:29.899 wallet chia.rpc.util : WARNING Error while handling message: Traceback (most recent call last): File "/Users/esaung/Github/VC/chia-blockchain/chia/rpc/util.py", line 18, in inner res_object = await f(request_data) File "/Users/esaung/Github/VC/chia-blockchain/chia/rpc/wallet_rpc_api.py", line 3604, in vc_spend txs = await vc_wallet.generate_signed_transaction( File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/vc_wallet/vc_wallet.py", line 240, in generate_signed_transaction vc_record = await self.get_vc_record_for_launcher_id(vc_id) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/vc_wallet/vc_wallet.py", line 142, in get_vc_record_for_launcher_id raise ValueError(f"Verified credential {launcher_id.hex()} doesn't exist.") # pragma: no cover ValueError: Verified credential 226f52299cc03c365109cb4c82ab224d5dcc51c6e478f64f202fb7217282fab3 doesn't exist.

Quexington commented 1 year ago

Unfortunately those logs don't have quite what I'm looking for. Try searching for strings matching the exceptions: bad bytes32 initializer and coin_state.coin must be spent coin

esaung commented 1 year ago

here try these logs: 2023-08-17T13:32:16.555 wallet wallet_server : INFO Connection closed: 192.168.0.117, node id: 657fa4fc3c9462a6578c4dc94fca07d1eabc2bef06f99ce9fa8a3dee9622afd2 2023-08-17T13:32:16.565 wallet chia.wallet.wallet_node : INFO Selected multiprocessing start method: default 2023-08-17T13:32:17.339 wallet chia.wallet.wallet_node : INFO Wallet is logged in using key with fingerprint: 3554663204 2023-08-17T13:32:17.340 wallet chia.wallet.wallet_node : INFO Updated last used fingerprint: 3554663204 2023-08-17T13:32:17.347 wallet chia.wallet.wallet : INFO coins is not None {Coin { parent_coin_info: 7b885c0198ceca759b8926ed9865a0ec8343f7062d6365eccc7603a6678bdf73, puzzle_hash: ec8a29c665a0652b8f261b06e1632087f40d4f4ef355892958d85650bb729a6a, amount: 9498484999999 }} 2023-08-17T13:32:17.347 wallet chia.wallet.wallet : INFO spend_value is 9498484999999 and total_amount is 9498484999999 2023-08-17T13:32:17.350 wallet chia.wallet.wallet : INFO About to sign a transaction: [CoinSpend(coin=Coin { parent_coin_info: 7b885c0198ceca759b8926ed9865a0ec8343f7062d6365eccc7603a6678bdf73, puzzle_hash: ec8a29c665a0652b8f261b06e1632087f40d4f4ef355892958d85650bb729a6a, amount: 9498484999999 }, puzzle_reveal=SerializedProgram(ff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0a6c0daad1db7ecf5afa89a3d1fb3b947b6e54c4f409f7742c221f7807c9a89ae4748154eed2198ab5bda3ea6ca9239c1ff018080), solution=SerializedProgram(ff80ffff01ffff33ffa0ec8a29c665a0652b8f261b06e1632087f40d4f4ef355892958d85650bb729a6aff8608a389d3073f80ffff3cffa01a4ecb59d498373fa49d7b27371c017b30bed9d0c6b36154489457709f840ebe8080ff8080))] 2023-08-17T13:32:17.355 wallet chia.wallet.wallet : INFO Cost of a single tx for standard wallet: 8624562 2023-08-17T13:32:17.358 wallet chia.wallet.did_wallet.did_wallet: INFO Confirmed balance for did wallet is 1 2023-08-17T13:32:17.359 wallet chia.wallet.did_wallet.did_wallet: INFO Confirmed balance for did wallet is 1 2023-08-17T13:32:17.375 wallet wallet_server : INFO Connected with full_node PeerInfo(_ip=IPv4Address('192.168.0.117'), _port=58444) 2023-08-17T13:32:22.760 wallet chia.full_node.weight_proof: INFO validating 7974 sub epochs 2023-08-17T13:32:22.762 wallet chia.full_node.weight_proof: INFO validate weight proof peak height 3062224 2023-08-17T13:32:33.070 wallet chia.wallet.wallet_weight_proof_handler: INFO It took 10.282445907592773 time to validate the weight proof 9bcd8d73d08d75b67192fe23955551a5329381c000c294d5ddbf9917d4afb338 2023-08-17T13:32:33.224 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062224 timestamp: 1692297082 2023-08-17T13:32:33.276 wallet chia.wallet.wallet_state_manager: INFO set_sync_mode syncing - range: 3061593-3062224 2023-08-17T13:32:33.277 wallet chia.wallet.wallet_node : INFO Starting sync trusted: False to peer 192.168.0.117 2023-08-17T13:32:33.277 wallet chia.wallet.wallet_node : INFO perform_atomic_rollback to 3060897 2023-08-17T13:32:35.452 wallet chia.wallet.wallet_node : INFO new coin state received (1-3/ 3) 2023-08-17T13:32:35.488 wallet chia.wallet.wallet_state_manager: INFO Setting tx_id: 036b21494a00666037f1581f7c41e8d928ab3bceb48ae93849075153395d79a9 to confirmed 2023-08-17T13:32:35.558 wallet chia.wallet.wallet_state_manager: INFO Found verified credential 8a465850faca6f10c9becf3217df0b12c91ffd455e63de01a1215317d9ab2968. 2023-08-17T13:32:35.598 wallet chia.wallet.wallet_node : INFO Successfully subscribed and updated 1264 puzzle hashes 2023-08-17T13:32:35.652 wallet chia.wallet.wallet_node : INFO new coin state received (51-60/ 152) 2023-08-17T13:32:36.343 wallet chia.wallet.wallet_node : INFO new coin state received (11-20/ 152) 2023-08-17T13:32:36.505 wallet chia.wallet.wallet_state_manager: WARNING Verified credential f002d7a69117ebfb9e09960a71c38b2d01a3d4a113392e01f08dfb64e7a61f4e is not belong to the current wallet. 2023-08-17T13:32:36.691 wallet chia.wallet.wallet_node : INFO new coin state received (61-70/ 152) 2023-08-17T13:32:37.071 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: dda27039db024ec941a899d326f2253a235c933d3d6b4c6644db34b5126b9307, puzzle_hash: 61ac4a79982ae3db4242ba5b0a02ab35364cf4b33169567b75c829898669433d, amount: 1 }, spent_height: None, created_height: Some(3054444) }, error: Error getting new VC from coin spend, probably the child singleton is not a VC Traceback (most recent call last): File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1307, in _add_coin_states wallet_identifier = await self.determine_coin_type(peer, coin_state, fork_height) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 701, in determine_coin_type return await self.handle_vc(coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1235, in handle_vc vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(parent_coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 635, in get_next_from_coin_spend raise ValueError("Error getting new VC from coin spend, probably the child singleton is not a VC") ValueError: Error getting new VC from coin spend, probably the child singleton is not a VC 2023-08-17T13:32:37.091 wallet chia.wallet.wallet_node : INFO new coin state received (1-10/ 152) 2023-08-17T13:32:37.576 wallet chia.wallet.wallet_node : INFO new coin state received (71-80/ 152) 2023-08-17T13:32:37.853 wallet chia.wallet.wallet_node : INFO new coin state received (101-110/ 152) 2023-08-17T13:32:37.955 wallet chia.wallet.wallet_state_manager: WARNING Verified credential 5fa375b470e62ed68d3b050d50efbb8df597c3bd0cacd3c537b3ffb1bdddccfb is not belong to the current wallet. 2023-08-17T13:32:38.059 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: be2993d2261cd5cc96906d7a2c91f05306604954127a4b6239d0455fcad7a878, puzzle_hash: 9989edb21b7eb2ef8eea8d3ae4c65bbc9e8979bb2e188f525d647c3bf03428e5, amount: 1 }, spent_height: None, created_height: Some(3055195) }, error: Error getting new VC from coin spend, probably the child singleton is not a VC Traceback (most recent call last): File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1307, in _add_coin_states wallet_identifier = await self.determine_coin_type(peer, coin_state, fork_height) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 701, in determine_coin_type return await self.handle_vc(coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1235, in handle_vc vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(parent_coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 635, in get_next_from_coin_spend raise ValueError("Error getting new VC from coin spend, probably the child singleton is not a VC") ValueError: Error getting new VC from coin spend, probably the child singleton is not a VC 2023-08-17T13:32:38.223 wallet chia.wallet.wallet_node : INFO new coin state received (31-40/ 152) 2023-08-17T13:32:38.332 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 89b37393a906c25d202040f0f023a7ebdd3935cd46f7bd1666c1adcf39ade918, puzzle_hash: 789fc4984e9e5bd52d7f66c5c1169542184153a71627232828fbf342238a018e, amount: 1 }, spent_height: None, created_height: Some(3052558) }, error: Error getting new VC from coin spend, probably the child singleton is not a VC Traceback (most recent call last): File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1307, in _add_coin_states wallet_identifier = await self.determine_coin_type(peer, coin_state, fork_height) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 701, in determine_coin_type return await self.handle_vc(coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1235, in handle_vc vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(parent_coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 635, in get_next_from_coin_spend raise ValueError("Error getting new VC from coin spend, probably the child singleton is not a VC") ValueError: Error getting new VC from coin spend, probably the child singleton is not a VC 2023-08-17T13:32:38.515 wallet chia.wallet.wallet_node : INFO new coin state received (81-90/ 152) 2023-08-17T13:32:38.607 wallet chia.wallet.wallet_state_manager: WARNING Verified credential f9fca46098a963e259f5fc77dd192c4a4488b001d3c15f5d76a1b6b465a388d9 is not belong to the current wallet. 2023-08-17T13:32:38.716 wallet chia.wallet.wallet_state_manager: WARNING Verified credential bd8aedde4af511577e8127d8b70e78ff698e55396a7d4b7d30e7ef485c36cc5f is not belong to the current wallet. 2023-08-17T13:32:38.717 wallet chia.wallet.wallet_node : INFO new coin state received (91-100/ 152) 2023-08-17T13:32:38.810 wallet chia.wallet.wallet_state_manager: WARNING Verified credential fc7f8986baa45ce1efd0de516fa189db0bac3851cea56c33527accae2dc2aab2 is not belong to the current wallet. 2023-08-17T13:32:38.847 wallet chia.wallet.wallet_node : INFO new coin state received (41-50/ 152) 2023-08-17T13:32:38.902 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: faca22dc2dcf6589e4bf597951485e77a822c5baaa17d3a2c8ac1cf9e65b5320, puzzle_hash: 8d449b3ca9b3b9f1533ba32516b6b438aaf71ab28cff305c8f03154cd2a20da2, amount: 1 }, spent_height: None, created_height: Some(3053430) }, error: Error getting new VC from coin spend, probably the child singleton is not a VC Traceback (most recent call last): File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1307, in _add_coin_states wallet_identifier = await self.determine_coin_type(peer, coin_state, fork_height) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 701, in determine_coin_type return await self.handle_vc(coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1235, in handle_vc vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(parent_coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 635, in get_next_from_coin_spend raise ValueError("Error getting new VC from coin spend, probably the child singleton is not a VC") ValueError: Error getting new VC from coin spend, probably the child singleton is not a VC 2023-08-17T13:32:38.955 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 238daac9967ecd7fe34911000b6411fd727510853234100a457f39f1e587e876, puzzle_hash: b6948a26624615a120e98a90fcf07cfd7d400098d8075108a593d3e542a5b085, amount: 1 }, spent_height: None, created_height: Some(3053573) }, error: Error getting new VC from coin spend, probably the child singleton is not a VC Traceback (most recent call last): File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1307, in _add_coin_states wallet_identifier = await self.determine_coin_type(peer, coin_state, fork_height) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 701, in determine_coin_type return await self.handle_vc(coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1235, in handle_vc vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(parent_coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 635, in get_next_from_coin_spend raise ValueError("Error getting new VC from coin spend, probably the child singleton is not a VC") ValueError: Error getting new VC from coin spend, probably the child singleton is not a VC 2023-08-17T13:32:38.957 wallet chia.wallet.wallet_node : INFO new coin state received (111-120/ 152) 2023-08-17T13:32:39.008 wallet chia.wallet.wallet_state_manager: WARNING Verified credential 4db8c2b386fe885a1453b471775229901c429768eca75ed8dd3430b029ed6d7d is not belong to the current wallet. 2023-08-17T13:32:39.063 wallet chia.wallet.wallet_state_manager: WARNING Verified credential 30fac1f4a2867e0ca09865198b52b05e0cfe1d3d9ec33f9c404cd350934b4d59 is not belong to the current wallet. 2023-08-17T13:32:39.111 wallet chia.wallet.wallet_node : INFO new coin state received (141-150/ 152) 2023-08-17T13:32:39.209 wallet chia.wallet.wallet_state_manager: WARNING Verified credential 3db7eaf190a86105adffe3ca64381d4ab200acc59132be1eb04becd826c375b7 is not belong to the current wallet. 2023-08-17T13:32:39.211 wallet chia.wallet.wallet_node : INFO new coin state received (131-140/ 152) 2023-08-17T13:32:39.294 wallet chia.wallet.wallet_node : INFO new coin state received (151-152/ 152) 2023-08-17T13:32:39.334 wallet chia.wallet.wallet_node : INFO new coin state received (21-30/ 152) 2023-08-17T13:32:39.388 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 11c09f8f0d7923a8b4d2642c617cb329f76a69ef53d85445829a44837af36293, puzzle_hash: 7af6787bcb2712d493f150224cca75341cdfe678c6d6e68fa02a41b0934fa6f2, amount: 1 }, spent_height: None, created_height: Some(3047484) }, error: Error getting new VC from coin spend, probably the child singleton is not a VC Traceback (most recent call last): File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1307, in _add_coin_states wallet_identifier = await self.determine_coin_type(peer, coin_state, fork_height) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 701, in determine_coin_type return await self.handle_vc(coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1235, in handle_vc vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(parent_coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 635, in get_next_from_coin_spend raise ValueError("Error getting new VC from coin spend, probably the child singleton is not a VC") ValueError: Error getting new VC from coin spend, probably the child singleton is not a VC 2023-08-17T13:32:39.471 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 66cbfc9414a9fcbb1ee8684fda5b6242cd97d340fa4b9c8f1ca3ab33a53510ec, puzzle_hash: af451268fb44eae689a8c30bad62f0e18cca7123701d9cac98bf0d74c0fe8930, amount: 1 }, spent_height: None, created_height: Some(3050507) }, error: Error getting new VC from coin spend, probably the child singleton is not a VC Traceback (most recent call last): File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1307, in _add_coin_states wallet_identifier = await self.determine_coin_type(peer, coin_state, fork_height) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 701, in determine_coin_type return await self.handle_vc(coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1235, in handle_vc vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(parent_coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 635, in get_next_from_coin_spend raise ValueError("Error getting new VC from coin spend, probably the child singleton is not a VC") ValueError: Error getting new VC from coin spend, probably the child singleton is not a VC 2023-08-17T13:32:39.472 wallet chia.wallet.wallet_node : INFO new coin state received (121-130/ 152) 2023-08-17T13:32:39.526 wallet chia.wallet.wallet_state_manager: WARNING Verified credential 7076005a3bcb3e1ec54889686cf3dc8f373af23107b0a6cad08afb8a37fb75f3 is not belong to the current wallet. 2023-08-17T13:32:39.628 wallet chia.wallet.wallet_state_manager: WARNING Verified credential 226f52299cc03c365109cb4c82ab224d5dcc51c6e478f64f202fb7217282fab3 is not belong to the current wallet. 2023-08-17T13:32:39.630 wallet chia.wallet.wallet_node : INFO Successfully subscribed and updated 156 coin ids 2023-08-17T13:32:39.631 wallet chia.wallet.wallet_node : INFO Sync (trusted: False) duration was: 6.35419487953186 2023-08-17T13:32:39.632 wallet chia.wallet.wallet_node : WARNING SpendBundle has been rejected by the FullNode. {'error': 'DOUBLE_SPEND', 'status': 3, 'txid': '0x036b21494a00666037f1581f7c41e8d928ab3bceb48ae93849075153395d79a9'} 2023-08-17T13:32:39.633 wallet chia.wallet.wallet_state_manager: INFO Checking if we need to cancel trade for tx: 036b21494a00666037f1581f7c41e8d928ab3bceb48ae93849075153395d79a9 2023-08-17T13:32:44.819 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062225 timestamp: 1692297138 2023-08-17T13:32:44.820 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062225 2023-08-17T13:32:53.452 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062226 timestamp: 1692297138 2023-08-17T13:32:53.453 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062226 2023-08-17T13:33:09.446 daemon main : INFO ConnectionClosed. Closing websocket with ['Unknown'] 2023-08-17T13:33:11.463 wallet chia.wallet.wallet_state_manager: INFO Start: Creating puzzle hashes from 632 to 632 for wallet_id: 1 2023-08-17T13:33:11.468 wallet chia.wallet.wallet_state_manager: INFO Done: Creating puzzle hashes from 632 to 632 for wallet_id: 1 Time: 0.005479097366333008 seconds 2023-08-17T13:33:11.470 wallet chia.wallet.wallet_state_manager: INFO Start: Creating puzzle hashes from 632 to 632 for wallet_id: 2 2023-08-17T13:33:11.476 wallet chia.wallet.wallet_state_manager: INFO Done: Creating puzzle hashes from 632 to 632 for wallet_id: 2 Time: 0.013113021850585938 seconds 2023-08-17T13:33:11.477 wallet chia.wallet.wallet_state_manager: INFO Updating last used derivation index: 207 2023-08-17T13:33:11.482 wallet chia.wallet.wallet : INFO coins is not None {Coin { parent_coin_info: 22345db947e653b750a032059642abf1f16ce2fb3ab5e473f4f88a2f43b8b40a, puzzle_hash: b2209feb7847b512d6ec6647bce880c4e136ae141ef1ededba72097dcbd46c83, amount: 49399990 }} 2023-08-17T13:33:11.482 wallet chia.wallet.wallet : INFO spend_value is 49399990 and total_amount is 5000000 2023-08-17T13:33:11.486 wallet chia.wallet.wallet_state_manager: INFO Start: Creating puzzle hashes from 633 to 633 for wallet_id: 1 2023-08-17T13:33:11.490 wallet chia.wallet.wallet_state_manager: INFO Done: Creating puzzle hashes from 633 to 633 for wallet_id: 1 Time: 0.00391387939453125 seconds 2023-08-17T13:33:11.492 wallet chia.wallet.wallet_state_manager: INFO Start: Creating puzzle hashes from 633 to 633 for wallet_id: 2 2023-08-17T13:33:11.497 wallet chia.wallet.wallet_state_manager: INFO Done: Creating puzzle hashes from 633 to 633 for wallet_id: 2 Time: 0.010686874389648438 seconds 2023-08-17T13:33:11.501 wallet chia.wallet.wallet_state_manager: INFO Updating last used derivation index: 208 2023-08-17T13:33:11.506 wallet chia.wallet.wallet : INFO About to sign a transaction: [CoinSpend(coin=Coin { parent_coin_info: 22345db947e653b750a032059642abf1f16ce2fb3ab5e473f4f88a2f43b8b40a, puzzle_hash: b2209feb7847b512d6ec6647bce880c4e136ae141ef1ededba72097dcbd46c83, amount: 49399990 }, puzzle_reveal=SerializedProgram(ff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0b32a4f8b3c9d8a6a0a522707fc298af07dd2b571ec83786802f856c152c79677ad3d06edc76dea7e33cb8dc8a81cd778ff018080), solution=SerializedProgram(ff80ffff01ffff33ffa0a245bdb9e8e188c086136a6e7b6529ab41eed6586a7ab72eca381e00fae64abcff8402a57d7680ffff34ff834c4b4080ffff3cffa05cb5f4de6c1ada5edbf329fae9270ef1c5a379fd562ac9633b7c7d9978bbd48c80ffff3dffa00593af442ad80d9d433b192a4cbb9734494048cc2785ccf37b2eba18a06741f38080ff8080))] 2023-08-17T13:33:11.583 wallet chia.wallet.wallet_node : INFO new coin state received (1-1/ 1) 2023-08-17T13:33:11.593 wallet chia.wallet.wallet_node : INFO new coin state received (1-3/ 3) 2023-08-17T13:33:11.612 wallet chia.wallet.wallet_node : INFO SpendBundle has been received and accepted to mempool by the FullNode. {'error': None, 'status': 1, 'txid': '0x606e2af47d3f757a4754365ead4aae4dcd8fbe84a70a17f8cb0f4b2efdd71946'} 2023-08-17T13:33:11.614 wallet chia.wallet.wallet_state_manager: INFO Checking if we need to cancel trade for tx: 606e2af47d3f757a4754365ead4aae4dcd8fbe84a70a17f8cb0f4b2efdd71946 2023-08-17T13:33:28.979 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062227 timestamp: 1692297182 2023-08-17T13:33:28.979 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062227 2023-08-17T13:33:47.606 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062228 timestamp: 1692297182 2023-08-17T13:33:47.612 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062228 2023-08-17T13:33:52.089 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062229 timestamp: 1692297182 2023-08-17T13:33:52.090 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062229 2023-08-17T13:33:59.202 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062230 timestamp: 1692297182 2023-08-17T13:33:59.203 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062230 2023-08-17T13:34:03.427 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062231 timestamp: 1692297182 2023-08-17T13:34:03.428 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062231 2023-08-17T13:34:30.316 wallet chia.wallet.wallet_node : INFO request coin: c98e3ccea2e43b095748607e039d26c69433dea3948778fe9f782a3aaece0804CoinState { coin: Coin { parent_coin_info: bd7516f70456660027c9189e4f8372e912c023a9e52eda9e178c82ada6923405, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: None, created_height: Some(3062232) } 2023-08-17T13:34:30.319 wallet chia.wallet.wallet_node : INFO request coin: 622f2cd2f20001c71af42c41781b29daba0ee9a57ceeb451c05214f5793fccfbCoinState { coin: Coin { parent_coin_info: d3ad8775262259ef21d36bd2518ccfb6039d26899ac4f71713ad6d94911a8f16, puzzle_hash: a245bdb9e8e188c086136a6e7b6529ab41eed6586a7ab72eca381e00fae64abc, amount: 44399990 }, spent_height: None, created_height: Some(3062232) } 2023-08-17T13:34:30.319 wallet chia.wallet.wallet_node : INFO request coin: acccec869e154535215b68d2bdaa2029fd7d845133ed5402764506adc30b4cecCoinState { coin: Coin { parent_coin_info: eec20364bfdafe423516417c64db42571d790db77731bcc9f53947871bb576ec, puzzle_hash: f0c616772f1de21e39ecd76fef572a70f242341c3599809fb7250e6750e155d7, amount: 1 }, spent_height: Some(3062232), created_height: Some(3061220) } 2023-08-17T13:34:30.319 wallet chia.wallet.wallet_node : INFO request coin: d3ad8775262259ef21d36bd2518ccfb6039d26899ac4f71713ad6d94911a8f16CoinState { coin: Coin { parent_coin_info: 22345db947e653b750a032059642abf1f16ce2fb3ab5e473f4f88a2f43b8b40a, puzzle_hash: b2209feb7847b512d6ec6647bce880c4e136ae141ef1ededba72097dcbd46c83, amount: 49399990 }, spent_height: Some(3062232), created_height: Some(3061220) } 2023-08-17T13:34:30.319 wallet chia.wallet.wallet_node : INFO request coin: bd7516f70456660027c9189e4f8372e912c023a9e52eda9e178c82ada6923405CoinState { coin: Coin { parent_coin_info: 3ae8bf8c9ca8b31808e60e468e81cb24e013e27b91eff98b5dd7cca271889018, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: Some(3062232), created_height: Some(3058844) } 2023-08-17T13:34:30.320 wallet chia.wallet.wallet_node : INFO request coin: 7791f7ce111c34876e7d5d71cf200a937809dc845ebe2f755b5887d787b3167cCoinState { coin: Coin { parent_coin_info: acccec869e154535215b68d2bdaa2029fd7d845133ed5402764506adc30b4cec, puzzle_hash: 20b8b7ecbe6044cd99a6925dad7712b8a86090844c48020ebc632ef280c383e5, amount: 1 }, spent_height: None, created_height: Some(3062232) } 2023-08-17T13:34:30.325 wallet chia.wallet.wallet_node : INFO clear_after_height 3062231 for peer WSChiaConnection(local_type=<NodeType.WALLET: 6>, local_port=8449, local_capabilities=[<Capability.BASE: 1>, <Capability.BLOCK_HEADERS: 2>, <Capability.RATE_LIMITS_V2: 3>], peer_info=PeerInfo(_ip=IPv4Address('192.168.0.117'), _port=58444), peer_node_id=<bytes32: 657fa4fc3c9462a6578c4dc94fca07d1eabc2bef06f99ce9fa8a3dee9622afd2>, outbound_rate_limiter=<chia.server.rate_limits.RateLimiter object at 0x115476c50>, inbound_rate_limiter=<chia.server.rate_limits.RateLimiter object at 0x1154778e0>, is_outbound=True, creation_time=1692297137.368525, bytes_read=31438784, bytes_written=76080, last_message_time=1692297270.3150752, peer_server_port=58444, closed=False, connection_type=<NodeType.FULL_NODE: 1>, request_nonce=443, peer_capabilities=[<Capability.BASE: 1>, <Capability.BLOCK_HEADERS: 2>, <Capability.RATE_LIMITS_V2: 3>], version='2.0.0rc5', protocol_version=<Version('0.0.35')>) 2023-08-17T13:34:30.327 wallet chia.wallet.wallet_node : INFO Added to race cache: 3062232, CoinState { coin: Coin { parent_coin_info: 3ae8bf8c9ca8b31808e60e468e81cb24e013e27b91eff98b5dd7cca271889018, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: Some(3062232), created_height: Some(3058844) } 2023-08-17T13:34:30.327 wallet chia.wallet.wallet_node : INFO Added to race cache: 3062232, CoinState { coin: Coin { parent_coin_info: eec20364bfdafe423516417c64db42571d790db77731bcc9f53947871bb576ec, puzzle_hash: f0c616772f1de21e39ecd76fef572a70f242341c3599809fb7250e6750e155d7, amount: 1 }, spent_height: Some(3062232), created_height: Some(3061220) } 2023-08-17T13:34:30.327 wallet chia.wallet.wallet_node : INFO Added to race cache: 3062232, CoinState { coin: Coin { parent_coin_info: 22345db947e653b750a032059642abf1f16ce2fb3ab5e473f4f88a2f43b8b40a, puzzle_hash: b2209feb7847b512d6ec6647bce880c4e136ae141ef1ededba72097dcbd46c83, amount: 49399990 }, spent_height: Some(3062232), created_height: Some(3061220) } 2023-08-17T13:34:30.327 wallet chia.wallet.wallet_node : INFO Added to race cache: 3062232, CoinState { coin: Coin { parent_coin_info: bd7516f70456660027c9189e4f8372e912c023a9e52eda9e178c82ada6923405, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: None, created_height: Some(3062232) } 2023-08-17T13:34:30.328 wallet chia.wallet.wallet_node : INFO Added to race cache: 3062232, CoinState { coin: Coin { parent_coin_info: d3ad8775262259ef21d36bd2518ccfb6039d26899ac4f71713ad6d94911a8f16, puzzle_hash: a245bdb9e8e188c086136a6e7b6529ab41eed6586a7ab72eca381e00fae64abc, amount: 44399990 }, spent_height: None, created_height: Some(3062232) } 2023-08-17T13:34:30.328 wallet chia.wallet.wallet_node : INFO Added to race cache: 3062232, CoinState { coin: Coin { parent_coin_info: acccec869e154535215b68d2bdaa2029fd7d845133ed5402764506adc30b4cec, puzzle_hash: 20b8b7ecbe6044cd99a6925dad7712b8a86090844c48020ebc632ef280c383e5, amount: 1 }, spent_height: None, created_height: Some(3062232) } 2023-08-17T13:34:30.725 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062232 timestamp: 1692297239 2023-08-17T13:34:30.726 wallet chia.wallet.wallet_node : INFO Receiving race state: {CoinState { coin: Coin { parent_coin_info: bd7516f70456660027c9189e4f8372e912c023a9e52eda9e178c82ada6923405, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: None, created_height: Some(3062232) }, CoinState { coin: Coin { parent_coin_info: d3ad8775262259ef21d36bd2518ccfb6039d26899ac4f71713ad6d94911a8f16, puzzle_hash: a245bdb9e8e188c086136a6e7b6529ab41eed6586a7ab72eca381e00fae64abc, amount: 44399990 }, spent_height: None, created_height: Some(3062232) }, CoinState { coin: Coin { parent_coin_info: eec20364bfdafe423516417c64db42571d790db77731bcc9f53947871bb576ec, puzzle_hash: f0c616772f1de21e39ecd76fef572a70f242341c3599809fb7250e6750e155d7, amount: 1 }, spent_height: Some(3062232), created_height: Some(3061220) }, CoinState { coin: Coin { parent_coin_info: 22345db947e653b750a032059642abf1f16ce2fb3ab5e473f4f88a2f43b8b40a, puzzle_hash: b2209feb7847b512d6ec6647bce880c4e136ae141ef1ededba72097dcbd46c83, amount: 49399990 }, spent_height: Some(3062232), created_height: Some(3061220) }, CoinState { coin: Coin { parent_coin_info: 3ae8bf8c9ca8b31808e60e468e81cb24e013e27b91eff98b5dd7cca271889018, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: Some(3062232), created_height: Some(3058844) }, CoinState { coin: Coin { parent_coin_info: acccec869e154535215b68d2bdaa2029fd7d845133ed5402764506adc30b4cec, puzzle_hash: 20b8b7ecbe6044cd99a6925dad7712b8a86090844c48020ebc632ef280c383e5, amount: 1 }, spent_height: None, created_height: Some(3062232) }} 2023-08-17T13:34:30.763 wallet chia.wallet.wallet_node : INFO new coin state received (1-6/ 6) 2023-08-17T13:34:30.774 wallet chia.wallet.wallet_state_manager: INFO Setting tx_id: 606e2af47d3f757a4754365ead4aae4dcd8fbe84a70a17f8cb0f4b2efdd71946 to confirmed 2023-08-17T13:34:30.790 wallet chia.wallet.wallet_state_manager: INFO Setting tx_id: 606e2af47d3f757a4754365ead4aae4dcd8fbe84a70a17f8cb0f4b2efdd71946 to confirmed 2023-08-17T13:34:30.814 wallet chia.wallet.wallet_state_manager: INFO Setting tx_id: 4df41f62ecabcf05a7c94a398c7941bbca0297d358f1cfa11c887d4f18d010d6 to confirmed 2023-08-17T13:34:30.814 wallet chia.wallet.wallet_state_manager: INFO Setting tx_id: 606e2af47d3f757a4754365ead4aae4dcd8fbe84a70a17f8cb0f4b2efdd71946 to confirmed 2023-08-17T13:34:30.815 wallet chia.wallet.did_wallet.did_wallet: INFO DID wallet has been notified that coin was added: b'\xc9\x8e<\xce\xa2\xe4;\tWH~\x03\x9d&\xc6\x943\xde\xa3\x94\x87x\xfe\x9fx*:\xae\xce\x08\x04':Coin { parent_coin_info: bd7516f70456660027c9189e4f8372e912c023a9e52eda9e178c82ada6923405, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 } 2023-08-17T13:34:30.824 wallet chia.wallet.did_wallet.did_wallet: INFO Adding parent b'\xc9\x8e<\xce\xa2\xe4;\tWH~\x03\x9d&\xc6\x943\xde\xa3\x94\x87x\xfe\x9fx*:\xae\xce\x08\x04': {'amount': 1, 'inner_puzzle_hash': '0x13c3a139682cc729cff38842359b56bdf0e7a26d158eef8acbe09ef7df0f7442', 'parent_name': '0xbd7516f70456660027c9189e4f8372e912c023a9e52eda9e178c82ada6923405'} 2023-08-17T13:34:30.940 wallet chia.wallet.wallet_state_manager: WARNING Verified credential 8a465850faca6f10c9becf3217df0b12c91ffd455e63de01a1215317d9ab2968 is not belong to the current wallet. 2023-08-17T13:34:30.942 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062232 2023-08-17T13:34:31.013 daemon main : INFO ConnectionClosed. Closing websocket with ['Unknown'] 2023-08-17T13:34:46.381 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062233 timestamp: 1692297239 2023-08-17T13:34:46.381 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062233 2023-08-17T13:35:17.208 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062234 timestamp: 1692297284 2023-08-17T13:35:17.209 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062234 2023-08-17T13:35:20.199 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062235 timestamp: 1692297284 2023-08-17T13:35:20.200 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062235 2023-08-17T13:36:52.126 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062236 timestamp: 1692297380 2023-08-17T13:36:52.128 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062236 2023-08-17T13:37:29.029 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062237 timestamp: 1692297421 2023-08-17T13:37:29.030 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062237 2023-08-17T13:38:04.568 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062238 timestamp: 1692297457 2023-08-17T13:38:04.569 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062238 2023-08-17T13:39:49.358 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062239 timestamp: 1692297539 2023-08-17T13:39:49.359 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062239 2023-08-17T13:39:50.081 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062240 timestamp: 1692297539 2023-08-17T13:39:50.081 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062240 2023-08-17T13:39:53.485 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062241 timestamp: 1692297539 2023-08-17T13:39:53.486 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062241 2023-08-17T13:39:58.204 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062242 timestamp: 1692297539 2023-08-17T13:39:58.205 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062242 2023-08-17T13:40:22.406 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062243 timestamp: 1692297591 2023-08-17T13:40:22.407 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062243 2023-08-17T13:40:24.963 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062244 timestamp: 1692297591 2023-08-17T13:40:24.964 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062244 2023-08-17T13:40:27.552 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062245 timestamp: 1692297591 2023-08-17T13:40:27.552 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062245 2023-08-17T13:40:31.404 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062246 timestamp: 1692297591 2023-08-17T13:40:31.405 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062246 2023-08-17T13:40:35.126 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062247 timestamp: 1692297591 2023-08-17T13:40:35.127 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062247 2023-08-17T13:40:41.698 daemon main : INFO ConnectionClosed. Closing websocket with ['Unknown'] 2023-08-17T13:41:04.681 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062248 timestamp: 1692297591 2023-08-17T13:41:04.682 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062248 2023-08-17T13:41:06.860 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062249 timestamp: 1692297637 2023-08-17T13:41:06.861 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062249 2023-08-17T13:41:08.505 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062250 timestamp: 1692297637 2023-08-17T13:41:08.509 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062250 2023-08-17T13:41:25.584 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062251 timestamp: 1692297637 2023-08-17T13:41:25.584 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062251 2023-08-17T13:42:10.555 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062252 timestamp: 1692297694 2023-08-17T13:42:10.556 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062252 2023-08-17T13:42:25.622 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062253 timestamp: 1692297694 2023-08-17T13:42:25.623 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062253 2023-08-17T13:42:28.721 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062254 timestamp: 1692297694 2023-08-17T13:42:28.722 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062254 2023-08-17T13:42:31.117 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062255 timestamp: 1692297694 2023-08-17T13:42:31.118 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062255 2023-08-17T13:42:48.119 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062256 timestamp: 1692297749 2023-08-17T13:42:48.120 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062256 2023-08-17T13:43:08.677 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062257 timestamp: 1692297749 2023-08-17T13:43:08.678 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062257 2023-08-17T13:43:34.579 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062258 timestamp: 1692297781 2023-08-17T13:43:34.580 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062258 2023-08-17T13:43:55.700 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062259 timestamp: 1692297781 2023-08-17T13:43:55.701 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062259 2023-08-17T13:44:33.177 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062260 timestamp: 1692297844 2023-08-17T13:44:33.180 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062260 2023-08-17T13:44:40.610 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062261 timestamp: 1692297844 2023-08-17T13:44:40.611 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062261 2023-08-17T13:44:47.966 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062262 timestamp: 1692297844 2023-08-17T13:44:47.967 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062262 2023-08-17T13:44:58.223 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062263 timestamp: 1692297844 2023-08-17T13:44:58.224 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062263 2023-08-17T13:45:00.113 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062264 timestamp: 1692297844 2023-08-17T13:45:00.114 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062264 2023-08-17T13:45:49.135 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062265 timestamp: 1692297919 2023-08-17T13:45:49.136 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062265 2023-08-17T13:45:56.072 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062266 timestamp: 1692297919 2023-08-17T13:45:56.072 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062266 2023-08-17T13:46:00.627 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062267 timestamp: 1692297919 2023-08-17T13:46:00.628 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062267 2023-08-17T13:46:08.292 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062268 timestamp: 1692297919 2023-08-17T13:46:08.292 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062268 2023-08-17T13:46:18.187 wallet chia.wallet.wallet_state_manager: INFO Start: Creating puzzle hashes from 634 to 634 for wallet_id: 1 2023-08-17T13:46:18.190 wallet chia.wallet.wallet_state_manager: INFO Done: Creating puzzle hashes from 634 to 634 for wallet_id: 1 Time: 0.003016948699951172 seconds 2023-08-17T13:46:18.193 wallet chia.wallet.wallet_state_manager: INFO Start: Creating puzzle hashes from 634 to 634 for wallet_id: 2 2023-08-17T13:46:18.196 wallet chia.wallet.wallet_state_manager: INFO Done: Creating puzzle hashes from 634 to 634 for wallet_id: 2 Time: 0.009060144424438477 seconds 2023-08-17T13:46:18.197 wallet chia.wallet.wallet_state_manager: INFO Updating last used derivation index: 209 2023-08-17T13:46:18.200 wallet chia.wallet.wallet : INFO coins is not None {Coin { parent_coin_info: d3ad8775262259ef21d36bd2518ccfb6039d26899ac4f71713ad6d94911a8f16, puzzle_hash: a245bdb9e8e188c086136a6e7b6529ab41eed6586a7ab72eca381e00fae64abc, amount: 44399990 }} 2023-08-17T13:46:18.200 wallet chia.wallet.wallet : INFO spend_value is 44399990 and total_amount is 10000 2023-08-17T13:46:18.202 wallet chia.wallet.wallet_state_manager: INFO Start: Creating puzzle hashes from 635 to 635 for wallet_id: 1 2023-08-17T13:46:18.205 wallet chia.wallet.wallet_state_manager: INFO Done: Creating puzzle hashes from 635 to 635 for wallet_id: 1 Time: 0.0028009414672851562 seconds 2023-08-17T13:46:18.205 wallet chia.wallet.wallet_state_manager: INFO Start: Creating puzzle hashes from 635 to 635 for wallet_id: 2 2023-08-17T13:46:18.209 wallet chia.wallet.wallet_state_manager: INFO Done: Creating puzzle hashes from 635 to 635 for wallet_id: 2 Time: 0.006732940673828125 seconds 2023-08-17T13:46:18.210 wallet chia.wallet.wallet_state_manager: INFO Updating last used derivation index: 210 2023-08-17T13:46:18.213 wallet chia.wallet.wallet : INFO About to sign a transaction: [CoinSpend(coin=Coin { parent_coin_info: d3ad8775262259ef21d36bd2518ccfb6039d26899ac4f71713ad6d94911a8f16, puzzle_hash: a245bdb9e8e188c086136a6e7b6529ab41eed6586a7ab72eca381e00fae64abc, amount: 44399990 }, puzzle_reveal=SerializedProgram(ff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0b449c024676b15c6b63bd375d5c92faf60baa72ccd286f350a55f2394a7209e500620a500265ccb216a9ea86cd7cae30ff018080), solution=SerializedProgram(ff80ffff01ffff33ffa0586703596f2a3da4f5d46f40b7b04169bb2056d3817c12fac95f51087462c1bdff8402a5566680ffff34ff82271080ffff3cffa0d7b5145b995210c26fe4ac1c497e01a4a1067ef247b53f8b958e83a57e8e155e80ffff3dffa0ba99d8bfb996f1f28c32e7ca02ac4be6ebef1164b8c1d65e5005afcc38fa179b8080ff8080))] 2023-08-17T13:46:18.243 wallet chia.wallet.wallet_node : INFO new coin state received (1-2/ 2) 2023-08-17T13:46:18.291 wallet chia.wallet.wallet_state_manager: WARNING Verified credential 8a465850faca6f10c9becf3217df0b12c91ffd455e63de01a1215317d9ab2968 is not belong to the current wallet. 2023-08-17T13:46:18.292 wallet chia.wallet.wallet_node : INFO SpendBundle has been received and accepted to mempool by the FullNode. {'error': None, 'status': 1, 'txid': '0xae64f64dcd6d03928cca3fb520e9f2825a02c9ad39887894c7f910a30d5f4150'} 2023-08-17T13:46:18.303 wallet chia.wallet.wallet_node : INFO new coin state received (1-1/ 1) 2023-08-17T13:46:39.847 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062269 timestamp: 1692297970 2023-08-17T13:46:39.848 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062269 2023-08-17T13:46:45.188 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062270 timestamp: 1692297970 2023-08-17T13:46:45.189 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062270 2023-08-17T13:46:48.017 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062271 timestamp: 1692297970 2023-08-17T13:46:48.017 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062271 2023-08-17T13:46:55.466 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062272 timestamp: 1692297970 2023-08-17T13:46:55.467 wallet chia.wallet.wallet_node : INFO Finished processing new peak of 3062272 2023-08-17T13:47:48.349 wallet chia.wallet.wallet_node : INFO request coin: 622f2cd2f20001c71af42c41781b29daba0ee9a57ceeb451c05214f5793fccfbCoinState { coin: Coin { parent_coin_info: d3ad8775262259ef21d36bd2518ccfb6039d26899ac4f71713ad6d94911a8f16, puzzle_hash: a245bdb9e8e188c086136a6e7b6529ab41eed6586a7ab72eca381e00fae64abc, amount: 44399990 }, spent_height: Some(3062273), created_height: Some(3062232) } 2023-08-17T13:47:48.352 wallet chia.wallet.wallet_node : INFO request coin: c018a69d9dc5f105d9f8c33f2f695b3093363a2856d5005b414533d152e7294fCoinState { coin: Coin { parent_coin_info: c98e3ccea2e43b095748607e039d26c69433dea3948778fe9f782a3aaece0804, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: None, created_height: Some(3062273) } 2023-08-17T13:47:48.353 wallet chia.wallet.wallet_node : INFO request coin: c98e3ccea2e43b095748607e039d26c69433dea3948778fe9f782a3aaece0804CoinState { coin: Coin { parent_coin_info: bd7516f70456660027c9189e4f8372e912c023a9e52eda9e178c82ada6923405, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: Some(3062273), created_height: Some(3062232) } 2023-08-17T13:47:48.354 wallet chia.wallet.wallet_node : INFO request coin: cbb39df53233625db22536187daf98e853fc145a337fead90135636c746bd479CoinState { coin: Coin { parent_coin_info: 7791f7ce111c34876e7d5d71cf200a937809dc845ebe2f755b5887d787b3167c, puzzle_hash: 00ed3cf3d82aea5dac163418fb7bd429cf05527f4d50ec3bd18602effa0fa6cd, amount: 1 }, spent_height: None, created_height: Some(3062273) } 2023-08-17T13:47:48.354 wallet chia.wallet.wallet_node : INFO request coin: 7791f7ce111c34876e7d5d71cf200a937809dc845ebe2f755b5887d787b3167cCoinState { coin: Coin { parent_coin_info: acccec869e154535215b68d2bdaa2029fd7d845133ed5402764506adc30b4cec, puzzle_hash: 20b8b7ecbe6044cd99a6925dad7712b8a86090844c48020ebc632ef280c383e5, amount: 1 }, spent_height: Some(3062273), created_height: Some(3062232) } 2023-08-17T13:47:48.355 wallet chia.wallet.wallet_node : INFO request coin: d6bd1df54cf5e842d9d1bca9ab4d4e057162acd62fa86283118529c20e5ab74dCoinState { coin: Coin { parent_coin_info: 622f2cd2f20001c71af42c41781b29daba0ee9a57ceeb451c05214f5793fccfb, puzzle_hash: 586703596f2a3da4f5d46f40b7b04169bb2056d3817c12fac95f51087462c1bd, amount: 44389990 }, spent_height: None, created_height: Some(3062273) } 2023-08-17T13:47:48.361 wallet chia.wallet.wallet_node : INFO clear_after_height 3062272 for peer WSChiaConnection(local_type=<NodeType.WALLET: 6>, local_port=8449, local_capabilities=[<Capability.BASE: 1>, <Capability.BLOCK_HEADERS: 2>, <Capability.RATE_LIMITS_V2: 3>], peer_info=PeerInfo(_ip=IPv4Address('192.168.0.117'), _port=58444), peer_node_id=<bytes32: 657fa4fc3c9462a6578c4dc94fca07d1eabc2bef06f99ce9fa8a3dee9622afd2>, outbound_rate_limiter=<chia.server.rate_limits.RateLimiter object at 0x115476c50>, inbound_rate_limiter=<chia.server.rate_limits.RateLimiter object at 0x1154778e0>, is_outbound=True, creation_time=1692297137.368525, bytes_read=31998428, bytes_written=89472, last_message_time=1692298068.345324, peer_server_port=58444, closed=False, connection_type=<NodeType.FULL_NODE: 1>, request_nonce=605, peer_capabilities=[<Capability.BASE: 1>, <Capability.BLOCK_HEADERS: 2>, <Capability.RATE_LIMITS_V2: 3>], version='2.0.0rc5', protocol_version=<Version('0.0.35')>) 2023-08-17T13:47:48.367 wallet chia.wallet.wallet_node : INFO Added to race cache: 3062273, CoinState { coin: Coin { parent_coin_info: d3ad8775262259ef21d36bd2518ccfb6039d26899ac4f71713ad6d94911a8f16, puzzle_hash: a245bdb9e8e188c086136a6e7b6529ab41eed6586a7ab72eca381e00fae64abc, amount: 44399990 }, spent_height: Some(3062273), created_height: Some(3062232) } 2023-08-17T13:47:48.368 wallet chia.wallet.wallet_node : INFO Added to race cache: 3062273, CoinState { coin: Coin { parent_coin_info: bd7516f70456660027c9189e4f8372e912c023a9e52eda9e178c82ada6923405, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: Some(3062273), created_height: Some(3062232) } 2023-08-17T13:47:48.368 wallet chia.wallet.wallet_node : INFO Added to race cache: 3062273, CoinState { coin: Coin { parent_coin_info: acccec869e154535215b68d2bdaa2029fd7d845133ed5402764506adc30b4cec, puzzle_hash: 20b8b7ecbe6044cd99a6925dad7712b8a86090844c48020ebc632ef280c383e5, amount: 1 }, spent_height: Some(3062273), created_height: Some(3062232) } 2023-08-17T13:47:48.368 wallet chia.wallet.wallet_node : INFO Added to race cache: 3062273, CoinState { coin: Coin { parent_coin_info: c98e3ccea2e43b095748607e039d26c69433dea3948778fe9f782a3aaece0804, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: None, created_height: Some(3062273) } 2023-08-17T13:47:48.369 wallet chia.wallet.wallet_node : INFO Added to race cache: 3062273, CoinState { coin: Coin { parent_coin_info: 7791f7ce111c34876e7d5d71cf200a937809dc845ebe2f755b5887d787b3167c, puzzle_hash: 00ed3cf3d82aea5dac163418fb7bd429cf05527f4d50ec3bd18602effa0fa6cd, amount: 1 }, spent_height: None, created_height: Some(3062273) } 2023-08-17T13:47:48.369 wallet chia.wallet.wallet_node : INFO Added to race cache: 3062273, CoinState { coin: Coin { parent_coin_info: 622f2cd2f20001c71af42c41781b29daba0ee9a57ceeb451c05214f5793fccfb, puzzle_hash: 586703596f2a3da4f5d46f40b7b04169bb2056d3817c12fac95f51087462c1bd, amount: 44389990 }, spent_height: None, created_height: Some(3062273) } 2023-08-17T13:47:48.726 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3062273 timestamp: 1692298035 2023-08-17T13:47:48.726 wallet chia.wallet.wallet_node : INFO Receiving race state: {CoinState { coin: Coin { parent_coin_info: d3ad8775262259ef21d36bd2518ccfb6039d26899ac4f71713ad6d94911a8f16, puzzle_hash: a245bdb9e8e188c086136a6e7b6529ab41eed6586a7ab72eca381e00fae64abc, amount: 44399990 }, spent_height: Some(3062273), created_height: Some(3062232) }, CoinState { coin: Coin { parent_coin_info: c98e3ccea2e43b095748607e039d26c69433dea3948778fe9f782a3aaece0804, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: None, created_height: Some(3062273) }, CoinState { coin: Coin { parent_coin_info: bd7516f70456660027c9189e4f8372e912c023a9e52eda9e178c82ada6923405, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 }, spent_height: Some(3062273), created_height: Some(3062232) }, CoinState { coin: Coin { parent_coin_info: 7791f7ce111c34876e7d5d71cf200a937809dc845ebe2f755b5887d787b3167c, puzzle_hash: 00ed3cf3d82aea5dac163418fb7bd429cf05527f4d50ec3bd18602effa0fa6cd, amount: 1 }, spent_height: None, created_height: Some(3062273) }, CoinState { coin: Coin { parent_coin_info: acccec869e154535215b68d2bdaa2029fd7d845133ed5402764506adc30b4cec, puzzle_hash: 20b8b7ecbe6044cd99a6925dad7712b8a86090844c48020ebc632ef280c383e5, amount: 1 }, spent_height: Some(3062273), created_height: Some(3062232) }, CoinState { coin: Coin { parent_coin_info: 622f2cd2f20001c71af42c41781b29daba0ee9a57ceeb451c05214f5793fccfb, puzzle_hash: 586703596f2a3da4f5d46f40b7b04169bb2056d3817c12fac95f51087462c1bd, amount: 44389990 }, spent_height: None, created_height: Some(3062273) }} 2023-08-17T13:47:48.755 wallet chia.wallet.wallet_node : INFO new coin state received (1-6/ 6) 2023-08-17T13:47:48.763 wallet chia.wallet.wallet_state_manager: INFO Setting tx_id: 336cacfb35027c79dc714c8e9c870ba5fd9bb3228f58cb20e58912a0a7543a21 to confirmed 2023-08-17T13:47:48.772 wallet chia.wallet.wallet_state_manager: INFO Setting tx_id: 83f45f332524630f93deac255650b9c7eef918ebc19b595d4a6c7a74d13de7d0 to confirmed 2023-08-17T13:47:48.837 wallet chia.wallet.wallet_state_manager: WARNING Verified credential 8a465850faca6f10c9becf3217df0b12c91ffd455e63de01a1215317d9ab2968 is not belong to the current wallet. 2023-08-17T13:47:48.838 wallet chia.wallet.did_wallet.did_wallet: INFO DID wallet has been notified that coin was added: b'\xc0\x18\xa6\x9d\x9d\xc5\xf1\x05\xd9\xf8\xc3?/i[0\x936:(V\xd5\x00[AE3\xd1R\xe7)O':Coin { parent_coin_info: c98e3ccea2e43b095748607e039d26c69433dea3948778fe9f782a3aaece0804, puzzle_hash: a2b2d9b8b5566afa0839fc15bb0afee18d8dbb785d17c94fafbee5e31c7c9431, amount: 1 } 2023-08-17T13:47:48.846 wallet chia.wallet.did_wallet.did_wallet: INFO Adding parent b'\xc0\x18\xa6\x9d\x9d\xc5\xf1\x05\xd9\xf8\xc3?/i[0\x936:(V\xd5\x00[AE3\xd1R\xe7)O': {'amount': 1, 'inner_puzzle_hash': '0x13c3a139682cc729cff38842359b56bdf0e7a26d158eef8acbe09ef7df0f7442', 'parent_name': '0xc98e3ccea2e43b095748607e039d26c69433dea3948778fe9f782a3aaece0804'} 2023-08-17T13:47:48.893 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 7791f7ce111c34876e7d5d71cf200a937809dc845ebe2f755b5887d787b3167c, puzzle_hash: 00ed3cf3d82aea5dac163418fb7bd429cf05527f4d50ec3bd18602effa0fa6cd, amount: 1 }, spent_height: None, created_height: Some(3062273) }, error: Error getting new VC from coin spend, probably the child singleton is not a VC Traceback (most recent call last): File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1307, in _add_coin_states wallet_identifier = await self.determine_coin_type(peer, coin_state, fork_height) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 701, in determine_coin_type return await self.handle_vc(coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/wallet_state_manager.py", line 1235, in handle_vc vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(parent_coin_spend) File "/Users/esaung/Github/VC/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 635, in get_next_from_coin_spend raise ValueError("Error getting new VC from coin spend, probably the child singleton is not a VC") ValueError: Error getting new VC from coin spend, probably the child singleton is not a VC

Quexington commented 1 year ago

Those logs still don't have the relevant string. The reason I'm looking for specifically that string is because you got an error from the RPC with that message and usually when the RPC does that, it logs a stack trace in the logs.

esaung commented 1 year ago

This may just need a better error message when trying to revoke a VC that is the holder's wallet, but doesn't contain any proofs.

the sequence of steps is that when I mint the VC using CLI, I am specifying the recipients receive address. At that point it's no longer manageable by the issuer anymore. The only function that can be called is the revoke function, but calling the revoke function on a VC with no proofs doesn't do anything.

I think if you follow the steps and mint to another wallet that doesn't contain the issuer DID, then you end up with a VC coin that the holder can't do anything with. Holder and Issuer can't add proofs to make it valid, which also means you can't revoke the credential. Let me know if I understand the workflow correctly here.

Quexington commented 1 year ago

That does sound almost correct except that I would still expect the issuer to be able to revoke it, because it removes themselves from responsibility. I'm curious to see the stacktrace because the bytes32 initializer error would match up with just some poorly written code that's failing on this.

esaung commented 1 year ago

so is the expectation that the issuing DID on the VC coin would get removed also when getting revoked? to reproduce this I just ran the chia wallet vcs mint with -t and specify a second key as the receive address. And then from the VC issuer wallet to revoke the VC using the launcher id of the VC coin.

(venv) esaung@test-macbook-pro chia-blockchain % chia wallet vcs get

Active Wallet Key (*): -Fingerprint: 87074341 -Label: Food VC issuer -Sync Status: Synced

Wallet Keys: 5) * 87074341 Food VC issuer 7) 4263116386 Alice VC wallet demo Choose a wallet key [1-11] ('q' to quit, or Enter to use 87074341): 7 Proofs:

Launcher ID: 0fc547edeaeb51b2deba9e924d26c280bee51d302b63bc293b7a1a261c860fa7 Coin ID: c6c8098dea107afd28380c5471b8ae0d6043bd6c4772887b0d351be515365e4e Inner Address: txch1fh7ycucpwxfrtr328s2la28pwsurmvpprey8r2kyvgh357r0c6qqdra22v Proof Hash: ac04b2f39be8adbaee0eadb8859cb88e28173fa84cd6a9a658ca98ea6678be8c

Launcher ID: 3db7eaf190a86105adffe3ca64381d4ab200acc59132be1eb04becd826c375b7 Coin ID: 004a5611526b4a5a610f438fb20861f7c0db91b931d19649b2cdf7b2416a1e2f Inner Address: txch1fh7ycucpwxfrtr328s2la28pwsurmvpprey8r2kyvgh357r0c6qqdra22v Proof Hash: ac04b2f39be8adbaee0eadb8859cb88e28173fa84cd6a9a658ca98ea6678be8c

Launcher ID: 8a465850faca6f10c9becf3217df0b12c91ffd455e63de01a1215317d9ab2968 Coin ID: 7791f7ce111c34876e7d5d71cf200a937809dc845ebe2f755b5887d787b3167c Inner Address: txch1fh7ycucpwxfrtr328s2la28pwsurmvpprey8r2kyvgh357r0c6qqdra22v Proof Hash: ac04b2f39be8adbaee0eadb8859cb88e28173fa84cd6a9a658ca98ea6678be8c

Launcher ID: 79d7b27b27c21547b1de404fd479e5223e620400a4d4e9f9b3978385c1b9901e Coin ID: 8a584bc0342afd6043238d3563473ee84e5cf4ea9092fcece5c343e31d25e498 Inner Address: txch1kadmqmwpd6w5gh08prjrpufsz3anfsz63zfclxpcm0dd9n2yzs5q4s03vp

Launcher ID: 02e12bc5496e5b646557cc9b259d8641aed541e0bfb6f1015b33e85a75b04db4 Coin ID: 1895f66087af646af6db6bd525360cf825903eaf1e86a08cd8dfd66d4755cd1f Inner Address: txch1kadmqmwpd6w5gh08prjrpufsz3anfsz63zfclxpcm0dd9n2yzs5q4s03vp

(venv) esaung@test-macbook-pro chia-blockchain % chia wallet vcs revoke -l 02e12bc5496e5b646557cc9b259d8641aed541e0bfb6f1015b33e85a75b04db4 -m 0.000000001

Active Wallet Key (*): -Fingerprint: 87074341 -Label: Food VC issuer -Sync Status: Synced

Wallet Keys: 1) 2780699030 test walleth 2) 1622336804 Jeff's CB trusted wallet - opera 3) 3208516197 Jeff CB test wallet 1 - base 4) 1131826759 Alice - VC demo wallet old 5) * 87074341 Food VC issuer 6) 964699796 Test chia friends wallet TN10 farmer cats 7) 4263116386 Alice VC wallet demo 8) 2920272449 Clawback Receiver Demo 9) 965505910 Chia NFT tn10 testing wallet 10) 3871580625 nfts background TN10 11) 3705636136 pawket ttn10 wallet Choose a wallet key [1-11] ('q' to quit, or Enter to use 87074341): 5 Cannot find a VC with ID 02e12bc5496e5b646557cc9b259d8641aed541e0bfb6f1015b33e85a75b04db4 (venv) esaung@test-macbook-pro chia-blockchain % chia wallet vcs revoke -l 02e12bc5496e5b646557cc9b259d8641aed541e0bfb6f1015b33e85a75b04db4 -m 0.000000001

Active Wallet Key (*): -Fingerprint: 87074341 -Label: Food VC issuer -Sync Status: Synced

Wallet Keys: 1) 2780699030 test walleth 2) 1622336804 Jeff's CB trusted wallet - opera 3) 3208516197 Jeff CB test wallet 1 - base 4) 1131826759 Alice - VC demo wallet old 5) 87074341 Food VC issuer 6) 964699796 Test chia friends wallet TN10 farmer cats 7) 4263116386 Alice VC wallet demo 8) 2920272449 Clawback Receiver Demo 9) 965505910 Chia NFT tn10 testing wallet 10) 3871580625 nfts background TN10 11) 3705636136 pawket ttn10 wallet Choose a wallet key [1-11] ('q' to quit, or Enter to use 87074341): 7 Exception from 'wallet' {'error': 'No peer connected', 'success': False, 'traceback': 'Traceback (most recent call last):\n File "/Users/esaung/Github/main/chia-blockchain/chia/rpc/util.py", line 21, in inner\n res_object = await f(request_data)\n File "/Users/esaung/Github/main/chia-blockchain/chia/rpc/util.py", line 72, in rpc_endpoint\n return await func(self, request, args, tx_config=tx_config, extra_conditions=extra_conditions, *kwargs)\n File "/Users/esaung/Github/main/chia-blockchain/chia/rpc/wallet_rpc_api.py", line 3889, in vc_revoke\n self.service.get_full_node_peer(),\n File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/wallet_node.py", line 985, in get_full_node_peer\n raise ValueError("No peer connected")\nValueError: No peer connected\n'}: Traceback (most recent call last): File "/Users/esaung/Github/main/chia-blockchain/chia/cmds/cmds_util.py", line 119, in get_any_service_client yield node_client, config File "/Users/esaung/Github/main/chia-blockchain/chia/cmds/cmds_util.py", line 235, in get_wallet_client yield wallet_client, new_fp, config File "/Users/esaung/Github/main/chia-blockchain/chia/cmds/wallet_funcs.py", line 1583, in revoke_vc txs = await wallet_client.vc_revoke( File "/Users/esaung/Github/main/chia-blockchain/chia/rpc/wallet_rpc_client.py", line 1361, in vc_revoke response = await self.fetch( File "/Users/esaung/Github/main/chia-blockchain/chia/rpc/rpc_client.py", line 61, in fetch raise ValueError(res_json) ValueError: {'error': 'No peer connected', 'success': False, 'traceback': 'Traceback (most recent call last):\n File "/Users/esaung/Github/main/chia-blockchain/chia/rpc/util.py", line 21, in inner\n res_object = await f(request_data)\n File "/Users/esaung/Github/main/chia-blockchain/chia/rpc/util.py", line 72, in rpc_endpoint\n return await func(self, request, args, tx_config=tx_config, extra_conditions=extra_conditions, **kwargs)\n File "/Users/esaung/Github/main/chia-blockchain/chia/rpc/wallet_rpc_api.py", line 3889, in vc_revoke\n self.service.get_full_node_peer(),\n File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/wallet_node.py", line 985, in get_full_node_peer\n raise ValueError("No peer connected")\nValueError: No peer connected\n'}

Here's debug ouput from my logs with VC in the line: 2023-09-12T11:03:20.049 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 3fcf35985cdbc96f9f78471a199a43fce1576cc426bc60aed8968156cf9c66aa, puzzle_hash: 48c9d8de0635e2f1793bcd0fb016e716c19a254eea098a2eae9af4e3b4cb1ee9, amount: 1 }, spent_height: None, created_height: Some(3055096) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared 2023-09-12T11:03:20.119 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 9509cb587d5611381770dfd7d9ead9f6f62a38ea629c139e8821efe23468d9d4, puzzle_hash: 4bd05635c0f43614ec573075fe5bffa5f1181150b7e7b5813f5fafcd965cd42e, amount: 1 }, spent_height: None, created_height: Some(3055148) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared 2023-09-12T11:03:20.183 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 3015656d681773ddf6dedb87258ba4a27d0d6bb5847c56c7508f533f9d20bcf2, puzzle_hash: ad95e7340fcdde3312405d76e35182c187cec6632a680f12054900559cfef179, amount: 1 }, spent_height: None, created_height: Some(3055169) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared 2023-09-12T11:03:20.249 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 25107800a0efc160bd8ae9e8663e4c113a188d0d4bf48b575927948aa134f7f8, puzzle_hash: ab7d775e5d48b80ed1d78bbb96e214cd2a1fa54d12203f84b27c6a1b1c292372, amount: 1 }, spent_height: None, created_height: Some(3055337) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared 2023-09-12T11:03:20.306 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 4a3567e4bd6e62e6569b277109a148799afb33c5253c5e175fda1f15a8984783, puzzle_hash: 2e802f64bfb92fe117c1f976858f573a1bd9be4ad43a2414278de31123c5c811, amount: 1 }, spent_height: None, created_height: Some(3055391) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared 2023-09-12T11:03:20.369 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 72f744b93b146d515bce67cfb3d650cd146f693d0153c4110b672b8cc42e3144, puzzle_hash: 9047d33a8b60f2c5f947adfdb5be6c9b0b6eb3daa074dc59dd4c07438682e9b7, amount: 1 }, spent_height: None, created_height: Some(3056443) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared 2023-09-12T11:03:20.431 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 7da949ea7612aa6c97af9f47df654748be514b9004eda3c4ebd79325502fd12e, puzzle_hash: 1e65ac03144e3e6b4af0ffd3553e6a9ff334113e720ebd44dc2e5de1ad212a29, amount: 1 }, spent_height: None, created_height: Some(3057820) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared 2023-09-12T11:04:34.368 wallet chia.wallet.wallet_state_manager: DEBUG Adding record to state manager coin: Coin { parent_coin_info: 6e55661104e31b32cd38d90748e31470593912de232d9cdace73a4728f2f918d, puzzle_hash: 08cae4401c06a14781a8fd12691077d87bdcb14926a0163bafe06e63b37daef6, amount: 1 } at 3178455 wallet_id: 2 and type: WalletType.VC File "/Users/esaung/Github/main/chia-blockchain/chia/rpc/wallet_rpc_api.py", line 3816, in vc_spend txs = await vc_wallet.generate_signed_transaction( File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_wallet.py", line 250, in generate_signed_transaction vc_record = await self.get_vc_record_for_launcher_id(vc_id) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_wallet.py", line 153, in get_vc_record_for_launcher_id File "/Users/esaung/Github/main/chia-blockchain/chia/rpc/wallet_rpc_api.py", line 3889, in vc_revoke 2023-09-12T11:11:06.068 wallet chia.wallet.wallet_state_manager: DEBUG Adding record to state manager coin: Coin { parent_coin_info: 6e55661104e31b32cd38d90748e31470593912de232d9cdace73a4728f2f918d, puzzle_hash: 08cae4401c06a14781a8fd12691077d87bdcb14926a0163bafe06e63b37daef6, amount: 1 } at 3178455 wallet_id: 2 and type: WalletType.VC 2023-09-12T11:11:06.260 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 3fcf35985cdbc96f9f78471a199a43fce1576cc426bc60aed8968156cf9c66aa, puzzle_hash: 48c9d8de0635e2f1793bcd0fb016e716c19a254eea098a2eae9af4e3b4cb1ee9, amount: 1 }, spent_height: None, created_height: Some(3055096) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared 2023-09-12T11:11:06.333 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 9509cb587d5611381770dfd7d9ead9f6f62a38ea629c139e8821efe23468d9d4, puzzle_hash: 4bd05635c0f43614ec573075fe5bffa5f1181150b7e7b5813f5fafcd965cd42e, amount: 1 }, spent_height: None, created_height: Some(3055148) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared 2023-09-12T11:11:06.423 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 3015656d681773ddf6dedb87258ba4a27d0d6bb5847c56c7508f533f9d20bcf2, puzzle_hash: ad95e7340fcdde3312405d76e35182c187cec6632a680f12054900559cfef179, amount: 1 }, spent_height: None, created_height: Some(3055169) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared 2023-09-12T11:11:06.486 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 25107800a0efc160bd8ae9e8663e4c113a188d0d4bf48b575927948aa134f7f8, puzzle_hash: ab7d775e5d48b80ed1d78bbb96e214cd2a1fa54d12203f84b27c6a1b1c292372, amount: 1 }, spent_height: None, created_height: Some(3055337) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared 2023-09-12T11:11:06.549 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 4a3567e4bd6e62e6569b277109a148799afb33c5253c5e175fda1f15a8984783, puzzle_hash: 2e802f64bfb92fe117c1f976858f573a1bd9be4ad43a2414278de31123c5c811, amount: 1 }, spent_height: None, created_height: Some(3055391) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared 2023-09-12T11:11:06.611 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 72f744b93b146d515bce67cfb3d650cd146f693d0153c4110b672b8cc42e3144, puzzle_hash: 9047d33a8b60f2c5f947adfdb5be6c9b0b6eb3daa074dc59dd4c07438682e9b7, amount: 1 }, spent_height: None, created_height: Some(3056443) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared 2023-09-12T11:11:06.672 wallet chia.wallet.wallet_state_manager: ERROR Failed to add coin_state: CoinState { coin: Coin { parent_coin_info: 7da949ea7612aa6c97af9f47df654748be514b9004eda3c4ebd79325502fd12e, puzzle_hash: 1e65ac03144e3e6b4af0ffd3553e6a9ff334113e720ebd44dc2e5de1ad212a29, amount: 1 }, spent_height: None, created_height: Some(3057820) }, error: Specified VC was cleared vc: VerifiedCredential = VerifiedCredential.get_next_from_coin_spend(coin_spend) File "/Users/esaung/Github/main/chia-blockchain/chia/wallet/vc_wallet/vc_drivers.py", line 610, in get_next_from_coin_spend raise ValueError("Specified VC was cleared") ValueError: Specified VC was cleared

and lines found with "bytes32": 2023-09-12T11:04:34.260 wallet chia.wallet.wallet_node : INFO clear_after_height 3178454 for peer WSChiaConnection(local_type=<NodeType.WALLET: 6>, local_port=8449, local_capabilities=[<Capability.BASE: 1>, <Capability.BLOCK_HEADERS: 2>, <Capability.RATE_LIMITS_V2: 3>], peer_info=PeerInfo(_ip=IPv4Address('127.0.0.1'), _port=58444), peer_node_id=<bytes32: 657fa4fc3c9462a6578c4dc94fca07d1eabc2bef06f99ce9fa8a3dee9622afd2>, outbound_rate_limiter=<chia.server.rate_limits.RateLimiter object at 0x1175ad790>, inbound_rate_limiter=<chia.server.rate_limits.RateLimiter object at 0x1175ad7f0>, is_outbound=True, creation_time=1694534596.811233, bytes_read=142160, bytes_written=30827, last_message_time=1694534674.2566159, peer_server_port=58444, closed=False, connection_type=<NodeType.FULL_NODE: 1>, request_nonce=29, peer_capabilities=[<Capability.BASE: 1>, <Capability.BLOCK_HEADERS: 2>, <Capability.RATE_LIMITS_V2: 3>], version='2.0.1b3', protocol_version=<Version('0.0.35')>)

Quexington commented 1 year ago

It seems like from this log the problem was actually that you weren't connected to any peers. Your logs show the correct message I would expect during revoking though so maybe check to see if the VC has actually been revoked.

esaung commented 1 year ago

yeah I may need to try and get the error logs once TN10 is more stable.