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

Add getBlobSidecars Beacon API #7237

Merged
merged 9 commits into from
Jun 8, 2023
Merged

Conversation

zilm13
Copy link
Contributor

@zilm13 zilm13 commented Jun 7, 2023

PR Description

Adds getBlobSidecars Beacon API

Fixed Issue(s)

Fixes #6781

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

@@ -0,0 +1,86 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know but why do we need these schema classes given we use the jsonTypeDefinition from the SchemaDefinitions?

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe required for swagger-ui?

Copy link
Contributor Author

@zilm13 zilm13 Jun 8, 2023

Choose a reason for hiding this comment

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

I probably could make it Bytes but there will be no size verification

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd better make Bytes48 and at least we will get one class instead of two

Copy link
Contributor

Choose a reason for hiding this comment

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

My question actually is what are these schema objects under api/schema used for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice point, was able to remove it

@zilm13 zilm13 marked this pull request as ready for review June 8, 2023 14:06
}

private static ResponseContentTypeDefinition<List<BlobSidecar>> getSszResponseType() {
OctetStreamResponseContentTypeDefinition.OctetStreamSerializer<List<BlobSidecar>> serializer =
Copy link
Contributor

Choose a reason for hiding this comment

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

final 🗡️

Copy link
Contributor Author

Choose a reason for hiding this comment

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

GPT will get our jobs

Copy link
Contributor

@StefanBratanov StefanBratanov left a comment

Choose a reason for hiding this comment

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

LGTM

@zilm13 zilm13 merged commit 716adec into Consensys:master Jun 8, 2023
@zilm13 zilm13 deleted the feature/get-blob branch June 8, 2023 14:48
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.

Add getBlobsSidecar endpoint
2 participants