-
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] clawback bugs overview version 1.8.2 #15703
Comments
@BrandtH22 Are you using wallet-only mode, or are you running (and syncing against) your own full node? |
There are some known resync issues. Can you test this fix? #15496 |
I am sorry for my delayed response and not including this information originally. I am currently testing the fixes that ytx linked and appear to have been merged into main, will report my results here by EoD |
It is merged to the main now |
@ytx1991 and @paninaro - Summary - BUG:
Workarounds:
Full Overview of process: Sending the clawback Receiver viewing the clawback Sender reviewing the clawback (note - receivers experiences the same after deleting unconfirmed transactions) Next Alice closes and reopens the client but the pending clawback transaction is still not visible after the client syncs. Alice then "nukes" the db by:
NOTE - this is where the sender and receiver experience changes. Bob (the receiver) does again the pending clawback transaction after nuking the DB Lastly, Alice syncs up a local trusted full node then again "nukes" the db. Unfortunately this did not provide visibility to the pending clawback transaction. |
p.s. thank you for all of the attention on this :) |
@BrandtH22 I am following this, but everything is backend related from my POV. On the FE I am just displaying whatever the backend returns to me. If you believe something is a FE issue, please let me know. Thank you |
please retest in 2.0.0-b5 |
Hey, just tested and the bug persists. It seems that the senders wallet is unable to find and/or interact with the pending clawback coin after the walletDB has been deleted. Steps to reproduce:
Representation of bug:
|
This is being worked on. Thanks for your report! |
The fix #15853 is verified |
Confirmed that the fix has been verified in #15853 |
What happened?
(note - these bugs are not consistently occurring but are reproducible occasionally with enough attempts following the process outlined in the summary)
Summary: Alice sends xch to Bob with a 24 hour clawback. Alice attempts to use the clawback feature but is not provided the option and has an indicator that the clawback is in progress:
![image](https://private-user-images.githubusercontent.com/48610606/251601628-4860f68c-2775-496e-bfba-56d19fe4fa9c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1MTk4NjcsIm5iZiI6MTcyMTUxOTU2NywicGF0aCI6Ii80ODYxMDYwNi8yNTE2MDE2MjgtNDg2MGY2OGMtMjc3NS00OTZlLWJmYmEtNTZkMTlmZTRmYTljLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDIzNTI0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNjZDYxMjQ1YTUwYjEzZTE1ZTIwYTFlZTMzYWQ2MmQxZGNhNzcyMGEwZGU5NDZhZmYzZTdhZGUwODhmNjAyZmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.iHn77gimEXMJ-rJ2YmsLpqCn_c8pVPR530dIzShuPU4)
![image](https://private-user-images.githubusercontent.com/48610606/251601674-d5eacabf-7f9b-4832-8a03-321f8022c529.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1MTk4NjcsIm5iZiI6MTcyMTUxOTU2NywicGF0aCI6Ii80ODYxMDYwNi8yNTE2MDE2NzQtZDVlYWNhYmYtN2Y5Yi00ODMyLThhMDMtMzIxZjgwMjJjNTI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDIzNTI0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUwMzM3MDA2ZTFiMDg5ZGUzY2FmYzMyMGVmMTlmNzQwZDI2NTBkYzEzZjYyZmVhMGZiNWM0ZmM5YjYzZWRiODUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.UowXCLgL7buYUOdIeioJHNbiOHnfNmgOHq_boZkLdm8)
Alice realizes this is an error and “Deletes Unconfirmed Transactions” in the GUI. At first the pending clawback transaction is removed and becomes no longer visible in the GUI:
![image](https://private-user-images.githubusercontent.com/48610606/251601703-f992b142-d1a0-4ff2-8720-b12330e23575.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1MTk4NjcsIm5iZiI6MTcyMTUxOTU2NywicGF0aCI6Ii80ODYxMDYwNi8yNTE2MDE3MDMtZjk5MmIxNDItZDFhMC00ZmYyLTg3MjAtYjEyMzMwZTIzNTc1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDIzNTI0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA3MmI3NTg3ZjBlZTI1NjM3MDEyODU2ZGI3MjY5NzJkN2UxY2UzODFmNDcyMzA1MDgzYzMyM2I2ODA4YmE5ODAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.omu8w8dUZaOPSksyuJuc5i5vFYNm9WbdI2DwHfNncZQ)
Alice realizes this is also an error and resyncs via the GUI under settings/advanced. This first removes the pending clawback transaction while syncing occurs then returns the pending clawback transaction but this time with the needed clawback option:
![image](https://private-user-images.githubusercontent.com/48610606/251601749-8c5f90db-e224-4816-9da4-5a43cc4db556.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1MTk4NjcsIm5iZiI6MTcyMTUxOTU2NywicGF0aCI6Ii80ODYxMDYwNi8yNTE2MDE3NDktOGM1ZjkwZGItZTIyNC00ODE2LTlkYTQtNWE0M2NjNGRiNTU2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDIzNTI0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThjYjM2NDRkYWQwNzAzZDNjZWFiOTQ3N2JlMmEzMzJkYzEzNWU5MTcyNTM0ZDMwYzNmOTIzMjBlOTU1NDFiZTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._j3MwMAWrvm44GLyIPh2xnYpJrIBimyLkZ0ljs8l9Pw)
P.s. during this process, Bob sees the transaction being sent from his own address:
![image](https://private-user-images.githubusercontent.com/48610606/251601787-dac0a933-4752-47c0-8874-577cacc1c798.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1MTk4NjcsIm5iZiI6MTcyMTUxOTU2NywicGF0aCI6Ii80ODYxMDYwNi8yNTE2MDE3ODctZGFjMGE5MzMtNDc1Mi00N2MwLTg4NzQtNTc3Y2FjYzFjNzk4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDIzNTI0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ0YzcwZmRlMmU5ZGRjMjAwYjY1M2JiMTg0MzljZWY0MGVjNTkzNmU3NzM3YTBiNjFhYzZlY2MyOWI3NDMwNjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.du3jE6lHPT_lCWMGEqH6FXTLe715DF30pbjTk0Vgv5g)
Bugs Overview
Bug 1: After a period of time the senders view incorrectly shows that the transaction is in Clawing back state
Bug 2: After clearing transactions there are two different results (second is the bug):
Bug 3: After resyncing there are three different results (2-4 are the bug):
Bug 4: Receiver sees transaction as being sent from their own receive address
note - this bug has also been reported by morebytes and nanobyt3 in discord
workaround - in all instances I was able to use the cli to claim back the funds as the receiver so long as I determined the correct coinID for which I needed to use an explorer.
Version
1.8.2
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: