EIP-4844 External Signer integration for blob sidecar and blinded blob sidecar #7428
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Description
External signer integration for offloading signing request for blob sidecar and blinded blob sidecar (EIP 4844)
Summary of changes:
tech.pegasys.teku.validator.client.signer
ExternalSigner
: ImplementedsignBlobSidecar
andsignBlindedBlobSidecar
. Both methods sendBlindedBlobSidecar
converted to json. TheBlobSidecar.getBlob().hashTreeRoot()
makes it compatible withBlindedBlobSidecar
for the purpose of calculating signature remotely.SignType
: IntroducedSignType.BLOB_SIDECAR
ExternalSignerDenebIntegrationTest
: Integration test for above methods.tech.pegasys.teku.api.schema
BlindedBlobSidecar
: To convert internalBlobSidecar
andBlindedBlobSidecar
to JSON. Used byExternalSigner
.KZGProof
: Used inBlindedBlobSidecar
class.tech.pegasys.teku.provider
JsonProvider
Register KZGProof serializer and deserializer i.e.KZGProofSerializer
andKZGProofDeserializer
that helps in de/serializing BlindedBlobSidecar.The resultant JSON request would look like:
Fixed Issue(s)
fixes #6963
Documentation
doc-change-required
label to this PR if updates are required.Changelog