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

eip4844: beacon api updates #12234

Merged
merged 16 commits into from
Apr 12, 2023
Merged

eip4844: beacon api updates #12234

merged 16 commits into from
Apr 12, 2023

Conversation

rkapka
Copy link
Contributor

@rkapka rkapka commented Apr 4, 2023

Implements the following from #12248:

  • getBlindedBlock json
  • publishBlindedBlock json

@rkapka rkapka changed the title in progress eip4844: beacon api updates Apr 4, 2023
@james-prysm james-prysm mentioned this pull request Apr 4, 2023
# Conflicts:
#	beacon-chain/rpc/prysm/v1alpha1/validator/proposer.go
#	beacon-chain/rpc/prysm/v1alpha1/validator/proposer_bellatrix_test.go
#	beacon-chain/rpc/prysm/v1alpha1/validator/proposer_capella_test.go
#	beacon-chain/rpc/prysm/v1alpha1/validator/unblinder.go
@rkapka rkapka marked this pull request as ready for review April 6, 2023 14:59
@rkapka rkapka requested a review from a team as a code owner April 6, 2023 14:59
@rkapka rkapka requested review from saolyn, terencechain and james-prysm and removed request for a team April 6, 2023 14:59
@rkapka rkapka marked this pull request as draft April 6, 2023 15:00
Copy link
Member

@terencechain terencechain left a comment

Choose a reason for hiding this comment

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

Thank you!

@rkapka rkapka marked this pull request as ready for review April 6, 2023 16:07
@@ -138,25 +147,29 @@ func (bs *Server) GetBlindedBlockSSZ(ctx context.Context, req *ethpbv1.BlockRequ
// successful. The beacon node is expected to integrate the new block into its state, and
// therefore validate the block internally, however blocks which fail the validation are still
// broadcast but a different status code is returned (202).
func (bs *Server) SubmitBlindedBlock(ctx context.Context, req *ethpbv2.SignedBlindedBeaconBlockContainer) (*emptypb.Empty, error) {
func (bs *Server) SubmitBlindedBlock(ctx context.Context, req *ethpbv2.SignedBlindedBeaconBlockContentsContainer) (*emptypb.Empty, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

we should align on this name and this type *ethpbv2.SignedBlindedBeaconBlockContentsContainer i do something similar in my PR...

Copy link
Contributor

@james-prysm james-prysm left a comment

Choose a reason for hiding this comment

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

Approving with the condition that concerns are handled in subsequent PRs relating to validation/unit tests
will continue to evaluate the container approach to blockcontents.

@rkapka rkapka merged commit ae49fd9 into eip4844 Apr 12, 2023
@rkapka rkapka deleted the eip4844-updateapi branch April 12, 2023 16:27
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.

3 participants