-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Enable validator client to sign execution payload envelope #14346
Conversation
if err != nil { | ||
return nil, errors.Wrap(err, "could not get key manager") | ||
} | ||
sig, err := m.Sign(ctx, signReq) |
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.
Had a question, Is there any scenario where m.sign()
might take longer to respond or become unresponsive? If yes would adding a timeout to context handle that scenario?
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.
Using a local signer is fast, so there's minimal risk of unresponsiveness. However, when using a remote signer, unresponsiveness could occur, and adding a timeout might be a good idea. That said, retrying wouldn't make much sense in this context because we would miss the slot anyway. I prefer not to overcomplicate this right now, but we can revisit this later as part of a more general issue and track it accordingly.
4819974
to
eb4a852
Compare
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.
Prysm is now a 6-year-old project. I'm interested in learning the maintainers' thoughts on tech debt in Prysm, such as its magnitude, priority, and how it's being managed.
Co-authored-by: JihoonSong <[email protected]>
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.
I dislike the signatureRequest type, but that's not part of this PR
* Enable validator client to sign execution payload envelope * Update comment Co-authored-by: JihoonSong <[email protected]> --------- Co-authored-by: JihoonSong <[email protected]>
* Enable validator client to sign execution payload envelope * Update comment Co-authored-by: JihoonSong <[email protected]> --------- Co-authored-by: JihoonSong <[email protected]>
* Enable validator client to sign execution payload envelope * Update comment Co-authored-by: JihoonSong <[email protected]> --------- Co-authored-by: JihoonSong <[email protected]>
* Enable validator client to sign execution payload envelope * Update comment Co-authored-by: JihoonSong <[email protected]> --------- Co-authored-by: JihoonSong <[email protected]>
* Enable validator client to sign execution payload envelope * Update comment Co-authored-by: JihoonSong <[email protected]> --------- Co-authored-by: JihoonSong <[email protected]>
* Enable validator client to sign execution payload envelope * Update comment Co-authored-by: JihoonSong <[email protected]> --------- Co-authored-by: JihoonSong <[email protected]>
* Enable validator client to sign execution payload envelope * Update comment Co-authored-by: JihoonSong <[email protected]> --------- Co-authored-by: JihoonSong <[email protected]>
* Enable validator client to sign execution payload envelope * Update comment Co-authored-by: JihoonSong <[email protected]> --------- Co-authored-by: JihoonSong <[email protected]>
* Enable validator client to sign execution payload envelope * Update comment Co-authored-by: JihoonSong <[email protected]> --------- Co-authored-by: JihoonSong <[email protected]>
* Enable validator client to sign execution payload envelope * Update comment Co-authored-by: JihoonSong <[email protected]> --------- Co-authored-by: JihoonSong <[email protected]>
Add a helper
signExecutionPayloadEnvelope
for validator client to sign execution payload envelope