Chia-Network / chia-blockchain

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

Plot NFT not created when creating new plot [Bug] #15980

Closed danieljperry closed 1 year ago

danieljperry commented 1 year ago

What happened?

Starting with a new farmer with 100 mojos in a wallet, I attempted to create a plot:

10

I did not have a Plot NFT yet, so I selected JOIN A POOL:

11

I chose to connect to a pool:

12

The pool's details showed up as expected:

13

From there, I opted to create a k-32 plot using madmax. The plot was created without issue, but the Plot NFT was not created and I did not join a pool as expected.

I tried a few different permutations, including k-25 plots, joining a different pool, and using chiapos instead of madmax. The results were always the same. Here is an INFO log from one attempt (I don't see anything interesting in this log):

debug_add_plot.log

Finally, when I go to the Pooling panel and attempt to create a Plot NFT from there, it works. My guess is that this issue has existed for a while but has not been reporting because anyone who already has a Plot NFT would not encounter it.

Version

2.0.0rc3

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output

See above.
danieljperry commented 1 year ago

This is likely a low-priority issue because it has a workaround. Also, depending on the expected behavior (should creating a plot NFT be combined with creating a plot?) this might be more appropriate for the chia-blockchain-gui repo.

paninaro commented 1 year ago

@ChiaMineJP Can you take a look?

ChiaMineJP commented 1 year ago

I'll take a look

ChiaMineJP commented 1 year ago

Umm. I think I found the root cause. The root cause seems to be the plotter change. If you change plotter, form values are reset. Maybe plotNFT info as well. I'll investigate more on this.