diff --git a/local_node.sh b/local_node.sh index 259cb03e4..b5557589d 100755 --- a/local_node.sh +++ b/local_node.sh @@ -149,7 +149,8 @@ if [[ $overwrite == "y" || $overwrite == "Y" ]]; then # see https://github.com/ExocoreNetwork/exocore/blob/82b2509ad33ab7679592dcb1aa56a7a811128410/local_node.sh#L123 as an example # generate oracle_env_chainlink.yaml file - oracle_env_chainlink_content=$(cat < "$ORACLE_ENV_CHAINLINK" + echo "$oracle_env_chainlink_content" >"$ORACLE_ENV_CHAINLINK" # generate oracle_feeder.yaml file - oracle_feeder_content=$(cat < "$ORACLE_FEEDER" - + echo "$oracle_feeder_content" >"$ORACLE_FEEDER" + if [[ $1 == "pending" ]]; then if [[ "$OSTYPE" == "darwin"* ]]; then sed -i '' 's/timeout_propose = "3s"/timeout_propose = "30s"/g' "$CONFIG"