Skip to content

Commit

Permalink
skips syncdexs script for testnets
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDEnYO committed Nov 25, 2024
1 parent eb8820b commit 4aa25c1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions script/tasks/diamondSyncDEXs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ function diamondSyncDEXs {

# go through all networks and execute the script
for NETWORK in "${NETWORKS[@]}"; do

# Skip for localanvil or any testnet
if [[ "$NETWORK" == "localanvil" || \
"$NETWORK" == "bsc-testnet" || \
"$NETWORK" == "lineatest" || \
"$NETWORK" == "mumbai" || \
"$NETWORK" == "sepolia" ]]; then
continue
fi

# get diamond address from deployments script
DIAMOND_ADDRESS=$(getContractAddressFromDeploymentLogs "$NETWORK" "$ENVIRONMENT" "$DIAMOND_CONTRACT_NAME")

Expand Down

0 comments on commit 4aa25c1

Please sign in to comment.