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

Aggregate Committee Rotation Circuit #5

Merged
merged 33 commits into from
Sep 5, 2023
Merged

Aggregate Committee Rotation Circuit #5

merged 33 commits into from
Sep 5, 2023

Conversation

ec2
Copy link
Member

@ec2 ec2 commented Sep 5, 2023

Uses the Wide Sha256 circuit and compress proof using aggregation

Wide Circuit Numbers:
Application Circuit: k = 17, proving time = 55s
Aggregation Circuit: k = 22, proving time 217s
Gas Cost: 574389
Code Size: 22689

Application Circuit: k = 18, proving time = 93s
Aggregation Circuit: k = 22, proving time 215s
Gas Cost: 548935
Code Size: 21663

Tall Circuit Numbers: TBD

@@ -75,6 +75,7 @@ pub struct CommitteeUpdateCircuit<S: Spec, F: Field> {
pubkeys_compressed: Vec<Vec<u8>>,
pubkeys_y: Vec<Fq>,
dry_run: bool,
sha256_offset: usize,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sha256_offset is a relict from banshee where multiple subcircuits can use sha256 table/chip, prop can remove this safely here

@ec2 ec2 merged commit 94ed274 into main Sep 5, 2023
1 check passed
@ec2 ec2 deleted the ec2/rotate_agg_snark branch September 5, 2023 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants