-
Notifications
You must be signed in to change notification settings - Fork 410
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
Integrate wasmcli into wasmd #312
Conversation
Codecov Report
@@ Coverage Diff @@
## master #312 +/- ##
=======================================
Coverage 17.53% 17.53%
=======================================
Files 35 35
Lines 10519 10519
=======================================
Hits 1844 1844
Misses 8572 8572
Partials 103 103
Continue to review full report at Codecov.
|
I had one thought on this last night.
I see two options here:
I lean toward the second. If so, we should test this (once) to make sure it works (Abel uses Windows), and support it only for Windows. Then again, maybe we just ask people to install WSL (Windows Subsystem for Linux), and the CLI tools would just work. (Does anyone running vanilla Windows without WSL actually use CLI tools??) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The merge looks good.
I wonder again about providing some WIndows CLI support. But unless anyone actually uses this without WSL, maybe we don't need to care.
@webmaster128 do you know if wasmer-reborn will compile on windows? (Which would mean we can eventually add full windows support for wasmd
)
@@ -54,7 +54,6 @@ build_tags_comma_sep := $(subst $(empty),$(comma),$(build_tags)) | |||
|
|||
ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=wasm \ | |||
-X github.com/cosmos/cosmos-sdk/version.AppName=wasmd \ | |||
-X github.com/CosmWasm/wasmd/cmd/wasmcli/version.ClientName=wasmcli \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned in the comment, maybe we don't remove the CLI stuff, just keep it for Windows?
INIT="{\"verifier\":\"$(wasmcli keys show validator -a)\", \"beneficiary\":\"$(wasmcli keys show fred -a)\"}" | ||
wasmcli tx wasm instantiate "$CODE_ID" "$INIT" --admin=$(wasmcli keys show validator -a) \ | ||
INIT="{\"verifier\":\"$(wasmd keys show validator -a)\", \"beneficiary\":\"$(wasmd keys show fred -a)\"}" | ||
wasmd tx wasm instantiate "$CODE_ID" "$INIT" --admin=$(wasmd keys show validator -a) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, wasmd
here everywhere, even if we keep the cli for windows
3fbdbe3
to
ca040da
Compare
I will try to find out. Let's track this issue in CosmWasm/wasmvm#28. For the near future, we don't have Windows support. |
Resolves #308
Good bye to wasmcli, coral, gaiaflex clients