Skip to content

Unable to reclaim stake on a failed motion #4004

@jakubcolony

Description

@jakubcolony

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

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions