From 4599bfd4b51dfef170adafa755d2b6f3e2c1738b Mon Sep 17 00:00:00 2001 From: arcadiogm Date: Wed, 26 Mar 2025 18:27:17 +0100 Subject: [PATCH] Update prove.sh --- script/prove.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/prove.sh b/script/prove.sh index 95586a4..043039e 100755 --- a/script/prove.sh +++ b/script/prove.sh @@ -1,6 +1,8 @@ #!/bin/bash - +# Causes an exit if the Foundry process (which executes the ZKCreditScript.s.sol smart contract as a script) +# generates a non-zero return code (error). set -e +# Foundry executes ZKCreditScript.s.sol smart contract as a script # Anvil must be running -forge script script/ZKCreditScript.s.sol --rpc-url anvil --broadcast \ No newline at end of file +forge script script/ZKCreditScript.s.sol --rpc-url anvil --broadcast