-
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] Offer Trade Status Not Updating Upon Fulfillment (remains pending accept) #18330
Comments
Quex it looks like the node knows the status (check_offer_validity) but the wallet does not? Is there a way to make sure these are coherent. |
I know it's been a minute but does the user have an incoming transaction for the NFT marked as confirmed? I wouldn't think so but it'd be interesting to check. Without reproducibility, I'm tempted to just chalk this up to a flaky error. It's very difficult to pin down exactly what could have gone wrong, maybe a failure on the full node part to notify a wallet of a specific coin before restarting, maybe some sort of database race, maybe a peer disconnects during the function call, I'm not sure. Rest assured if the user has the assets they can soft cancel the offer in order to bring their UX into (partial) agreement with reality. |
|
Hey Quex, yes the user does have a confirmed transaction with the NFT and the NFT is visible in the users wallet. I will have them soft cancel the offer but this will lead the GUI to indicate the offer was cancelled and not accepted. The user is connecting their wallet to a local trusted full node. Would it be possible to have the wallet re-verify whether offers are valid via the offer validity endpoint? |
Maybe we can have an on demand option |
As I said, the validity check has an easier job to do that syncing the state of an offer does. If you called |
Saw this in RC3 as well on Ubuntu 22.04 for multiple types of offers. Offer remains in pending accept even though it is no longer valid. Log is attached. |
Should be fixed in main, if not please reopen |
What happened?
A user created an offer file via a walletConnect connection, that offer was accepted and the user has received the requested assets.
The user confirmed that the offer is no longer valid via the check_offer_validity endpoint but the cli response of get_all_offers and also the GUI display of the offer still indicate pending_accept
This is the offer in question:
Version
2.4.2
What platform are you using?
macOS
What ui mode are you using?
GUI
Relevant log output
CLI Output of check_offer_validity:
CLI Output of get_offer_summary:
The text was updated successfully, but these errors were encountered: