Skip to content

Commit 7c5a093

Browse files
committed
update circom_runtime, README, and fix broken build
1 parent 83665c3 commit 7c5a093

File tree

9 files changed

+20
-13
lines changed

9 files changed

+20
-13
lines changed

Diff for: .gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ build/
1616
trusted-setup/
1717
!trusted-setup/pot14_final.ptau
1818
src/Contracts
19-
contracts
19+
contracts/*.sol
20+
!contracts/
2021
circuit.dot

Diff for: README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ Assuming you have done the previous steps, copy the proving key and the compiled
8888
You should see the `circuit.wasm` solver binary is already there. Assuming you have deployed the verifying contract, you can start the frontend:
8989

9090
```
91-
export VERIFIER_ADDRESS=$(jq -r '.networks."420123".address' build/contracts/Groth16Verifier.json) && npm run parcel
91+
> npm run build
92+
> export VERIFIER_ADDRESS=$(jq -r '.networks."420123".address' build/contracts/Groth16Verifier.json) && npm run parcel
9293
```
9394

9495
NOTE: I used cliquebaite to write this readme, which has networkId/chainId `420123`. If you have a different chainId, you will need to subsitute it in the above command or just find the address in the artifact manually.

Diff for: cabal.project

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ source-repository-package
2626
type: git
2727
location: https://github.com/l-adic/arithmetic-circuits.git
2828
tag: 7323152c3942c546d676ad6dcafe747f88d72663
29-
--sha256: ldjPgZN7M+hsD6S7kx0QsVJsK8FbCl0d7oSyPHQRoaw=
29+
--sha256: PGfFEU+1fciGXBPFYTbAjdBIFBd0Ss6fte1hMbfQtLo=
3030

31-
index-state: 2024-05-21T06:16:08Z
31+
index-state:
32+
2024-05-21T06:16:08Z

Diff for: contracts/.gitkeep

Whitespace-only changes.

Diff for: flake.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package-lock.json

+3-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
"keccak": "^3.0.0",
3838
"secp256k1": "^5.0.0",
3939
"snarkjs": "github:l-adic/snarkjs#actually-use-wasm-options",
40-
"circom_runtime": "github:l-adic/circom_runtime#968aaa5c7cf9f22dba72d939632778d78e57c56f"
40+
"circom_runtime": "github:l-adic/circom_runtime#d359044d9b46d3e45b399856624fbd179f6b22c5"
4141
},
4242
"overrides": {
43-
"circom_runtime": "github:l-adic/circom_runtime#968aaa5c7cf9f22dba72d939632778d78e57c56f"
43+
"circom_runtime": "github:l-adic/circom_runtime#d359044d9b46d3e45b399856624fbd179f6b22c5"
4444
},
4545
"parcel": {
4646
"aliases": {

Diff for: wasm-solver/cabal.project

+6-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,9 @@ source-repository-package
3636
type: git
3737
location: https://github.com/l-adic/arithmetic-circuits.git
3838
tag: 7323152c3942c546d676ad6dcafe747f88d72663
39-
--sha256: ldjPgZN7M+hsD6S7kx0QsVJsK8FbCl0d7oSyPHQRoaw=
39+
--sha256: PGfFEU+1fciGXBPFYTbAjdBIFBd0Ss6fte1hMbfQtLo=
40+
41+
index-state: 2024-03-06T13:35:48Z
42+
43+
constraints:
44+
finite-typelits ==0.1.6.0

Diff for: wasm-solver/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ let
1010
defaultGHC.dev.hsPkgs.ghc-lib-parser.components.library.version;
1111
};
1212

13-
ghcWasmDeps = [ inputs.ghc-wasm-meta.packages.${system}.all_9_8 ];
13+
ghcWasmDeps = [ inputs.ghc-wasm-meta.packages.${system}.all_9_6 ];
1414

1515
in
1616

0 commit comments

Comments
 (0)