Skip to content

Commit

Permalink
fix: fix wrong status of past DRep information
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski committed Nov 26, 2024
1 parent 3417a4f commit 3fe7bde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ changes.
### Fixed

- Fix ada holder voting power calculation
- Fix wrong statuses on past DRep info
- Fix listing voted-on governance actions [Issue 2379](https://github.com/IntersectMBO/govtool/issues/2379)
- Fix wronly displayed markdown on slider card [Issue 2263](https://github.com/IntersectMBO/govtool/issues/2316)
- fix ada quantities format to avoid thousands when the total is 0 [Issue 2372](https://github.com/IntersectMBO/govtool/issues/2382)
Expand Down
2 changes: 2 additions & 0 deletions govtool/backend/sql/get-drep-info.sql
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ WasRegisteredAsDRep AS (
CROSS JOIN DRepId
WHERE
drep_hash.raw = DRepId.raw
AND drep_registration.deposit >= 0
AND drep_registration.voting_anchor_id IS NOT NULL)) AS value
),
WasRegisteredAsSoleVoter AS (
Expand All @@ -100,6 +101,7 @@ WasRegisteredAsSoleVoter AS (
CROSS JOIN DRepId
WHERE
drep_hash.raw = DRepId.raw
AND drep_registration.deposit >= 0
AND drep_registration.voting_anchor_id IS NULL)) AS value
),
CurrentMetadata AS (
Expand Down

0 comments on commit 3fe7bde

Please sign in to comment.