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

Whisk: add preset files #3424

Merged
merged 4 commits into from
Jun 19, 2023
Merged

Whisk: add preset files #3424

merged 4 commits into from
Jun 19, 2023

Conversation

dapplion
Copy link
Collaborator

Reduce shuffling sizes for minimal preset to have faster tests.

On offline discussions with @asn-d6 we noted that CURDLEPROOFS_N_BLINDERS + WHISK_VALIDATORS_PER_SHUFFLE must be a power of two, so for mainnet it's reduced from 128 to 124

@dapplion dapplion changed the title Add Whisk preset files Whisk: add preset files Jun 14, 2023
# Misc
# ---------------------------------------------------------------
# [customized]
CURDLEPROOFS_N_BLINDERS: 2
Copy link
Contributor

@asn-d6 asn-d6 Jun 14, 2023

Choose a reason for hiding this comment

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

Curdleproofs always requires 4 blinders, because of how the ZK protocol is designed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Noting that https://github.com/nalinbhardwaj/curdleproofs.pie is able to validate a generated proof with those parameters

@asn-d6
Copy link
Contributor

asn-d6 commented Jun 15, 2023

This looks good now! However it seems like merging this PR will cause a good amount of test breakage?

Copy link
Contributor

@asn-d6 asn-d6 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!

@asn-d6 asn-d6 merged commit c90d724 into ethereum:dev Jun 19, 2023
12 checks passed
dapplion added a commit to dapplion/consensus-specs that referenced this pull request Jun 20, 2023
* Add Whisk preset files

* Use N=8 for minimal preset

* Update spec_object var location
dapplion added a commit to dapplion/consensus-specs that referenced this pull request Jun 22, 2023
* Add Whisk preset files

* Use N=8 for minimal preset

* Update spec_object var location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants