diff --git a/dev/testnet/okb.profile b/dev/testnet/okb.profile index 4257396ec..869756e84 100644 --- a/dev/testnet/okb.profile +++ b/dev/testnet/okb.profile @@ -1,9 +1,9 @@ BIN_NAME=okbchaind -OKCHAIN_TOP=${GOPATH}/src/github.com/okx/okbchain +CUR=`pwd` +OKCHAIN_TOP="${CUR%/*/*}" OKCHAIN_BIN=${OKCHAIN_TOP}/build OKCHAIN_BIN=${GOPATH}/bin -OKCHAIN_NET_TOP=`pwd` -OKCHAIN_NET_CACHE=${OKCHAIN_NET_TOP}/cache +OKCHAIN_NET_CACHE=${CUR}/cache CHAIN_ID="okbchain-67" diff --git a/dev/testnet/run4v1r.sh b/dev/testnet/run4v1r.sh index 5c7a67621..a03671eec 100755 --- a/dev/testnet/run4v1r.sh +++ b/dev/testnet/run4v1r.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + ./testnet.sh -s -i -n 5 -r 1 okbchaincli keys add --recover val0 -m "puzzle glide follow cruel say burst deliver wild tragic galaxy lumber offer" --coin-type 996 -y