Set bech32 prefix
This commit is contained in:
1
Makefile
1
Makefile
@@ -56,6 +56,7 @@ ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=wasm \
|
|||||||
-X github.com/cosmos/cosmos-sdk/version.AppName=wasmd \
|
-X github.com/cosmos/cosmos-sdk/version.AppName=wasmd \
|
||||||
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
|
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
|
||||||
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \
|
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \
|
||||||
|
-X github.com/CosmWasm/wasmd/app.Bech32Prefix=wasm \
|
||||||
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)"
|
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)"
|
||||||
|
|
||||||
ifeq ($(WITH_CLEVELDB),yes)
|
ifeq ($(WITH_CLEVELDB),yes)
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const appName = "WasmApp"
|
|||||||
// We pull these out so we can set them with LDFLAGS in the Makefile
|
// We pull these out so we can set them with LDFLAGS in the Makefile
|
||||||
var (
|
var (
|
||||||
NodeDir = ".wasmd"
|
NodeDir = ".wasmd"
|
||||||
Bech32Prefix = sdk.Bech32MainPrefix
|
Bech32Prefix = "wasm"
|
||||||
|
|
||||||
// If EnabledSpecificProposals is "", and this is "true", then enable all x/wasm proposals.
|
// If EnabledSpecificProposals is "", and this is "true", then enable all x/wasm proposals.
|
||||||
// If EnabledSpecificProposals is "", and this is not "true", then disable all x/wasm proposals.
|
// If EnabledSpecificProposals is "", and this is not "true", then disable all x/wasm proposals.
|
||||||
|
|||||||
Reference in New Issue
Block a user