From 7b9ecb20d9ce323f4ad6ad45b1fb19c5befb407f Mon Sep 17 00:00:00 2001 From: Noon van der Silk Date: Fri, 4 Oct 2024 13:50:46 +0100 Subject: [PATCH] Add jq roundtrip check into seed-devnet --- demo/seed-devnet.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/demo/seed-devnet.sh b/demo/seed-devnet.sh index 3f66056b511..d6b87456cc5 100755 --- a/demo/seed-devnet.sh +++ b/demo/seed-devnet.sh @@ -3,6 +3,10 @@ # Seed a "devnet" by distributing Ada to hydra nodes set -eo pipefail +# See: https://github.com/cardano-scaling/hydra/pull/1682 +[[ $(jq -n '9223372036854775807') == "9223372036854775807" ]] \ + || (echo "bad jq roundtrip: please upgrade your jq to version 1.7+"; exit 1) + SCRIPT_DIR=${SCRIPT_DIR:-$(realpath $(dirname $(realpath $0)))} NETWORK_ID=42