Skip to content

Conversation

@dapplion
Copy link
Member

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
@hwwhww hwwhww added the eip7441 Whisk SSLE label 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
Member 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
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

Labels

eip7441 Whisk SSLE

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants