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

feat: plonk verification with .bytes() #1753

Merged
merged 8 commits into from
Nov 6, 2024
Merged

Conversation

yuwen01
Copy link
Contributor

@yuwen01 yuwen01 commented Nov 5, 2024

Verifies plonk proofs using .bytes() instead of .raw_with_checksum() in the verifier crate.

Preparing for crates.io release with 3.0.0 sdk -- so this PR also updates the verifier readme to point to the package readme instead of the workspace readme, does some better error handling, and adds some comments

Copy link

github-actions bot commented Nov 5, 2024

SP1 Performance Test Results

Branch: yuwen/remove-raw-with-checksum
Commit: b7b4e05
Author: yuwen01

program cycles execute (mHz) core (kHZ) compress (KHz) time success
fibonacci 11291 0.18 2.94 0.47 24s
ssz-withdrawals 2757356 17.03 129.78 35.39 1m18s
tendermint 12593597 6.69 268.68 99.40 2m9s

@yuwen01 yuwen01 changed the title feat: plonk verification with .bytes() feat: plonk verification with .bytes() Nov 5, 2024
@yuwen01 yuwen01 marked this pull request as ready for review November 5, 2024 21:25
@@ -1,7 +1,7 @@
[package]
name = "sp1-verifier"
description = "Verifier for SP1 Groth16 and Plonk proofs."
readme = "../../README.md"
readme = "README.md"
Copy link
Contributor Author

@yuwen01 yuwen01 Nov 5, 2024

Choose a reason for hiding this comment

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

on one hand, this crate is pretty independent, so by that logic it deserves its own readme.

on the other hand, i'm gonna write some docs in the mdbook, so i can just have this point to the workspace readme maybe?

Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't matter

@yuwen01 yuwen01 merged commit 2c78683 into dev Nov 6, 2024
12 checks passed
@yuwen01 yuwen01 deleted the yuwen/remove-raw-with-checksum branch November 6, 2024 02:13
yuwen01 added a commit that referenced this pull request Nov 8, 2024
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