Skip to content

Deneb: get-blobs beacon api#12603

Merged
james-prysm merged 1 commit intodeneb-integrationfrom
deneb-get-blobs
Jul 10, 2023
Merged

Deneb: get-blobs beacon api#12603
james-prysm merged 1 commit intodeneb-integrationfrom
deneb-get-blobs

Conversation

@james-prysm
Copy link
Contributor

What type of PR is this?
Feature

What does this PR do? Why is it needed?

migrating get blob beacon api work from eip4844 to deneb-integration.

note: does not include ssz in PR.

@james-prysm james-prysm requested a review from a team as a code owner July 7, 2023 15:47
@james-prysm james-prysm requested review from potuz, rauljordan, saolyn and terencechain and removed request for a team July 7, 2023 15:47
Comment on lines +162 to +172
resp.Data[i] = &Sidecar{
BlockRoot: hexutil.Encode(sc.BlockRoot),
Index: strconv.FormatUint(sc.Index, 10),
Slot: strconv.FormatUint(uint64(sc.Slot), 10),
BlockParentRoot: hexutil.Encode(sc.BlockParentRoot),
ProposerIndex: strconv.FormatUint(uint64(sc.ProposerIndex), 10),
Blob: hexutil.Encode(sc.Blob),
KZGCommitment: hexutil.Encode(sc.KzgCommitment),
KZGProof: hexutil.Encode(sc.KzgProof),
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

I dont know what the best practice is here and whether we need to copy. Lgtm otherwise

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lets keep an eye out on it in testing. we have a few more PRs that will need to touch this too will keep an eyeout on ssz

@james-prysm james-prysm force-pushed the deneb-get-blobs branch 2 times, most recently from 5452e77 to 7137fe9 Compare July 10, 2023 16:06
@james-prysm james-prysm merged commit 49ddcd0 into deneb-integration Jul 10, 2023
@james-prysm james-prysm deleted the deneb-get-blobs branch July 10, 2023 19:02
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