diff --git a/beacon-light-client/circom/scripts/light_client/light_client.sh b/beacon-light-client/circom/scripts/light_client/light_client.sh index 6b78a6a80..adae6c2dd 100755 --- a/beacon-light-client/circom/scripts/light_client/light_client.sh +++ b/beacon-light-client/circom/scripts/light_client/light_client.sh @@ -27,7 +27,7 @@ git submodule update --init --recursive (compile_cpp_witness "${BUILD_DIR}" "${CIRCUIT_NAME}") # ****CREATE FINAL ZKEY**** -(verify_final_key "${BUILD_DIR}" "${SNARKJS}" "${CIRCUIT_NAME}" "${PHASE1}") +(generate_zkey "${BUILD_DIR}" "${SNARKJS}" "${PHASE1}" "${CIRCUIT_NAME}") # ****EXPORT ZKEY TO JSON**** (export_vkey "${BUILD_DIR}" "${SNARKJS}" "${CIRCUIT_NAME}") diff --git a/beacon-light-client/circom/scripts/light_client_recursive/light_client_recursive.sh b/beacon-light-client/circom/scripts/light_client_recursive/light_client_recursive.sh index 9b274094e..23cb90cea 100755 --- a/beacon-light-client/circom/scripts/light_client_recursive/light_client_recursive.sh +++ b/beacon-light-client/circom/scripts/light_client_recursive/light_client_recursive.sh @@ -27,7 +27,7 @@ git submodule update --init --recursive (compile_cpp_witness "${BUILD_DIR}" "${CIRCUIT_NAME}") # ****CREATE FINAL ZKEY**** -(verify_final_key "${BUILD_DIR}" "${SNARKJS}" "${CIRCUIT_NAME}" "${PHASE1}") +(generate_zkey "${BUILD_DIR}" "${SNARKJS}" "${PHASE1}" "${CIRCUIT_NAME}") # ****EXPORT ZKEY TO JSON**** (export_vkey "${BUILD_DIR}" "${SNARKJS}" "${CIRCUIT_NAME}")