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

Vote endpoints now return proposal hash and voting hashes, added cert… #297

Merged
merged 3 commits into from
Aug 5, 2024

Conversation

hodlonaut
Copy link
Contributor

@hodlonaut hodlonaut commented Aug 2, 2024

…_index param to proposal votes endpoint, spec updates

Description

Vote list endpoints now return proposal_tx_hash of the proposal and vote_tx_hash of the vote, and blocktime has been corrected to be that of the latter. One of the endpoints had cert_index parameter in implementation but was missing from API specs. Ordering changed from block time to tx id as can have multiple voting transactions within same block in theory.

Where should the reviewer start?

Motivation and context

Which issue it fixes?

How has this been tested?

…_index param to proposal votes endpoint, spec updates
@hodlonaut hodlonaut requested review from rdlrt and Scitz0 August 2, 2024 07:24
@rdlrt rdlrt merged commit c70aaa4 into 1.2.0a Aug 5, 2024
2 checks passed
@rdlrt rdlrt deleted the more-specific-tx-hashes branch August 5, 2024 00:55
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