-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
base: main
Are you sure you want to change the base?
Conversation
"github.com/erigontech/erigon/core/types/testdata" | ||
) | ||
|
||
func MakeBlobTxnRlp() ([]byte, []gokzg4844.KZGCommitment) { |
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.
if this is only used for testing, then a more intuitive place for it is typestest
package
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.
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]) |
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.
missing err handling here and line 406 below
Depends on erigontech/interfaces#249