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

core/bcast: broadcast either blinded or full block #3144

Merged
merged 9 commits into from
Jun 21, 2024

Conversation

gsora
Copy link
Collaborator

@gsora gsora commented Jun 18, 2024

Check what type of proposal we're broadcasting before calling SubmitProposal.

category: bug
ticket: none

Shortcut `/eth/v2/beacon/blinded_blocks/submit_blinded_block_v2` to use newer proposals rather than blinded block proposals.
Copy link

codecov bot commented Jun 18, 2024

Codecov Report

Attention: Patch coverage is 62.50000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 56.80%. Comparing base (d6b0d7a) to head (17c38ee).
Report is 3 commits behind head on main.

Files Patch % Lines
core/bcast/bcast.go 62.50% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3144      +/-   ##
==========================================
- Coverage   56.83%   56.80%   -0.04%     
==========================================
  Files         208      208              
  Lines       29314    29336      +22     
==========================================
+ Hits        16662    16665       +3     
- Misses      10811    10828      +17     
- Partials     1841     1843       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

sonarcloud bot commented Jun 20, 2024

@gsora gsora added the merge when ready Indicates bulldozer bot may merge when all checks pass label Jun 21, 2024
@gsora gsora marked this pull request as ready for review June 21, 2024 12:25
@obol-bulldozer obol-bulldozer bot merged commit 80d55bc into main Jun 21, 2024
12 checks passed
@obol-bulldozer obol-bulldozer bot deleted the gsora/vapi_blinded_proposal_new_endpoint branch June 21, 2024 12:25
@gsora gsora changed the title core/validatorapi: convert blinded to full proposal core/bcast: broadcast either blinded or full block Jun 21, 2024
ok bool
)

block, ok = aggData.(core.VersionedSignedProposal)
Copy link
Contributor

Choose a reason for hiding this comment

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

It's terrible that we have to do all these castings.. and sad that I overlooked this issue in bcast.

gsora added a commit that referenced this pull request Jun 25, 2024
Shortcut `/eth/v2/beacon/blinded_blocks/submit_blinded_block_v2` to use newer proposals rather than blinded block proposals.

category: bug
ticket: none
obol-bulldozer bot pushed a commit that referenced this pull request Jun 25, 2024
- #3144
- #3149
- #3150

category: misc
ticket: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants