-
Notifications
You must be signed in to change notification settings - Fork 1.2k
optimize get blobs #15902
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
base: develop
Are you sure you want to change the base?
optimize get blobs #15902
Conversation
| // - either enough sidecars to reconstruct the blobs.git a | ||
| // | ||
| // The skipKzgProofs parameter indicates whether to skip expensive KZG proof computations (post-Fulu optimization). | ||
| func ReconstructBlobs(block blocks.ROBlock, verifiedDataColumnSidecars []blocks.VerifiedRODataColumn, indices []int, skipKzgProofs bool) ([]*blocks.VerifiedROBlob, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not return a verified blob sidecar with a missing blob proof.
It breaks the promise of what is a verified blob sidecar.
|
Regarding the KZG blob proof:
Regarding the KZG cell proofs:
|
|
|
||
| // ComputeCellsAndKZGProofs computes the cells and cells KZG proofs from a given blob. | ||
| func ComputeCellsAndKZGProofs(blob *Blob) (CellsAndProofs, error) { | ||
| func ComputeCellsAndKZGProofs(blob *Blob) ([]Cell, []Proof, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This return triggered a lot of test changes
What type of PR is this?
What does this PR do? Why is it needed?
Which issues(s) does this PR fix?
Fixes #
Other notes for review
Acknowledgements