Skip to content

Commit

Permalink
Implement PoC hyperplonk circuit
Browse files Browse the repository at this point in the history
  • Loading branch information
alxkzmn committed Apr 16, 2024
1 parent fec83a7 commit 86f8cbd
Show file tree
Hide file tree
Showing 28 changed files with 1,207 additions and 6,454 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
aws-region: us-west-2

- name: Wakeup runner
run: .github/scripts/wakeup.sh
run: .github/scripts/wakeup.sh

build:
runs-on: [summa-solvency-runner]
Expand All @@ -46,21 +46,21 @@ jobs:
- name: Install solc
run: (hash svm 2>/dev/null || cargo install --version 0.2.23 svm-rs) && svm install 0.8.20 && solc --version

- name: Test KZG Prover
- name: Test Prover
run: |
cd prover
cargo test --release -- --nocapture
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Test backend
run: |
cd backend
cargo test --release -- --nocapture
# TODO restore workflow
# - name: Test backend
# run: |
# cd backend
# cargo test --release -- --nocapture

- name: Test example
run: |
cd backend
cargo run --release --example summa_solvency_flow
# - name: Test example
# run: |
# cd backend
# cargo run --release --example summa_solvency_flow
131 changes: 100 additions & 31 deletions backend/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
summa-solvency = { path = "../prover" }
halo2_proofs = { git = "https://github.com/summa-dev/halo2"}
summa-hyperplonk = { path = "../prover" }
halo2_proofs = { git = "https://github.com/han0110/halo2.git", branch = "feature/for-benchmark", optional = true }
csv = "1.2.2"
futures = "0.3.28"
num-bigint = "0.4.3"
Expand Down
20 changes: 18 additions & 2 deletions prover/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Generated by Cargo
# will have compiled files and executables
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# Added by cargo

/target
/ptau
/benches/csv

#VSCode
.vscode/
Loading

0 comments on commit 86f8cbd

Please sign in to comment.