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

🐛 Ada holder voting power does not take into account unclaimed rewards OR gov action deposits paid #2000

Open
Ryun1 opened this issue Sep 10, 2024 · 3 comments · Fixed by #2145
Assignees
Labels

Comments

@Ryun1
Copy link
Member

Ryun1 commented Sep 10, 2024

Area

Delegation Pillar

Domain

gov.tools

Which wallet were you using?

No response

Context

  • Ada holder voting power is equal to;
    • total of lovelace UTxOs controlled by the stake account
    • total of unclaimed lovelace from the reward account (from staking rewards or treasury withdrawals)
    • total lovelace locked for governance action deposit
  • see example stake credential (mine)

Steps to reproduce

  1. check voting power for e1130796e23f5c56594f50ace2c3240923219fc69ee2cb6e2c8facec68

Actual behavior

resulting value it: wallet balance - unclaimed rewards

Expected behavior

resulting value it: wallet balance + unclaimed rewards

@bosko-m
Copy link
Contributor

bosko-m commented Oct 10, 2024

Im putting a P0 on this @Ryun1 .

@MSzalowski
Copy link
Contributor

Fix candidate: #2145

I still look for another tables to collect the remaining lovelaces

MSzalowski added a commit that referenced this issue Oct 15, 2024
…g-power-does-not-take-into-account-unclaimed-rewards-or-gov-action-deposits-paid

fix(#2000): fix counting ada holder voting power
@bosko-m bosko-m reopened this Oct 15, 2024
@spannercode
Copy link
Contributor

The current issue seems to be unsynced utxo_view of the dbsync. This has happened before. It might have been reverted when dbsync was upgraded.

Deleting the existing the utxo_view and recreating should fix the issue (excluding the unclaimed rewards part).
CC: @bosko-m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Status: In staging
Development

Successfully merging a pull request may close this issue.

5 participants