Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added arbitrum network #66

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/download-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ NETWORKS_MAP=(
["goerli"]="5"
["arbitrum-goerli"]="421613"
["gnosis"]="100"
["arbitrum"]="42161"
)

SCRIPT_DIR=$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd)
Expand Down
5 changes: 3 additions & 2 deletions scripts/update-network.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
shopt -s extglob
set -ue
set -u

# This script requires the jq and yq clis
NETWORK=$1
Expand All @@ -13,6 +13,7 @@ declare -A SCAN_URLS=( \
["matic"]=https://api.polygonscan.com/api \
["gnosis"]=https://api.gnosisscan.io/api \
["arbitrum-goerli"]=https://api-goerli.arbiscan.io/api \
["arbitrum-one"]=https://api.arbiscan.io/api \
)


Expand Down Expand Up @@ -50,7 +51,7 @@ update_start_block() {
)

# try not to trigger any rate-limits
sleep 0.5
sleep 5
else
block_number=0
fi
Expand Down