Skip to content

Commit

Permalink
connect relayer query node instead of validator
Browse files Browse the repository at this point in the history
  • Loading branch information
MSalopek committed Sep 29, 2022
1 parent 608460e commit 9ed7785
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/integration/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9ed7785

Please sign in to comment.