From e18a127642156afa43edb757835dc40d75b558b0 Mon Sep 17 00:00:00 2001 From: 0xturboblitz Date: Sun, 23 Jun 2024 14:20:33 -0700 Subject: [PATCH] sourcing common.sh script directly --- app/README.md | 7 +------ app/scripts/build_android_module.sh | 2 ++ app/scripts/build_ios_module.sh | 2 ++ 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/README.md b/app/README.md index 69c1da389..7bacd9b7c 100644 --- a/app/README.md +++ b/app/README.md @@ -72,12 +72,7 @@ First, go to the `circuit` folder of the monorepo, modify the circuits and build Then, upload the zipped zkeys built at publicly available urls and replace the urls in `app/src/utils/zkeyDownload.ts`. -Adapt the inputs you pass in `app/src/utils/prover.ts`, and adapt and redeploy the contracts. - -Run the common init script: -``` -./scripts/common.sh -``` +Adapt the input generation in `common/src/utils/generateInputs.ts`, and adapt and redeploy the contracts. ### Android diff --git a/app/scripts/build_android_module.sh b/app/scripts/build_android_module.sh index c6b4e3f06..5a63878f6 100755 --- a/app/scripts/build_android_module.sh +++ b/app/scripts/build_android_module.sh @@ -1,5 +1,7 @@ #!/bin/bash +source "scripts/common.sh" + cd witnesscalc ./build_gmp.sh android make android diff --git a/app/scripts/build_ios_module.sh b/app/scripts/build_ios_module.sh index 14f911013..e72d32efe 100755 --- a/app/scripts/build_ios_module.sh +++ b/app/scripts/build_ios_module.sh @@ -1,5 +1,7 @@ #!/bin/bash +source "scripts/common.sh" + cd witnesscalc ./build_gmp.sh ios make ios