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

BEEFY: Replace barretenberg with SP1 #319

Merged
merged 13 commits into from
Oct 3, 2024
Merged

BEEFY: Replace barretenberg with SP1 #319

merged 13 commits into from
Oct 3, 2024

Conversation

seunlanlege
Copy link
Member

Replace Barretenberg with SP1 proofs. Barretenberg is a circuit-DSL, which unfortunately means that the size of the circuit inputs cannot change, which can lead to bricked light clients on the mainnet.

SP1 is production-ready and supports CUDA and dynamic inputs because it is a zkVM. This is critical because Polkadot can dynamically grow its validator size, increasing the size of the BEEFY commitment as a result.

This PR adds the sp1 verifier contracts, ABI conversions, and some extra utilities to the beefy-prover.

@seunlanlege seunlanlege merged commit 23067a1 into main Oct 3, 2024
7 checks passed
@seunlanlege seunlanlege deleted the seun/sp1-beefy branch October 3, 2024 09:55
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