Skip to content

Commit

Permalink
fix: verify contract deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
javiersuweijie committed Oct 16, 2024
1 parent 779c421 commit 9b79095
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions packages/app/modal/deploy-contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ def prove(env):
dkim_registry = env["DKIM_REGISTRY"]
circuit_name = env["CIRCUIT_NAME"]

print(env)

print(f"Exporting solidity verifier for {slug}/{circuit_name}")
subprocess.run(["snarkjs", "zkey", "export", "solidityverifier", f"/output/circuit/{slug}/{circuit_name}.zkey", "/contract/src/verifier.sol"], check=True)

Expand Down
2 changes: 1 addition & 1 deletion packages/app/modal/deploy-contract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ fi
# install deps and compile contract
cd $input_dir
yarn install
forge script Deploy.s.sol --rpc-url $rpc_url --broadcast --chain-id $chain_id
forge script Deploy.s.sol --rpc-url $rpc_url --broadcast --chain-id $chain_id --verify
rm -rf node_modules

0 comments on commit 9b79095

Please sign in to comment.