Skip to content

Commit

Permalink
feat: added arbitrum network
Browse files Browse the repository at this point in the history
  • Loading branch information
r-marques committed Oct 5, 2023
1 parent c52943f commit 0698bb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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

0 comments on commit 0698bb5

Please sign in to comment.