chia-blockchain: [Bug] Failed to set DID on NFT

What happened?

When attempting to move an NFT to a DID to which I’ve moved other NFTs in the past, I received the error, The NFT move failed: Error: Failed to set DID on NFT:. This has been a problem since at least 1.5.0.

Version

1.6.0

What platform are you using?

Linux

What ui mode are you using?

GUI

Relevant log output

wallet chia.rpc.wallet_rpc_api    : ERROR    Failed to set DID on NFT:~
Traceback (most recent call last):
  File "/redacted/path/chia-blockchain/chia/rpc/wallet_rpc_api.py", line 1581, in nft_set_nft_did
    spend_bundle = await nft_wallet.set_nft_did(nft_coin_info, did_id, fee=fee)
  File "/redacted/path/chia-blockchain/chia/wallet/nft_wallet/nft_wallet.py", line 912, in set_nft_did
    did_inner_hash, did_bundle = await self.get_did_approval_info(nft_id, bytes32(did_id))
  File "/redacted/path/chia-blockchain/chia/wallet/nft_wallet/nft_wallet.py", line 292, in get_did_approval_info
    did_bundle = await wallet.create_message_spend(puzzle_announcements=[nft_id])
  File "/redacted/path/chia-blockchain/chia/wallet/did_wallet/did_wallet.py", line 703, in create_message_spend
    assert coins is not None
AssertionError

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 70 (30 by maintainers)

Most upvoted comments

Are you considering creating a new DID? We have a new RPC API for bulk set DID for NFTs.