-
Notifications
You must be signed in to change notification settings - Fork 1.2k
eip7732: remove header and inclusion proof from data column sidecar #4527
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
Conversation
|
@terencechain you need to update |
|
Also, we need new tests here |
| ### Modified `get_data_column_sidecars_from_column_sidecar` | ||
|
|
||
| ```python | ||
| def get_data_column_sidecars_from_column_sidecar( |
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.
help needed: I had to add this to get the lint to pass and I dont know why
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.
What did you had to add?
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 had to add this function because we changed the definition of get_data_column_sidecars which it calls. Without the tests which use it would call that function with the wrong arguments. This seems fine to me.
specs/gloas/p2p-interface.md
Outdated
| ### Preset | ||
|
|
||
| *[Modified in Gloas:EIP7732]* | ||
|
|
||
| | Name | Value | Description | | ||
| | --------------------------------------------- | ----- | ----------------------------------------------------------- | | ||
| | `KZG_COMMITMENTS_INCLUSION_PROOF_DEPTH_GLOAS` | `9` | Merkle proof depth for the `blob_kzg_commitments` list item | | ||
| *No changes in Gloas.* |
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.
Let's just remove the Preset section then?
808d8aa to
8427d6b
Compare
this PR removes the header and inclusion proof from the data column sidecar, based on the assumption that the beacon block containing the bid and KZG commitment root is received before the data column sidecar. The reason these fields exist today is that sidecars and blocks are broadcast at the same time.