Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions script/prove.sh
Original file line number Diff line number Diff line change
@@ -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
forge script script/ZKCreditScript.s.sol --rpc-url anvil --broadcast
Loading