Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Simplify spec, update based on recent discussions #82
Simplify spec, update based on recent discussions #82
Changes from all commits
383648c
d91f280
2aa6554
ce10b9e
dac1eaa
14e09bd
287cb39
d789aa2
273ff38
0308695
da3b1aa
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
should the validator public key be part of the request params or else how does the builder return
Unknown validator
if the validator public key has not been mapped to afeeRecipient
?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.
My expectation was that the builder would know what validator is planning to propose for the current slot and would return
Unknown validator
if it had not received asetFeeRecipient
message from the validator. I will update the wording here, because "recovered" doesn't make much sense in this context.This does make me wonder if the builder should also return the slot it is building for in case there is a mismatch?
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.
There could skip slots on top of
hash
The builder may utilize the current wall block but if there's a tiny clock synchronization mismatch between the BN and builder then it may fall apart. It may be safer to include an additional
slot
orproposer_index
orpub_key
in the request as an additional anchor pointThere 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.
@terencechain thanks for the brainstorming on this. the PR is now merged, please open an issue/PR to continue the thread, if applicable 🙏
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.
Another option is to pass in
SignedBlindBeaconBlock
which is basically 1. + 2.Have we considered adding
publicKey
as an input? We don't need it if the builder has the beacon state and the ability to look up theblock. proposer_index
's public keyThere 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.
As mentioned in this comment, I am making the assumption that builders have the ability to look up the
block.proposer_index
's public key. I think this is a reasonable and important assumption, because without it, the builder may receive maybuilder_getHeader
requests with differentfeeRecipient
s, which will cause them to calculate blocks that have no possibility of being included.I'm not necessarily opposed to passing
SignedBlindBeaconBlock
- the rationale for not doing so currently is it breaks from the current pattern ofsignature
always being an RPC parameter / response and I'm not sure what the value would be in disrupting that pattern.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.
No worries. I think
block
andsignature
are great. Let's see if others have feedback on this