Skip to content
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
4 changes: 3 additions & 1 deletion script/deployRouterShortdnFork.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
red='\033[0;31m'
green='\033[0m'
nc='\033[0m'
sourcifyVerifierUrl=http://localhost:5555


# Declare args
VERIFY_FLAG=""
Expand All @@ -11,7 +13,7 @@ USDN_PROTOCOL_SHORTDN_ADDRESS=""
# the other arg is required (USDN_PROTOCOL_SHORTDN_ADDRESS).
for arg in "$@"; do
if [ "$arg" == "--verify" ]; then
VERIFY_FLAG="--verify"
VERIFY_FLAG="--verify --verifier sourcify --verifier-url $sourcifyVerifierUrl"
elif [ -z "$USDN_PROTOCOL_SHORTDN_ADDRESS" ]; then
USDN_PROTOCOL_SHORTDN_ADDRESS="$arg"
fi
Expand Down
3 changes: 2 additions & 1 deletion script/deployRouterUsdnFork.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
red='\033[0;31m'
green='\033[0;32m'
nc='\033[0m'
sourcifyVerifierUrl=http://localhost:5555

# Declare args
VERIFY_FLAG=""
Expand All @@ -13,7 +14,7 @@ USDN_PROTOCOL_USDN_ADDRESS=""
# then USDN_PROTOCOL_USDN_ADDRESS).
for arg in "$@"; do
if [ "$arg" == "--verify" ]; then
VERIFY_FLAG="--verify"
VERIFY_FLAG="--verify --verifier sourcify --verifier-url $sourcifyVerifierUrl"
elif [ -z "$WUSDN_TOKEN_ADDRESS" ]; then
WUSDN_TOKEN_ADDRESS="$arg"
elif [ -z "$USDN_PROTOCOL_USDN_ADDRESS" ]; then
Expand Down