make devnet get the right bundle

This commit is contained in:
Jennifer Wang 2022-05-18 11:04:10 -04:00
parent e7b4242b1c
commit 125272a526
2 changed files with 2 additions and 1 deletions

View File

@ -68,6 +68,7 @@ build-devnets: build lotus-seed lotus-shed lotus-wallet lotus-gateway
.PHONY: build-devnets
debug: GOFLAGS+=-tags=debug
debug: GOFLAGS+=-ldflags=-X=github.com/filecoin-project/lotus/build.NetworkBundle=devnet
debug: build-devnets
2k: GOFLAGS+=-tags=2k

View File

@ -10,7 +10,7 @@ var NetworkBundle string
func GetNetworkBundle() string {
switch NetworkBundle {
case "devnet":
case "devnet", "2k", "debug":
return "devnet"
case "calibnet", "calibrationnet":
return "calibrationnet"