remove commit hash check in deploy_rln_contract

This commit is contained in:
stubbsta 2024-12-03 14:42:39 +02:00
parent c118e37dc2
commit a81ae8c122
No known key found for this signature in database

View File

@ -15,14 +15,6 @@ fi
cd /waku-rlnv2-contract
git checkout $RLN_CONTRACT_REPO_COMMIT
# Verify the current commit
CURRENT_COMMIT=$(git rev-parse HEAD)
if [ "$CURRENT_COMMIT" = "$RLN_CONTRACT_REPO_COMMIT" ]; then
echo "You are on the expected branch: $CURRENT_COMMIT"
else
echo "Warning: You are on branch $CURRENT_COMMIT, but expected $RLN_CONTRACT_REPO_COMMIT"
exit 1
fi
#3. Replace the hardcoded MAX_MESSAGE_LIMIT
sed -i "s/\b100\b/${MAX_MESSAGE_LIMIT}/g" script/Deploy.s.sol