-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] XCH-USDS offer acceptance returns change in unhinted form (no memo) which wallet loses #15156
Comments
Here's a tool I'm building to fix this issue. It has already found some missing XCH. Trying it now on some USDS as well. https://github.com/trgarrett/chialisp/blob/main/misc/hint_fixer.py |
Change for CATs has historically never been hinted and those coins are normally found via puzzle subscription and not the hint. It's possible you are reaching the limit of puzzle subscriptions (especially when using untrusted nodes aka, light wallet mode) which is why they may appear missing. We do anticipate changing this going forward to start hinting CAT change (see #15179). |
Thanks for the feedback, Earle. Is there a hard-coded or configurable limit
somewhere on puzzle subscriptions? I have a synced full node and have still
dealt with missing coins regularly. I have plenty of RAM so if it’s just a
matter of updating a cache limit that could be really helpful.
Sorry for any confusion I caused with incorrect assumptions on the state of
hinting for CATs. I knew that hints were pretty critical for finding things
like NFTs in other cases, so I may have jumped to some unsupported
conclusions.
…On Thu, May 4, 2023 at 11:56 AM Earle Lowe ***@***.***> wrote:
Change for CATs has historically never been hinted and those coins are
normally found via puzzle subscription and not the hint. It's possible you
are reaching the limit of puzzle subscriptions (especially when using
untrusted nodes aka, light wallet mode) which is why they may appear
missing.
The idea originally was to be clever about CAT change and to save space
on-chain by not hinting.
We do anticipate changing this going forward to start hinting CAT change
(see #15179 <#15179>).
Also, we plan some other fixes to make it more robust to find any existing
unhinted change
—
Reply to this email directly, view it on GitHub
<#15156 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI2B4MSHRCVHVTPQA5TYX53XEPNVFANCNFSM6AAAAAAXPX4DKE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yes, there is a limit to puz subscriptions in by the full_node config.yaml, but it is very high in 1.7.1 for trusted nodes:
and
again those are |
Thanks @emlowe. I have probably 70 CAT tokens (unique asset ID), hundreds of NFTs, and both observable and non-observable keys. I'm probably an outlier for the default values, so I will try to bump them up by a couple of orders of magnitude and see if I see better results. |
Marking as closed, as going forward this change will be hinted due to #15179 |
What happened?
I accepted an offer to trade some of my USDS for 1 XCH. The change coin is visible in the blockchain explorer at an address my wallet believes it controls. However, the change coin was sent back to my wallet address lacking any hinting.
Unspent coin:
https://www.spacescan.io/coin/0x952ed023ace998c6ae5a7b4e78f148376d3db97176fd68c5edfb3fb663a5f0b2
The primary spend for redemption was hinted, while the change was not:
I believe this to be the root cause of many of my wallet issues following offer acceptance, possibly for CATs, XCH, and NFTs.
Version
1.7.1
What platform are you using?
macOS
What ui mode are you using?
GUI
Relevant log output
No response
The text was updated successfully, but these errors were encountered: