Run localnet on every commit ensure network reaches at least 10 blocks (#2067)
This commit is contained in:
committed by
Christopher Goes
parent
3d50567034
commit
45bd414fc2
@@ -15,7 +15,7 @@ ci: get_tools get_vendor_deps install test_cover test_lint test
|
||||
########################################
|
||||
### Build/Install
|
||||
|
||||
check-ledger:
|
||||
check-ledger:
|
||||
ifeq ($(LEDGER_ENABLED),true)
|
||||
ifndef GCC
|
||||
$(error "gcc not installed for ledger support, please install")
|
||||
@@ -193,7 +193,7 @@ build-docker-gaiadnode:
|
||||
# Run a 4-node testnet locally
|
||||
localnet-start: localnet-stop
|
||||
@if ! [ -f build/node0/gaiad/config/genesis.json ]; then docker run --rm -v $(CURDIR)/build:/gaiad:Z tendermint/gaiadnode testnet --v 4 --o . --starting-ip-address 192.168.10.2 ; fi
|
||||
docker-compose up
|
||||
docker-compose up -d
|
||||
|
||||
# Stop testnet
|
||||
localnet-stop:
|
||||
|
||||
Reference in New Issue
Block a user