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

Deneb signing #4

Merged
merged 11 commits into from
Aug 18, 2023
Merged

Deneb signing #4

merged 11 commits into from
Aug 18, 2023

Conversation

jframe
Copy link
Collaborator

@jframe jframe commented Aug 17, 2023

Introduces signing for the Deneb fork #2

Since changes for Deneb block are in the execution payload and web3signer uses the BeaconBlockHeader we don't need to make changes to the block type.

For blob sidecar signing we can use the blinded sidecar type for both using the blob_root instead of the full blob. So don't need to pass through as much data and can have one type instead of two. And the new blob sidecar type is actually a blinded blob sidecar. Thought that was clearer but maybe the name is confusing.

The new type also uses snake casing to be consistent with the consensus spec instead of using camel casing.

Copy link
Collaborator

@usmansaleem usmansaleem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@usmansaleem
Copy link
Collaborator

The Teku implementation of these changes are covered via Consensys/teku#7428. The BlobSidecar is mapped to BlindedBlobSidecar by calculating the "hashroot/merkelization" of "blob". i.e. blobSidecar.blob -> blindedBlobSidecar.blobRoot

@jframe jframe marked this pull request as ready for review August 18, 2023 01:15
@jframe jframe merged commit 5010d77 into ethereum:main Aug 18, 2023
2 checks passed
@jframe jframe deleted the deneb branch August 18, 2023 03:30
@jframe jframe restored the deneb branch August 18, 2023 03:31
jframe added a commit that referenced this pull request Aug 18, 2023
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.

2 participants