question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Failed to set DID on NFT

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:70 (30 by maintainers)

github_iconTop GitHub Comments

1reaction
ytx1991commented, Dec 1, 2022

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

0reactions
Jsewillcommented, Dec 7, 2022

Thanks for all your time on this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

OpenSea bug appears to have destroyed nearly $100K in NFTs
Reports have emerged that a bug on OpenSea's marketplace has deleted user-owned NFTs worth 28.44 Ether (ETH), nearly $100,000 at the time of ......
Read more >
[Bug] Request failed getting NFT details : decoding to str: need ...
I'm not able to see my NFTs inside my wallet which was minted on testnet. When I am trying to mint a new...
Read more >
OpenSea Bug Allows Attackers to Get Massive Discount on ...
A bug on the non-fungible tokens (NFT) marketplace OpenSea has allowed at least three attackers to secure massive discounts on several NFTs ...
Read more >
OpenSea Fails Users Again With Another Shocking Bug
In case you missed it, an OpenSea listing bug was making waves throughout the NFT community where items were sold based on old...
Read more >
Bug Fixing a NFT Presale smart contract - YouTube
Today we will relook at the presale smart contract and see how we can fix a ... allows whitelisted addresses to mint over...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found