Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperplonk PoC #285

Merged
merged 5 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading