From 91bfae512472913c1d95327025394287fd537f06 Mon Sep 17 00:00:00 2001 From: Chenyao Yu <4844716+chenyaoy@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:27:57 -0500 Subject: [PATCH] fix localnet deployment --- protocol/testing/testnet-local/local.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protocol/testing/testnet-local/local.sh b/protocol/testing/testnet-local/local.sh index d11ad734d8..a90bc06c0d 100755 --- a/protocol/testing/testnet-local/local.sh +++ b/protocol/testing/testnet-local/local.sh @@ -107,7 +107,7 @@ create_validators() { cat <<<"$new_file" >"$VAL_CONFIG_DIR"/node_key.json edit_config "$VAL_CONFIG_DIR" - use_connect "$VAL_CONFIG_DIR" + use_slinky "$VAL_CONFIG_DIR" # Using "*" as a subscript results in a single arg: "dydx1... dydx1... dydx1..." # Using "@" as a subscript results in separate args: "dydx1..." "dydx1..." "dydx1..." @@ -167,11 +167,11 @@ setup_cosmovisor() { done } -use_connect() { +use_slinky() { CONFIG_FOLDER=$1 # Enable slinky daemon dasel put -t bool -f "$CONFIG_FOLDER"/app.toml 'oracle.enabled' -v true - dasel put -t string -f "$VAL_CONFIG_DIR"/app.toml 'oracle.oracle_address' -v 'connect0:8080' + dasel put -t string -f "$VAL_CONFIG_DIR"/app.toml 'oracle.oracle_address' -v 'slinky0:8080' } # TODO(DEC-1894): remove this function once we migrate off of persistent peers.