Skip to content

Commit

Permalink
Adds support for noir_ultra_starknet_honk_example to tools/make scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
raugfer committed Jan 10, 2025
1 parent 23e77d4 commit fa34622
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/make/bytecode_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ bytecode_length=$(jq '.bytecode | length' ./target/dev/noir_ultra_keccak_honk_ex
echo "Bytecode length NOIR: $bytecode_length"


cd ../noir_ultra_starknet_honk_example
scarb build
bytecode_length=$(jq '.bytecode | length' ./target/dev/noir_ultra_starknet_honk_example_UltraStarknetHonkVerifier.compiled_contract_class.json)
echo "Bytecode length NOIR: $bytecode_length"


cd ../groth16_example_$c2
scarb build
bytecode_length=$(jq '.bytecode | length' ./target/dev/groth16_example_${c2}_Groth16Verifier${c2^^}.compiled_contract_class.json)
Expand Down
1 change: 1 addition & 0 deletions tools/make/rewrite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rm -rf src/contracts/groth16_example_bls12_381/*
rm -rf src/contracts/groth16_example_bn254/*
rm -rf src/contracts/risc0_verifier_bn254/*
rm -rf src/contracts/noir_ultra_keccak_honk_example/*
rm -rf src/contracts/noir_ultra_starknet_honk_example/*

set -e # Exit immediately if a command exits with a non-zero status

Expand Down

0 comments on commit fa34622

Please sign in to comment.