Skip to content

Deneb: publishblockv2 endpoint#12662

Merged
james-prysm merged 1 commit intodeneb-integrationfrom
deneb-publish-blockv2
Jul 26, 2023
Merged

Deneb: publishblockv2 endpoint#12662
james-prysm merged 1 commit intodeneb-integrationfrom
deneb-publish-blockv2

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 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 potuz, prestonvanloon and saolyn 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...

@james-prysm james-prysm force-pushed the deneb-publish-blockv2 branch from d152926 to 227d1d2 Compare July 25, 2023 19:09
rkapka
rkapka previously requested changes Jul 26, 2023
@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
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants