Skip to content

Commit

Permalink
build: update network-specific options
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiTimesChi committed Jul 30, 2024
1 parent 9de0434 commit cfdc7db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions script/networks.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"forgeOptions": {
"arbitrum": "--with-gas-price 100000000",
"aurora": "--legacy --slow",
"base": "--with-gas-price 100000000",
"blast": "--with-gas-price 100000000",
"boba": "--legacy --skip-simulation --slow",
"canto": "--legacy --slow",
"cronos": "--slow",
Expand All @@ -14,7 +11,6 @@
"metis": "--legacy",
"moonbeam": "--skip-simulation --slow",
"moonriver": "--skip-simulation --slow",
"optimism": "--with-gas-price 1000000",
"polygon": "--slow"
}
}
3 changes: 3 additions & 0 deletions script/rfq-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ fi
fastBridgeDeployments=$(find ./deployments -name FastBridge.json)
# Extract chain name from the list of filenames, sort alphabetically
chainNames=$(echo "$fastBridgeDeployments" | sed 's/.*\/\(.*\)\/FastBridge.json/\1/' | sort)
# Print the comma separated list of chain aliases, don't put a comma after the last one
chainNamesFormatted=$(echo "$chainNames" | sed ':a;N;$!ba;s/\n/, /g')
echo "Running script $scriptFN for chains: [$chainNamesFormatted]"

for chainName in $chainNames; do
./script/run.sh "$scriptFN" "$chainName" "$@"
Expand Down

0 comments on commit cfdc7db

Please sign in to comment.