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

Display voting power at the time of proposal creation #251

Open
3 tasks
denviljclarke opened this issue Nov 22, 2024 · 0 comments
Open
3 tasks

Display voting power at the time of proposal creation #251

denviljclarke opened this issue Nov 22, 2024 · 0 comments
Assignees

Comments

@denviljclarke
Copy link
Contributor

📝 Description

The governance UI shows users their total voting power based on their locked balance. However, this value must reflect the historical voting power when each proposal was created since voting power can change if users lock tokens after a proposal is made. This issue was highlighted when Markus noticed his voting power was 0% because he had locked his tokens after the proposal was created. We need to modify the UI to display the correct historical voting power specific to each proposal's creation timestamp to fix this.

✅ Acceptance Criteria

  • Display the historical voting power from the time of proposal creation instead of the current voting power
  • Add clear UI indication that voting power is calculated from proposal creation time
  • Add tests covering different voting power scenarios (tokens locked before/after proposal creation)
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

2 participants