From 9ed778514939195d16846b6664b5d8b3b879812c Mon Sep 17 00:00:00 2001 From: Matija Salopek Date: Thu, 29 Sep 2022 18:30:30 +0200 Subject: [PATCH] connect relayer query node instead of validator --- tests/integration/actions.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/integration/actions.go b/tests/integration/actions.go index 9bbd561828..4250187c11 100644 --- a/tests/integration/actions.go +++ b/tests/integration/actions.go @@ -438,12 +438,12 @@ func (tr TestRun) addChainToRelayer( action addChainToRelayerAction, verbose bool, ) { - valIp := tr.getValidatorIP(action.chain, action.validator) + queryNodeIP := tr.getQueryNodeIP(action.chain) chainId := tr.chainConfigs[action.chain].chainId - keyName := "validator" + fmt.Sprint(action.validator) - rpcAddr := "http://" + valIp + ":26658" - grpcAddr := "tcp://" + valIp + ":9091" - wsAddr := "ws://" + valIp + ":26657/websocket" + keyName := "query" + rpcAddr := "http://" + queryNodeIP + ":26658" + grpcAddr := "tcp://" + queryNodeIP + ":9091" + wsAddr := "ws://" + queryNodeIP + ":26657/websocket" chainConfig := fmt.Sprintf(hermesChainConfigTemplate, grpcAddr,