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

Replace recover_data with recover_polynomialcoeff #3820

Merged
merged 9 commits into from
Jul 17, 2024

Conversation

kevaundray
Copy link
Contributor

@kevaundray kevaundray commented Jun 26, 2024

The goal of this PR is to simplify recovery. Previously, we reconstructed the extended blob and converted that to a polynomial in coefficient form. Instead, we can reconstruct the polynomial and return that. It allows us to skip the conversion. Also, this PR adds a new compute_cells_and_kzg_proofs_polynomialcoeff function which is used by compute_cells_and_kzg_proofs and recover_cells_and_kzg_proofs.

@kevaundray kevaundray force-pushed the kw/simplify-recover-data branch from 8b0a05d to 4907658 Compare June 26, 2024 19:18
@kevaundray
Copy link
Contributor Author

Would wait for #3819 as it makes that method even simpler

@jtraglia jtraglia added the EIP-7594 PeerDAS label Jun 26, 2024
@jtraglia jtraglia changed the title chore: replace recover_data with recover_polynomial_coeff Replace recover_data with recover_polynomialcoeff Jul 16, 2024
@jtraglia jtraglia requested a review from asn-d6 July 16, 2024 18:38
Copy link
Member

@jtraglia jtraglia left a comment

Choose a reason for hiding this comment

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

I made some changes but LGTM 👍 I like this PR.

@jtraglia jtraglia marked this pull request as ready for review July 16, 2024 18:44
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 2331291 into ethereum:dev Jul 17, 2024
26 checks passed
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