Set bech32 prefix

This commit is contained in:
Alex Peters 2020-11-17 15:26:09 +01:00
parent 06cd0633a6
commit 6045693a27
No known key found for this signature in database
GPG Key ID: 4E18CD9F98929E11
2 changed files with 2 additions and 1 deletions

View File

@ -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.Version=$(VERSION) \
-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)"
ifeq ($(WITH_CLEVELDB),yes)

View File

@ -96,7 +96,7 @@ const appName = "WasmApp"
// We pull these out so we can set them with LDFLAGS in the Makefile
var (
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 not "true", then disable all x/wasm proposals.