-
Notifications
You must be signed in to change notification settings - Fork 388
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
wasmcli does not works. #31
Comments
This code is straight from https://github.com/cosmos/cosmos-sdk. Please file a bug with them about CentOS7 support. You can tag @alessio who probably knows more about the keyring keybase than anyone else on that team. |
Assigned "won't fix" as I cannot do anything until upstream support is added. Then I will just update the dependencies (so not closing it - please add a comment if anything changes) |
In centos7, other platforms based on tendermint can generate keys without problems. However, wasmcli occurs an error on generating the key. |
Tendermint works fine, as does To isolate the problem, can you please check out the current master branch of https://github.com/cosmos/gaia and I am running on a very recent master, looking to tag to unreleased 0.38. This is much newer than most projects... recent cosmos hub upgrade was to 0.36. Some of the more adventurous projects are on 0.37.5 or so. I don't think anyone is running a net on master... I am waiting for the tagged release to do so as well. |
yep, it does not work in the gaia master branch as well. (cosmos-sdk v0.34.4) |
Can you please raise an issue on gaia and/or cosmos-sdk and link to this? Thank you |
If I build directly with cosmos-sdk v0.34.4, generating key with cli works fine. |
This is due to confusing tagging in cosmos. If you look at the gaia
This is commit You can also ask them to tag release on master, which would make the |
Okay, I checked in with @alessio and there is a more recent PR that adds support for a file backend, which should work on more systems (like CentOS7 or Docker). cosmos/cosmos-sdk#5355 It was merged Dec 11, which is newer than the version of cosmos-sdk we are using now. When we update to the current master #15 this flag will be enabled, and we can try it out. Hopefully that will resolve the problem. (#15 is high priority for the release I plan later this week) |
It seems that keyring does not support headless server. So I saw the following article and solved it. I got a hint from https://askubuntu.com/a/912250 On centos 7, You can reduce the time by making the following modifications.
|
I'm glad it worked. I'd be glad to have your contribution. |
updated README.md #40 |
Closed by #40 |
Summary of Bug
I can't generate a key with the wasmcli command.
Version
os : centos 7
git commit hash: ec7f996
$ wasmd version --long
name: wasm
server_name: wasmd
client_name: wasmcli
version: ""
commit: ec7f996
build_tags: netgo,ledger
go: go version go1.13.6 linux/amd64
Steps to Reproduce
$ wasmcli keys add validator
following this error:
For Admin Use
The text was updated successfully, but these errors were encountered: