Relayer signature forwarding - #11
Open
franjoespejo wants to merge 11 commits into
Open
franjoespejo wants to merge 11 commits into
franjoespejo wants to merge 11 commits into
Conversation
Member
|
Thanks! I am a bit confused due to:
This signature field from the relayer can authenticate that the execution payload originates on the relayer, not the entire beacon block. Please amend the diagram and description for spec clarity. Also this PR includes changes from #10, please maintain the scope of this branch to "Relayer signature forwarding" only |
dapplion
reviewed
Apr 4, 2024
| type: boolean | ||
| example: | ||
| - pubkey: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' | ||
| relayer_signature: true |
Member
There was a problem hiding this comment.
This is a breaking change, it should bump to a new version
| value: | ||
| type: "BLOCK_V2" | ||
| proofs: | ||
| - relayer_signature: "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505" |
Member
There was a problem hiding this comment.
This change is additive but I am not sure if it deserves a new version. If we don't bump the version, the field has to be optional, and may not be present even if the web3signer requests it on the public_keys return
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
This proposal introduces a mechanism for remote signers to authenticate the provenance of the relayer responsible for providing a blinded block to proposer. It aims to enhance the integrity of the signing process.
Rationale
This enhancement provides verification capabilities of the block proposals content to remote signers prior to signing the block, thereby facilitating a trustless operational setup between the validator client and the remote signer.
The specification aims to optionally extend the capabilities of the remote signer API while maintaining compatibility with the current API with the following (optional, flag-enabled) addition:
In a MEV context, when the signing request is built for a BlindedBlock, in order to validate the authenticity of the Transactions root / Execution Payload of the BlindedBlock, the validator client can include the relayer's signature by adding the
signaturefield from the SignedBuilderBid to verify that the signature was performed by a given relayer.Specification Overview
This specification proposes a structured methodology to refine the interaction between validator clients and the remote signer.
Enable relayer signature forwarding in validator client
This process involves validator to knowing by flags where to find the remote signer and calling to remote signer
/api/v1/pubkeysendpoint to check for:Verifying Signature Request in
/api/v1/eth2/sign/{pubkey}Enhancing signature requests with the inclusion of relayer signatures. Based on the setting specified for each validator in the previous step, the verifying remote signer will perform before signing:
signaturefield was indeed generated by a specified relayer, thereby confirming the authenticity of the execution payload of the BlindedBlock in the signing request.Sequence Diagram