-
Notifications
You must be signed in to change notification settings - Fork 90
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
app/eth2wrap: query previous block for synthetic proposals #1533
Conversation
Codecov ReportBase: 54.18% // Head: 54.01% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1533 +/- ##
==========================================
- Coverage 54.18% 54.01% -0.17%
==========================================
Files 150 150
Lines 19135 19232 +97
==========================================
+ Hits 10368 10388 +20
- Misses 7358 7427 +69
- Partials 1409 1417 +8
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
}, | ||
nil, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
}, | |
nil, | |
) | |
}, nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, it's auto-generated i think
block, err := h.syntheticBlock(ctx, slot) | ||
if err != nil { | ||
return nil, err | ||
} else if block.Version != spec.DataVersionBellatrix { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be for fork versions >= bellatrix
? Ex: Capella
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go-eth2 only supports bellatrix blinded blocks at this point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Query previous blocks to propose as synthetic blocks since only proposers can query the block_proposal endpoint.
category: bug
ticket: #1486