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

Implement consensus-specs/3875 #14458

Merged
merged 15 commits into from
Sep 25, 2024
Merged

Implement consensus-specs/3875 #14458

merged 15 commits into from
Sep 25, 2024

Conversation

potuz
Copy link
Contributor

@potuz potuz commented Sep 18, 2024

Implement ethereum/consensus-specs#3875

Reminder for myself. Never again suggest changes in the CL spec.

@potuz potuz force-pushed the clspec-3875 branch 2 times, most recently from 2b5fed2 to 31e723c Compare September 20, 2024 18:56
@potuz potuz changed the title WIP Implement consensus-specs/3875 Sep 20, 2024
Copy link
Member

@terencechain terencechain left a 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()

WORKSPACE Outdated Show resolved Hide resolved
beacon-chain/state/state-native/hasher.go Outdated Show resolved Hide resolved
@@ -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
Copy link
Contributor Author

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
Copy link
Contributor Author

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

api/server/structs/block.go Outdated Show resolved Hide resolved
api/server/structs/conversions_block.go Outdated Show resolved Hide resolved
api/server/structs/conversions_block.go Outdated Show resolved Hide resolved
api/server/structs/conversions_block.go Outdated Show resolved Hide resolved
api/server/structs/conversions_block.go Outdated Show resolved Hide resolved
proto/prysm/v1alpha1/beacon_state.proto Outdated Show resolved Hide resolved
terencechain
terencechain previously approved these changes Sep 25, 2024
@potuz potuz added this pull request to the merge queue Sep 25, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 25, 2024
@potuz potuz added this pull request to the merge queue Sep 25, 2024
Merged via the queue into develop with commit ddafedc Sep 25, 2024
17 of 18 checks passed
@potuz potuz deleted the clspec-3875 branch September 25, 2024 18:17
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.

3 participants