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 22, 2024
1 parent af1ca81 commit a1eeb0c
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 @@ -16,6 +16,7 @@ changes.

### Fixed

- 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 a1eeb0c

Please sign in to comment.