Skip to content

Commit

Permalink
polygon-edge.sh now checks if jq is installed (#1780)
Browse files Browse the repository at this point in the history
  • Loading branch information
criadoperez authored Aug 8, 2023
1 parent e0e1e36 commit 1ce87aa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker/local/polygon-edge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

set -e

# Check if jq is installed. If not exit and inform user.
if ! command -v jq >/dev/null 2>&1; then
echo "The jq utility is not installed or is not in the PATH. Please install it and run the script again."
exit 1
fi


POLYGON_EDGE_BIN=./polygon-edge
CHAIN_CUSTOM_OPTIONS=$(tr "\n" " " << EOL
--block-gas-limit 10000000
Expand Down

0 comments on commit 1ce87aa

Please sign in to comment.