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

[voting example] No votes data when query proposals in voting period #68

Open
marslavish opened this issue Feb 7, 2023 · 0 comments
Open

Comments

@marslavish
Copy link
Contributor

For example, on the Juno chain, query the proposals in the voting period

const { proposals } = await client.cosmos.gov.v1beta1.proposals({
    proposalStatus: ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD,
    depositor: '',
    voter: '',
});

console.log(proposals);

the result will be
image

expected result (has votes data)
image

@marslavish marslavish changed the title No votes data when query proposals in voting period [voting example] No votes data when query proposals in voting period Feb 7, 2023
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

No branches or pull requests

1 participant