Skip to content

Commit 94f4d1c

Browse files
committed
feat: compile optimized contract
1 parent 34eabaa commit 94f4d1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

noir-projects/noir-protocol-circuits/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function compile {
119119
local verifier_path="$key_dir/${name}_verifier.sol"
120120
SECONDS=0
121121
# Generate solidity verifier for this contract.
122-
echo "$vk_bytes" | xxd -r -p | $BB write_solidity_verifier --scheme ultra_honk --disable_zk -k - -o $verifier_path
122+
echo "$vk_bytes" | xxd -r -p | $BB write_solidity_verifier --scheme ultra_honk --disable_zk -k - -o $verifier_path --optimized
123123
echo_stderr "Root rollup verifier at: $verifier_path (${SECONDS}s)"
124124
# Include the verifier path if we create it.
125125
cache_upload vk-$hash.tar.gz $key_path $verifier_path &> /dev/null

0 commit comments

Comments
 (0)