-
Notifications
You must be signed in to change notification settings - Fork 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
Implement consensus-specs/3875 #14458
Conversation
2b5fed2
to
31e723c
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.
In proto/prysm/v1alpha1/beacon_block.go
, you want to make sure ExecutionRequests
is copied for (body *BeaconBlockBodyElectra) Copy()
@@ -41,6 +41,7 @@ var placeholderFields = []string{ | |||
"MAX_BYTES_PER_TRANSACTION", // Used for ssz of EL transactions. Unused in Prysm. | |||
"MAX_EXTRA_DATA_BYTES", // Compile time constant on ExecutionPayload.extra_data. | |||
"MAX_TRANSACTIONS_PER_PAYLOAD", // Compile time constant on ExecutionPayload.transactions. | |||
"MAX_REQUEST_PAYLOADS", // Compile time constant on BeaconBlockBody.ExecutionRequests |
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.
Added this as a placeholder we don't seem to be using it! WARNING
@@ -55,7 +55,6 @@ type BeaconState struct { | |||
latestExecutionPayloadHeader *enginev1.ExecutionPayloadHeader | |||
latestExecutionPayloadHeaderCapella *enginev1.ExecutionPayloadHeaderCapella | |||
latestExecutionPayloadHeaderDeneb *enginev1.ExecutionPayloadHeaderDeneb | |||
latestExecutionPayloadHeaderElectra *enginev1.ExecutionPayloadHeaderElectra |
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 could keep this but instead of being an alias will add an unnecessary structure to the type
Implement ethereum/consensus-specs#3875
Reminder for myself. Never again suggest changes in the CL spec.