diff --git a/tools/make/bytecode_check.sh b/tools/make/bytecode_check.sh index 5b1a3303..b288408a 100755 --- a/tools/make/bytecode_check.sh +++ b/tools/make/bytecode_check.sh @@ -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) diff --git a/tools/make/rewrite.sh b/tools/make/rewrite.sh index b69bd121..b974551c 100755 --- a/tools/make/rewrite.sh +++ b/tools/make/rewrite.sh @@ -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