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

Remove verify_cell_kzg_proof (non-batch) #3830

Merged
merged 4 commits into from
Jul 10, 2024

Conversation

jtraglia
Copy link
Member

@jtraglia jtraglia commented Jul 2, 2024

The specs and clients are only expected to use verify_cell_kzg_proof_batch, so we could remove verify_cell_kzg_proof. This would simplify things quite a bit. In ckzg, we could delete ~200 lines of C code and a bunch of code in the bindings. It's still possible to verify a single cell with the batch function and the performance is essentially the same.

@jtraglia jtraglia added the EIP-7594 PeerDAS label Jul 2, 2024
@mratsim
Copy link
Contributor

mratsim commented Jul 3, 2024

Should we make it a note in an appendix?

I think it's useful for testing, fuzzing or while making step-by-step progress in an implementation.

@asn-d6
Copy link
Contributor

asn-d6 commented Jul 9, 2024

Should we make it a note in an appendix?

I think it's useful for testing, fuzzing or while making step-by-step progress in an implementation.

Hmm, have we done this before in consensus-specs? How would it look like?

@jtraglia jtraglia marked this pull request as ready for review July 10, 2024 14:56
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 dc5f74d into ethereum:dev Jul 10, 2024
26 checks passed
@jtraglia jtraglia deleted the remove-verify-cell-kzg-proof branch July 10, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EIP-7594 PeerDAS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants