Description
What happened?
On-demand minting is stopping working since v1.7.1
- Last working version: 1.7.0
- Confirmed Bug version: 1.7.1/1.8.0/1.8.0b4-dev30(local)
Seems Chia Client checks the NFT existence before accepting offer. error with Coin record 0xd74d8c080d9fc28eaa4bb10b04897d922568d775d5cfdfa730af70e12d2e6db1 not found
But on-demand minting would not create the NFT before offer taken.
How the spend bundle look like
0xd74d8c080d9fc28eaa4bb10b04897d922568d775d5cfdfa730af70e12d2e6db1
is the coin I pointed in above image.
How are you minting the nft?
We created partial spend bundle of NFT minting which required the offer to be successfully taken through puzzle announcement
The NFT only minted when the offer accepted.
You can try in https://xch.cool/ .
Try to register and make one offer, then you can inspect this offer in https://mixch.dev/
Why it matters
I believe on-demand minting should be a useful feature benefit lots of scenarios, like mint blind box on-demand.
How to reproduce
- try to register an xch name at https://xch.cool/ and copy the resulting offer
Version
1.7.1/1.8.0/1.8.0b4-dev30
What platform are you using?
Windows
What ui mode are you using?
GUI
Relevant log output
2023-05-05T20:12:33.355 wallet chia.rpc.rpc_server : WARNING Error while handling message: Traceback (most recent call last):
File "chia\rpc\rpc_server.py", line 340, in safe_handle
File "chia\rpc\rpc_server.py", line 331, in ws_api
File "chia\rpc\wallet_rpc_api.py", line 2662, in nft_get_info
File "chia\rpc\wallet_rpc_api.py", line 277, in get_latest_singleton_coin_spend
ValueError: Coin record 0xd74d8c080d9fc28eaa4bb10b04897d922568d775d5cfdfa730af70e12d2e6db1 not found
2023-05-05T20:12:33.483 wallet chia.rpc.rpc_server : WARNING Error while handling message: Traceback (most recent call last):
File "chia\rpc\rpc_server.py", line 340, in safe_handle
File "chia\rpc\rpc_server.py", line 331, in ws_api
File "chia\rpc\wallet_rpc_api.py", line 2662, in nft_get_info
File "chia\rpc\wallet_rpc_api.py", line 277, in get_latest_singleton_coin_spend
ValueError: Coin record 0xd74d8c080d9fc28eaa4bb10b04897d922568d775d5cfdfa730af70e12d2e6db1 not found