Skip to content

crypto/kz4844: pass blobs by ref (#29050) #199

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ARR4N
Copy link
Collaborator

@ARR4N ARR4N commented Jun 26, 2025

Warning

DO NOT squash merge. I will fast-forward merge into main.

Why this should be merged

Closes #197. We don't use blobs anywhere so this has no effect on our code but it unblocks a user.

How this works

Cherry-picks ethereum#29050 to be reverted upon upgrade that includes the same commit (see #128).

Beyond a bump in the KZG4844 Go and C modules, the only changes introduced are passing of kzg4844.Blob objects by pointer.

How this was tested

Existing tests via CI.

This change makes use of the following underlying changes to the kzg-libraries in order to avoid passing large things on the stack:

- c-kzg: ethereum/c-kzg-4844#393 and
- go-kzg: https://github.com/crate-crypto/go-kzg-4844/pull/63
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.

Upgrade github.com/crate-crypto/go-kzg-4844 library
2 participants