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

Consensus client & preprocessor #12

Merged
merged 35 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
133b930
custom circuit builder (WIP)
nulltea Sep 5, 2023
d88a0d2
add per dense/spread contexts & assignment
nulltea Sep 6, 2023
0f2b6ff
enable spread table constraints
nulltea Sep 7, 2023
32aa4c8
contingent range check
nulltea Sep 7, 2023
c794a91
fix max input bytes constant in sha256 chip
nulltea Sep 7, 2023
3635b11
refactor sha256 chip, uncomment hash2curve
nulltea Sep 7, 2023
0d5c09f
refactor again, use `thread_pool` instead of ctxs
nulltea Sep 7, 2023
e563537
refactor step circuit & agrs struct
nulltea Sep 8, 2023
e2c43f9
add `Eth2CircuitBuilder`
nulltea Sep 9, 2023
6fe5b29
uncomment Sha256Wide chip
nulltea Sep 9, 2023
d7f85d6
remove unused features from Sha256Wide config
nulltea Sep 9, 2023
dcd63ff
add ShaWide thread builder
nulltea Sep 10, 2023
45b7c73
sha256Wide assign to region
nulltea Sep 10, 2023
9ea58cd
uncomment CommitteeUpdateCircuit
nulltea Sep 11, 2023
00ad037
fix ShaBitThreadBuilder
nulltea Sep 11, 2023
048a8c6
init
nulltea Sep 14, 2023
81bebb2
add beacon client struct
nulltea Sep 18, 2023
355a5c8
add committe update circuit args pre-processing
nulltea Sep 19, 2023
175004f
update `AppCircuit` trait
nulltea Sep 19, 2023
e2baf29
add Minimal spec
nulltea Sep 19, 2023
0e6a02b
fix prover crate
nulltea Sep 19, 2023
62335c8
fixes
nulltea Sep 19, 2023
335ce15
add aggregation prover to CLI
nulltea Sep 19, 2023
71ef2b0
uncomment tests
nulltea Sep 20, 2023
b6a9e02
add test with testnet data
nulltea Sep 20, 2023
3eb5741
fix sync step args fetch
nulltea Sep 20, 2023
c631ca9
fix merkle proofs witnesses
nulltea Sep 20, 2023
631dfcb
rename sha256_flex mod
nulltea Sep 21, 2023
cf7fb87
Merge branch 'main' into timoftime/rust-preprocessor
nulltea Sep 21, 2023
07432db
fix errors
nulltea Sep 21, 2023
a8a06e7
cargo fix+fmt
nulltea Sep 21, 2023
47d6753
update aggregation circuit artifacts
nulltea Sep 21, 2023
abb736e
Merge branch 'main' into timoftime/rust-preprocessor
nulltea Sep 21, 2023
2f4ee62
merge
nulltea Sep 21, 2023
a5a19c9
remove local deps
nulltea Sep 22, 2023
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ params/
*.pk
*.instances
*.proof
*.calldata

consensus-spec-tests
13 changes: 10 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["lightclient-circuits", "eth-types"]
members = ["lightclient-circuits", "prover", "preprocessor", "eth-types"]

# Definition of benchmarks profile to use.
[profile.bench]
Expand Down Expand Up @@ -44,9 +44,16 @@ poseidon = { git = "https://github.com/timoftime/halo2-lib", rev = "03c7baedeae2
snark-verifier = { git = "https://github.com/timoftime/snark-verifier", branch = "timoftime/bump-revm", default-features = false }
snark-verifier-sdk = { git = "https://github.com/timoftime/snark-verifier", branch = "timoftime/bump-revm", default-features = false }


# [patch."https://github.com/timoftime/halo2curves"]
# halo2curves = { path = "../halo2curves" }

[patch."https://github.com/ralexstokes/ssz-rs"]
ssz-rs = { git = "https://github.com/polytope-labs/ssz-rs", branch = "seun/ssz-merkle-multi-proof-phase-1" }
ssz-rs = { git = "https://github.com/polytope-labs/ssz-rs", branch = "main", default-features = false }

[patch."https://github.com/polytope-labs/sync-committee-rs"]
sync-committee-prover = { git = "https://github.com/timoftime/sync-committee-rs", branch = "dev/accept-ssz", features = [
"testnet",
] }
sync-committee-primitives = { git = "https://github.com/timoftime/sync-committee-rs", branch = "dev/accept-ssz", features = [
"testnet",
] }
Loading
Loading