Merge pull request #269 from openpassport-org/update/contract-readme

Update/contract readme
This commit is contained in:
turnoffthiscomputer
2024-12-17 18:44:40 +01:00
committed by GitHub

View File

@@ -14,21 +14,12 @@ npx hardhat ignition deploy ignition/modules/Deploy_All.ts --network <network>
```
## When you run test
If you want to test in your local environment
```shell
cd ../circuits
./scripts/build_prove_circuits.sh
cd ../contracts
yarn run test:local
```
If you want to test in production environment
```shell
cd ../circuits
./scripts/download_circuits_from_aws.sh
cd ../contracts
yarn run test:prod
yarn run test
```
If you want to generate your own proof or when you update circuits, pls delete json files in test/integrationTest