Skip to content

Commit

Permalink
chore: support heighliner (#34)
Browse files Browse the repository at this point in the history
(cherry picked from commit 771a095)
  • Loading branch information
johnletey authored and mergify[bot] committed May 8, 2023
1 parent b07023d commit 0210613
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

## [Unreleased]

### Improvements

- [#34](https://github.com/KYVENetwork/chain/pull/34) Support [Heighliner](https://github.com/strangelove-ventures/heighliner) to enable [interchaintest](https://github.com/strangelove-ventures/interchaintest).

## [v1.1.0](https://github.com/KYVENetwork/chain/releases/tag/v1.1.0) - 2023-04-18

### Improvements
Expand Down
20 changes: 19 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ else
$(error ❌ Please specify a build environment..)
endif

ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=kyve \
ldflags := $(LDFLAGS)
ldflags += -X github.com/cosmos/cosmos-sdk/version.Name=kyve \
-X github.com/cosmos/cosmos-sdk/version.AppName=kyved \
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \
Expand All @@ -27,6 +28,7 @@ ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=kyve \
-X github.com/KYVENetwork/chain/x/team/types.TEAM_BCP_STRING=$(TEAM_BCP_ADDRESS) \
-X github.com/KYVENetwork/chain/x/team/types.TEAM_ALLOCATION_STRING=$(TEAM_ALLOCATION) \
-X github.com/KYVENetwork/chain/x/team/types.TGE_STRING=$(TEAM_TGE)
ldflags := $(strip $(ldflags))

BUILD_FLAGS := -ldflags '$(ldflags)' -tags 'ledger' -trimpath

Expand Down Expand Up @@ -138,6 +140,22 @@ proto-setup:
### Tests & Simulation ###
###############################################################################

heighliner:
@echo "🤖 Building Kaon image..."
@heighliner build --chain kaon --local 1> /dev/null
@echo "✅ Completed build!"

@echo "🤖 Building KYVE image..."
@heighliner build --chain kyve --local 1> /dev/null
@echo "✅ Completed build!"

heighliner-setup:
@echo "🤖 Installing Heighliner..."
@git clone https://github.com/strangelove-ventures/heighliner.git
@cd heighliner && go install && cd ..
@rm -rf heighliner
@echo "✅ Completed installation!"

test:
@echo "🤖 Running tests..."
@go test -cover -mod=readonly ./x/...
Expand Down

0 comments on commit 0210613

Please sign in to comment.