Skip to content

Commit

Permalink
fix(ag-lcd): tolerate cosmos/cosmos-sdk#5592
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Feb 24, 2020
1 parent 17bae2d commit 9eee270
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/deployment/bigdipper/ag-lcd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ ncf=`curl -Ss https://testnet.agoric.com/network-config`
l=`echo "$ncf" | jq '.rpcAddrs | length'`
eval rp=`echo "$ncf" | jq ".rpcAddrs[$(( RANDOM % l ))]"`
eval cn=`echo "$ncf" | jq '.chainName'`
exec ag-cosmos-helper rest-server --node="tcp://$rp" --chain-id="$cn"
# FIXME: Once https://github.com/cosmos/cosmos-sdk/issues/5592 is resolved,
# we can use:
#exec ag-cosmos-helper rest-server --node="tcp://$rp" --chain-id="$cn"
exec ag-cosmos-helper rest-server --node="tcp://$rp" --trust-node
exit $?

0 comments on commit 9eee270

Please sign in to comment.