Skip to content

Commit

Permalink
chore(scripts): Keys default values
Browse files Browse the repository at this point in the history
  • Loading branch information
desislavva authored and Lockwarr committed Oct 15, 2024
1 parent 4df15d5 commit f55baa0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/add-new-dex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ NOLUS_NETWORK_RPC_PORT="26612"
NOLUS_HOME_DIR="$HOME/.nolus"
NOLUS_MONEY_MARKET_DIR="$SCRIPTS_DIR/../../nolus-money-market"
ACCOUNT_KEY_TO_FEED_HERMES_ADDRESS="reserve"
DEX_ADMIN_KEY=""
STORE_CODE_PRIVILEGED_USER_KEY=""
DEX_ADMIN_KEY="wasmAdmin"
STORE_CODE_PRIVILEGED_USER_KEY="storeAdmin"
WASM_ARTIFACTS_PATH=""

HERMES_CONFIG_DIR_PATH="$HOME/.hermes"
Expand Down Expand Up @@ -290,8 +290,6 @@ DEPLOY_CONTRACTS_SCRIPT="$NOLUS_MONEY_MARKET_DIR/scripts/deploy-contracts-live.s
verify_dir_exist "$WASM_ARTIFACTS_PATH" "The WASM_ARTIFACTS_PATH dir does not exist"
verify_mandatory "$DEX_NAME" "new DEX name"
verify_mandatory "$DEX_TYPE_AND_PARAMS" "DEX type and parameters"
verify_mandatory "$DEX_ADMIN_KEY" "dex-admin key name"
verify_mandatory "$STORE_CODE_PRIVILEGED_USER_KEY" "sotre-code privileged user key"
verify_mandatory "$DEX_NETWORK" "new DEX network"
verify_mandatory "$CHAIN_ID" "new DEX chain_id"
verify_mandatory "$CHAIN_IP_ADDR_RPC" "new DEX RPC addr - fully host part"
Expand Down

0 comments on commit f55baa0

Please sign in to comment.