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

Deneb: publishblockv2 endpoint #12662

Merged
merged 1 commit into from
Jul 26, 2023
Merged

Conversation

james-prysm
Copy link
Contributor

What type of PR is this?

Feature

What does this PR do? Why is it needed?

Implements the following, unit test values should be updated with sample data instead of using mock data.

Implements the following APIs for Deneb

  • publishBlindedBlockV2 json
  • publishBlindedBlockV2 ssz
  • publishBlockV2 json
  • publishBlockV2 ssz

Which issues(s) does this PR fix?

part of #12248

@james-prysm james-prysm added the Deneb PRs or issues for the Deneb upgrade label Jul 25, 2023
@james-prysm james-prysm requested a review from a team as a code owner July 25, 2023 19:07
@james-prysm james-prysm self-assigned this Jul 25, 2023
@james-prysm james-prysm requested review from prestonvanloon, saolyn and potuz and removed request for a team July 25, 2023 19:07
require.NoError(t, err)
genericBlock, err := dblock.ToGeneric()
require.NoError(t, err)
v2block, err := migration.V1Alpha1SignedBeaconBlockDenebAndBlobsToV2(genericBlock.GetDeneb())
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 wonder if we should just have blockandblobs ssz marshalable instead...

rkapka
rkapka previously requested changes Jul 26, 2023
beacon-chain/rpc/eth/beacon/handlers.go Show resolved Hide resolved
beacon-chain/rpc/eth/beacon/handlers.go Show resolved Hide resolved
beacon-chain/rpc/eth/beacon/handlers.go Show resolved Hide resolved
beacon-chain/rpc/eth/beacon/handlers.go Show resolved Hide resolved
@rkapka rkapka dismissed their stale review July 26, 2023 16:22

my mistake

@james-prysm james-prysm merged commit 6a3f98b into deneb-integration Jul 26, 2023
5 checks passed
@james-prysm james-prysm deleted the deneb-publish-blockv2 branch July 26, 2023 16:46
kasey pushed a commit that referenced this pull request Aug 21, 2023
kasey pushed a commit that referenced this pull request Aug 22, 2023
kasey pushed a commit that referenced this pull request Aug 22, 2023
kasey pushed a commit that referenced this pull request Aug 22, 2023
kasey pushed a commit that referenced this pull request Aug 23, 2023
kasey pushed a commit that referenced this pull request Aug 23, 2023
kasey pushed a commit that referenced this pull request Aug 23, 2023
kasey pushed a commit that referenced this pull request Aug 24, 2023
kasey pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 24, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 30, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 30, 2023
prestonvanloon pushed a commit that referenced this pull request Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deneb PRs or issues for the Deneb upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants