Skip to content

Conversation

@reeshavacharya
Copy link
Contributor

@reeshavacharya reeshavacharya commented Mar 20, 2025

  • Fix cc vote count to include only the vote and distribution of the active CC.
  • Only parse stake addresses having hex length 58

Copy link
Contributor

@mesudip mesudip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

LEFT JOIN RatifiedCommitteeGovAction rc
ON rc.id = c.gov_action_proposal_id
WHERE c.gov_action_proposal_id IS NULL
GROUP BY c.quorum_numerator, c.quorum_denominator
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The group by clause makes no sense

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Truly sorry for forgetting to remove this. It was in the gov-state/committee endpoint query where grouping by numerator and denominator was required and i copied it from there. Thank you for the profound insight. It indeed does not make sense. I have removed it.

@reeshavacharya reeshavacharya requested a review from mesudip March 27, 2025 04:33
Copy link
Contributor

@mesudip mesudip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now

@mesudip mesudip merged commit 295996e into main Mar 27, 2025
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

Successfully merging this pull request may close these issues.

3 participants