-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: cell proof computation related proto and generated go files #15003
base: peerDAS
Are you sure you want to change the base?
feat: cell proof computation related proto and generated go files #15003
Conversation
message BlobsBundleV2 { | ||
// The KZG commitments of the blobs. | ||
repeated bytes kzg_commitments = 1 [ | ||
(ethereum.eth.ext.ssz_size) = "?,48", | ||
(ethereum.eth.ext.ssz_max) = "max_blob_commitments.size" | ||
]; | ||
|
||
// The cell_proofs for all blobs | ||
// TODO: update ssz_max when it's defined in the spec | ||
repeated bytes cell_proofs = 2 [ | ||
(ethereum.eth.ext.ssz_size) = "?,48", | ||
(ethereum.eth.ext.ssz_max) = "max_blob_commitments.size" | ||
]; | ||
|
||
// The blobs itself. | ||
repeated bytes blobs = 3 [ | ||
(ethereum.eth.ext.ssz_size) = "?,blob.size", | ||
(ethereum.eth.ext.ssz_max) = "max_blob_commitments.size" | ||
]; | ||
} | ||
|
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.
In general, it’s best to define new protobuf messages in their own files, such as execution_engine_eip7594.proto
or something similar. Keeping everything in a single file increases the risk of conflicts, especially with multiple feature branches in development
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.
Good to know, will update
d95cb37
to
d6bbe00
Compare
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.
Lgtm. Thanks for considering my feedback. Will let @nalepae approve and merge this one
…le does not exists. Rerun ` hack/update-go-pbs.sh` and `hack/update-go-ssz.sh `.
What type of PR is this?
Feature
What does this PR do? Why is it needed?
commit cell proof computation related proto and generated go files, see ethereum/execution-apis#630
Which issues(s) does this PR fix?
Fixes #14129
Other notes for review
Acknowledgements