Skip to content

Commit

Permalink
Problem: current code is not based on stargate scaffold
Browse files Browse the repository at this point in the history
Solution:
- re-generated with starport's stargate branch
- ported the fixes (bech32 prefix, bip44 path, denomination conversion) to chain command line
  • Loading branch information
yihuang authored and tomtau committed Sep 15, 2020
1 parent 445be4a commit b53e64d
Show file tree
Hide file tree
Showing 50 changed files with 1,829 additions and 2,377 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BUILDDIR ?= $(CURDIR)/build

ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=crypto-com-chain \
-X github.com/cosmos/cosmos-sdk/version.ServerName=chain-maind \
-X github.com/cosmos/cosmos-sdk/version.ClientName=chain-maincli \
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT)

Expand All @@ -20,11 +19,9 @@ all: install

install: go.sum
go install -mod=readonly $(BUILD_FLAGS) ./cmd/chain-maind
go install -mod=readonly $(BUILD_FLAGS) ./cmd/chain-maincli

build: go.sum
go build -mod=readonly $(BUILD_FLAGS) -o $(BUILDDIR)/chain-maind ./cmd/chain-maind
go build -mod=readonly $(BUILD_FLAGS) -o $(BUILDDIR)/chain-maincli ./cmd/chain-maincli
go build -mod=readonly $(BUILD_FLAGS) -o $(BUILDDIR)/chain-maind ./cmd/chain-maind
.PHONY: build

build-linux: go.sum
Expand Down Expand Up @@ -85,4 +82,4 @@ clean:
rm -rf $(BUILDDIR)/

clean-docker-compose:
rm -rf $(BUILDDIR)/node* $(BUILDDIR)/gentxs
rm -rf $(BUILDDIR)/node* $(BUILDDIR)/gentxs
Loading

0 comments on commit b53e64d

Please sign in to comment.