Move relay to basecoin relay start

This commit is contained in:
Ethan Frey
2017-06-16 20:20:23 +02:00
parent d7cddb252a
commit b63f8bd15a
2 changed files with 45 additions and 16 deletions
+3 -1
View File
@@ -121,6 +121,8 @@ test01SendIBCTx() {
BC_HOME=${CLIENT_2} checkAccount $RECV "0" "20002"
# stop relay
echo "stoping relay"
echo
kill -9 $PID_RELAY
}
@@ -163,7 +165,7 @@ startRelay() {
# now start the relay! (this remains a server command)
# TODO: bucky, why does this die if I don't provide home???
# It doesn't use the --from flag????
${SERVER_EXE} relay --chain1-id=$CHAIN_ID_1 --chain2-id=$CHAIN_ID_2 \
${SERVER_EXE} relay start --chain1-id=$CHAIN_ID_1 --chain2-id=$CHAIN_ID_2 \
--chain1-addr=tcp://localhost:${PORT_1} --chain2-addr=tcp://localhost:${PORT_2} \
--home=${BASE_DIR_1}/server --from=$RELAY_KEY > ${BASE_DIR_1}/../relay.log &
PID_RELAY=$!