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

Unable to reclaim stake on a failed motion #4004

Open
jakubcolony opened this issue Dec 20, 2024 · 1 comment · May be fixed by #4182
Open

Unable to reclaim stake on a failed motion #4004

jakubcolony opened this issue Dec 20, 2024 · 1 comment · May be fixed by #4182
Assignees
Labels
bug Something isn't working Priority: P1 (High)

Comments

@jakubcolony
Copy link
Collaborator

jakubcolony commented Dec 20, 2024

There are two issues here, one when motion fails after opposing (but without voting) and one when the oppose vote wins.

Steps to reproduce

  1. Install & enable voting reputation extension.
  2. Create any motion.

Variant A (no voting)
4. Fully oppose it.
5. Wait the staking period or advance time by running npm run forward-time <number_of_hours>.

Variant B (voting)

  1. Fully support and oppose the motion.
  2. Vote Oppose and reveal your vote.

Expected behaviour

You are able to reclaim the stake you made.

In both variants, the Claim button is missing from the UI. In variant B, it also causes some padding issues in the card.

Actual behaviour

There is no option to reclaim the stake from the motion UI. The only way to achieve this is by using "Claim all stakes" button in the User Hub.

Variant A
image

Variant B
image

The stake is correctly shown as claimable in the User Hub:

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority: P1 (High)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@rdig @davecreaser @jakubcolony and others