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

fix: Various polishing fixes for AtomOne/Cosmos support #10414

Merged

Conversation

clockworkgr
Copy link
Contributor

  • AtomOne does not have No with Veto option

Removed it from display and action buttons

  • fetchVotes had no paging support so only 100 votes were considered

Tried adding pagination fetching via the proxy LCD but could not get it to work so switched to the RPC version for AtomOne. Now fetches all votes

  • fixed vote tallying for AtomOne

  • Hardcoded 66.7% passing support for AtomOne instead of 50% (this should be fetched from params for all cosmos chains but will do for now)

  • fixed deposit param fetching for AtomOne

  • fixed proposer display for AtomOne

Copy link
Contributor

@masvelio masvelio left a comment

Choose a reason for hiding this comment

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

codewise looks good but not able to test it

@timolegros timolegros merged commit 81f0078 into hicommonwealth:master Dec 20, 2024
28 of 31 checks passed
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