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