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

engineeapi, txpool: Implement GetBlobsV1 #13975

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

engineeapi, txpool: Implement GetBlobsV1 #13975

wants to merge 16 commits into from

Conversation

somnathb1
Copy link
Contributor

@somnathb1 somnathb1 commented Feb 25, 2025

@somnathb1 somnathb1 linked an issue Feb 28, 2025 that may be closed by this pull request
"github.com/erigontech/erigon/core/types/testdata"
)

func MakeBlobTxnRlp() ([]byte, []gokzg4844.KZGCommitment) {
Copy link
Member

Choose a reason for hiding this comment

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

if this is only used for testing, then a more intuitive place for it is typestest package

Copy link
Member

Choose a reason for hiding this comment

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

I see you've renamed it to testdata, fine with me, but then MakeBlobTxn makes more sense to be part of it

}
payloadSize := txw.payloadSize()
l := rlp.EncodeListPrefix(payloadSize, b[1:])
w.Write(b[1 : 1+l])
Copy link
Member

Choose a reason for hiding this comment

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

missing err handling here and line 406 below

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.

Implement engine_getBlobsV1
2 participants