Skip to content
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

[Staking]: unable to get vsp info for my tickets #138

Open
dreacot opened this issue Sep 30, 2023 · 15 comments
Open

[Staking]: unable to get vsp info for my tickets #138

dreacot opened this issue Sep 30, 2023 · 15 comments
Labels
bug Something isn't working

Comments

@dreacot
Copy link
Member

dreacot commented Sep 30, 2023

i am unable to get vsp info for my tickets[voted, revoked, live] etc

see the error log below

2023-09-30 17:21:55.045 [WRN] DCR: unable to getWallet info using ticket: 7bfdd587a9020734686ed3c40b19f7f7a96a20b8794565ea2d9fa014946cdff0 Error: item does not exist: no VSP info for ticket 7bfdd587a9020734686ed3c40b19f7f7a96a20b8794565ea2d9fa014946cdff0
2023-09-30 17:21:55.045 [ERR] UI: VSPTicketInfo error: item does not exist: no VSP info for ticket 7bfdd587a9020734686ed3c40b19f7f7a96a20b8794565ea2d9fa014946cdff0
2023-09-30 17:21:55.045 [WRN] DCR: unable to getWallet info using ticket: 7bfdd587a9020734686ed3c40b19f7f7a96a20b8794565ea2d9fa014946cdff0 Error: item does not exist: no VSP info for ticket 7bfdd587a9020734686ed3c40b19f7f7a96a20b8794565ea2d9fa014946cdff0
2023-09-30 17:21:55.045 [ERR] UI: VSPTicketInfo error: item does not exist: no VSP info for ticket 7bfdd587a9020734686ed3c40b19f7f7a96a20b8794565ea2d9fa014946cdff0

Screenshot from 2023-09-30 17-24-07

@ukane-philemon
Copy link
Collaborator

7bfdd587a9020734686ed3c40b19f7f7a96a20b8794565ea2d9fa014946cdff0

Does not seem to be a valid tx id. Checked on dcrdata but can't find it.

@dreacot
Copy link
Member Author

dreacot commented Sep 30, 2023

so it's possible the wrong tx id is being queried, we should investigate where the discrepancy is coming from

@dreacot
Copy link
Member Author

dreacot commented Sep 30, 2023

7bfdd587a9020734686ed3c40b19f7f7a96a20b8794565ea2d9fa014946cdff0

Does not seem to be a valid tx id. Checked on dcrdata but can't find it.

i'm able to find it, this is testnet

https://testnet.dcrdata.org/tx/7bfdd587a9020734686ed3c40b19f7f7a96a20b8794565ea2d9fa014946cdff0

@ukane-philemon
Copy link
Collaborator

i'm able to find it, this is testnet

Oh, testnet. Okay.

@ukane-philemon
Copy link
Collaborator

ukane-philemon commented Sep 30, 2023

Did you try a rescan, it seems the testnet wallet db was tampered with?

I think the tx is not in your wallet db.

@dreacot
Copy link
Member Author

dreacot commented Sep 30, 2023

haven't tried a rescan, happens on mainnet for my tickets, regardless of status

@dreacot dreacot moved this to 🆕 To-Do in dev Oct 1, 2023
@dreacot
Copy link
Member Author

dreacot commented Oct 6, 2023

so noticed something interesting, on the wallet i used to purchase the tickets i see the fees, but on the same wallet (on a different machine) i don't see the fees and get the error outlined in the original description

@dreacot
Copy link
Member Author

dreacot commented Oct 6, 2023

trying to rescan as suggested causes the app to crash(if i navigate to the wallet info page) #156

@dreacot
Copy link
Member Author

dreacot commented Oct 6, 2023

i had to stay on the page the rescan was initiated and waited for the rescan to finish, even after rescanning, i don't see the vsp nor fee

@JoeGruffins
Copy link
Collaborator

I can look into this.

@JoeGruffins
Copy link
Collaborator

This isn't a restored wallet is it?

@JoeGruffins
Copy link
Collaborator

JoeGruffins commented Oct 10, 2023

Will try not to clutter this issue up too much but bought some tickets and see this error in logs immediately:

2023-10-10 17:16:29.153 [ERR] VSPC: ticket 9b2a121e5f7010e4a1cec3ed3d2ebed1bf2801e4cb7ad5f383df8b892a637e8d: reconcile payment: payfee: error: status: 400 Bad Request resp: {"code":3,"message":"fee tx already received for ticket"}
2023-10-10 17:16:43.857 [ERR] VSPC: ticket 9b2a121e5f7010e4a1cec3ed3d2ebed1bf2801e4cb7ad5f383df8b892a637e8d: reconcile payment: payfee: error: status: 400 Bad Request resp: {"code":3,"message":"fee tx already received for ticket"}
2023-10-10 17:17:46.396 [ERR] VSPC: ticket 42f5e34aa569bc5a991204c4df132b62bedcebebd3d1aaf27151cf9721dd2212: reconcile payment: payfee: error: status: 400 Bad Request resp: {"code":3,"message":"fee tx already received for ticket"}
2023-10-10 17:18:04.435 [ERR] VSPC: ticket 9b2a121e5f7010e4a1cec3ed3d2ebed1bf2801e4cb7ad5f383df8b892a637e8d: reconcile payment: payfee: error: status: 400 Bad Request resp: {"code":3,"message":"fee tx already received for ticket"}
2023-10-10 17:18:21.645 [ERR] VSPC: ticket 9b2a121e5f7010e4a1cec3ed3d2ebed1bf2801e4cb7ad5f383df8b892a637e8d: reconcile payment: payfee: error: status: 400 Bad Request resp: {"code":3,"message":"fee tx already received for ticket"}

Ah is #47

@JoeGruffins
Copy link
Collaborator

I don't think I should touch this until #48 goes in, it is changing a lot of the same places I would and may cause duplicate work.

@dreacot
Copy link
Member Author

dreacot commented Oct 10, 2023

This isn't a restored wallet is it?

it is

@dreacot
Copy link
Member Author

dreacot commented Oct 10, 2023

I don't think I should touch this until #48 goes in, it is changing a lot of the same places I would and may cause duplicate work.

okay, would backlog this for now

@dreacot dreacot moved this from 🆕 To-Do to 📋 Backlog in dev Oct 10, 2023
@dreacot dreacot moved this from 📋 Backlog to 🆕 To-Do in dev Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants