Skip to content

Commit

Permalink
fix: revert unneeded changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dutterbutter committed Dec 3, 2024
1 parent b098cc3 commit 800633b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions foundryup-zksync/foundryup-zksync
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ EOF
err "failed to get latest tag for anvil-zksync"
fi

ANVIL_BIN_NAME="era_test_node-${ANVIL_TAG}-${TARGET}.${EXT}"
ANVIL_BIN_NAME="anvil-zksync-${ANVIL_TAG}-${TARGET}.${EXT}"

ANVIL_BIN_URL="https://github.com/$ANVIL_REPO/releases/download/$ANVIL_TAG/$ANVIL_BIN_NAME"

Expand Down Expand Up @@ -321,7 +321,7 @@ tolower() {
}

need_cmd() {
if ! command -v "$1" &>/dev/null; then
if ! check_cmd "$1"; then
err "need '$1' (command not found)"
fi
}
Expand All @@ -341,16 +341,16 @@ download() {
if [ -n "$2" ]; then
# output into $2
if check_cmd curl; then
curl -sSfL -o "$2" "$1"
curl -#o "$2" -L "$1"
else
wget -qO "$2" "$1"
wget --show-progress -qO "$2" "$1"
fi
else
# output to stdout
if check_cmd curl; then
curl -sSfL "$1"
curl -#L "$1"
else
wget -qO- "$1"
wget --show-progress -qO- "$1"
fi
fi
}
Expand Down

0 comments on commit 800633b

Please sign in to comment.