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

added query to return info on voting tally for dispute #412

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

CJPotter10
Copy link
Contributor

Added query to dispute module to get current voting tally for a dispute broken down by group. Changed reporter "available-tips" query to return their tips in Loya (precision of 6) instead of the normalized stored value (precision of 12)

…vailable-tips query in the reporter module to return their tips with a precision of 6 instead of 12 so they don't think they have a boat load of tips
@@ -171,3 +173,51 @@ func (s *KeeperTestSuite) TestOpenDisputesQuery() {
fmt.Println(resp)
require.Equal(2, len(resp.OpenDisputes.Ids))
}

func (s *KeeperTestSuite) TestTallyQuery() {
Copy link
Contributor

Choose a reason for hiding this comment

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

nice tests

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.

2 participants