mirror of
https://github.com/logos-messaging/logos-messaging-simulator.git
synced 2026-01-02 14:03:07 +00:00
remove commit hash check in deploy_rln_contract
This commit is contained in:
parent
c118e37dc2
commit
a81ae8c122
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user