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

Can not open DAO proposal with HMY CLI #256

Closed
Stakeridoo opened this issue May 28, 2021 · 5 comments
Closed

Can not open DAO proposal with HMY CLI #256

Stakeridoo opened this issue May 28, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@Stakeridoo
Copy link

When I check the DAO proposal I change the space and use

./hmy governance list-proposal --space=dao-mainnet

I get the following output

QmeyoWEbJ3DSgudcTDW2UQHiU5QqgEAt7GQbYR7vUiedqS | Initial Validator DAO council

When I try to open the Proposal by

./hmy governance view-proposal --proposal=QmeyoWEbJ3DSgudcTDW2UQHiU5QqgEAt7GQbYR7vUiedqS

I get the following Error:

commit: v417-bc3f026, error: json: cannot unmarshal string into Go struct field ProposalVoteMsgPayload.msg.payload.choice of type int
check hmy cookbook for valid examples or try adding a `--help` flag
@LuttyYang LuttyYang added the bug Something isn't working label May 29, 2021
@LuttyYang
Copy link
Contributor

It should have been fixed in version 1.2.4

@Stakeridoo
Copy link
Author

Downloaded 1.2.4 from GitHub. Now after using

./hmy governance view-proposal --proposal=QmeyoWEbJ3DSgudcTDW2UQHiU5QqgEAt7GQbYR7vUiedqS

I get the following error

Warning: Using outdated version. Redownload to upgrade to v417-bc3f026
commit: v1-979e58f, error: json: cannot unmarshal number 2-3-5-8-6 into Go struct field ProposalVoteMsgPayload.msg.payload.choice of type int ```

@LeoHChen
Copy link
Contributor

Is it fixed? @Stakeridoo

@Stakeridoo
Copy link
Author

No still not solved

error

@Stakeridoo
Copy link
Author

I can confirm with latest HMY CLI (version v1-580fa56 (runner@harmony.one 2021-09-13T16:34:01+0000) governance voting is working fine. Will close this Issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants