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

setting voting preference: already voted error #3860

Open
norwnd opened this issue Apr 5, 2023 · 3 comments
Open

setting voting preference: already voted error #3860

norwnd opened this issue Apr 5, 2023 · 3 comments

Comments

@norwnd
Copy link

norwnd commented Apr 5, 2023

Not sure if that's my misunderstanding of how off-chain voting works, but (running 1.7.6 on mainnet, using VSP to manage my tickets) I observed something along the lines of:

  • 1 of my tickets has voted ~13h ago and corresponding funds are currently in the process of unlocking (~7h to go still)
  • I have 2 other tickets tickets live
  • I wanted to set voting preferences on a proposal that went into voting state recently
  • on Governance page I see my voting power = 3, even though I'd expect it be 2 (since that 1st ticket has already voted)
  • I proceed to setting my voting preference on that proposal and 1) get some error about "wrong signature" (might be me making a typo entering password, not sure about this one) -> retrying again (with the correct password) I get 2) "ticket already voted" error or similar; I didn't capture the exact error messages, because
  • I restated my wallet and on Governance page I still see my voting power = 3 and voting preference being actually set (the way I wanted to set it, even though I didn't succeed setting voting preference due to those errors mentioned above)
@norwnd
Copy link
Author

norwnd commented Apr 6, 2023

Another possibly somewhat related confusing thing to me is when newly bought ticket gets added to my voting power. It doesn't seem to happen when ticket is in immature status, but even when it goeslive I still don't see voting power updated (for the proposal I previously set voting preferences for with another ticket I have live, maybe this is messing things up),

  • is there some delay after ticket went live before I can use it to vote
  • or is it just a UI issue ?

@alexlyp
Copy link
Member

alexlyp commented Apr 6, 2023

Voting power never updates since it directly refers to whether a ticket is found in the proposals ticketpool snapshot

@norwnd
Copy link
Author

norwnd commented Apr 6, 2023

whether a ticket is found in the proposals ticketpool snapshot

ah, hmm, I guess this is explained on another doc page:

A snapshot of the live ticket pool is taken at 256 blocks prior to the start of voting. Every ticket in the pool when this snapshot was taken can vote ‘Yes’ or ‘No’ on the proposal. Tickets bought after the snapshot cannot vote on the proposal.

anyway, consider adding a tool-tip with this text (or similar, maybe rephrased to read well from Decrediton-user perspective) ^ in UI near "voting power" element.

And that "ticket already voted" error message I got still shouldn't be there, looks like.

@norwnd norwnd changed the title voted ticket still counts in voting power setting voting preference: already voted error Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@alexlyp @norwnd and others