-
Notifications
You must be signed in to change notification settings - Fork 286
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
7013 add blinded blocks block contents type #7150
7013 add blinded blocks block contents type #7150
Conversation
This PR is rebased on #7146 |
SignedBlobSidecarSchema.create( | ||
BlobSidecarSchema.create( | ||
new BlobSchema( | ||
spec.getGenesisSpecConfig().toVersionDeneb().orElseThrow()))), |
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.
Basically this, it's just generally not fully exposed here...
if you look at GetLightClientBootstrap
as an example, but basically you'd be doing the .create elsewhere, and here it'd be something like
SchemaDefinitionsDeneb.required(
schemaDefinitionCache.getSchemaDefinition(SpecMilestone.DENEB))
.getSignedBlockContentsSchema()
.getJsonTypeDefinition()
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.
admittedly arugable either way in an actual test, but in the endpoints it'd look like this...
SignedBlindedBlockContentsSchema.create( | ||
spec.getGenesisSpecConfig().toVersionDeneb().orElseThrow(), | ||
SignedBlindedBlobSidecarSchema.create(BlindedBlobSidecarSchema.create()), | ||
spec.getGenesisSchemaDefinitions().getSignedBeaconBlockSchema()) | ||
.getJsonTypeDefinition()) |
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.
SchemaDefinitionsDeneb.required(
schemaDefinitionCache.getSchemaDefinition(SpecMilestone.DENEB))
.getSignedBlindedBlockContentsSchema()
.getJsonTypeDefinition()
ish..
2c2c6f4
to
8aabca1
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.
Lgtm
PR Description
Add blinded block and blinded block contents deseriliasation types
Spec reference here
Fixed Issue(s)
#7013
Documentation
doc-change-required
label to this PR if updates are required.Changelog