sourcing common.sh script directly

This commit is contained in:
0xturboblitz
2024-06-23 14:20:33 -07:00
parent b5961c40d5
commit 91d0955099
3 changed files with 5 additions and 6 deletions

View File

@@ -73,12 +73,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`. Be sure the zkey is named `<circuit_name>.zkey` before you zip it, and the zip is then named `<circuit_name>.zkey.zip`.
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

View File

@@ -1,5 +1,7 @@
#!/bin/bash
source "scripts/common.sh"
cd witnesscalc
./build_gmp.sh android
make android

View File

@@ -1,5 +1,7 @@
#!/bin/bash
source "scripts/common.sh"
cd witnesscalc
./build_gmp.sh ios
make ios