verify that RLN_CONTRACT_REPO_COMMIT is not empty

This commit is contained in:
stubbsta 2024-12-04 10:14:02 +02:00
parent a81ae8c122
commit 7b8997b3a4
No known key found for this signature in database

View File

@ -13,6 +13,11 @@ if [ ! -d "waku-rlnv2-contract" ]; then
git clone https://github.com/waku-org/waku-rlnv2-contract.git
fi
if [ -z "$RLN_CONTRACT_REPO_COMMIT" ]; then
echo "RLN_CONTRACT_REPO_COMMIT is not set"
exit 1
fi
cd /waku-rlnv2-contract
git checkout $RLN_CONTRACT_REPO_COMMIT