From 8425114abf8c7a1158b015c0c75812b6064dae15 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Thu, 16 Jan 2025 09:16:28 +0300 Subject: [PATCH] Refactor update_contracts.sh to remove unnecessary directory change and streamline contract address handling --- update_contracts.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/update_contracts.sh b/update_contracts.sh index 949739e..5f8839e 100644 --- a/update_contracts.sh +++ b/update_contracts.sh @@ -1,7 +1,6 @@ #!/bin/bash set -e -cd ~/ritual contract_address=$(jq -r '.transactions[0].contractAddress' projects/hello-world/contracts/broadcast/Deploy.s.sol/8453/run-latest.json) checksum_address=$(python3 toChecksumAddress.py $contract_address) sed -i "s/SaysGM(.*/SaysGM($checksum_address);/" projects/hello-world/contracts/script/CallContract.s.sol \ No newline at end of file