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

BLS to Execution Change #153

Open
pablomendezroyo opened this issue Feb 15, 2023 · 0 comments
Open

BLS to Execution Change #153

pablomendezroyo opened this issue Feb 15, 2023 · 0 comments
Labels
P0 High priority

Comments

@pablomendezroyo
Copy link
Contributor

pablomendezroyo commented Feb 15, 2023

In order to withdraw your validator, Ethereum needs to associate an Ethereum execution address with your validator’s keys. Underneath the hood, submitting a bls-to-execution-change (withdrawal) request updates the withdrawal credentials.

To sign and submit the bls-to-execution to a beacon node there are several toolings:

The ethdo tool allows non-interactive usage and it has already implemented this feature.

To execute bls-to-execution-change:

ethdo validator credentials set --mnemonic="abandon abandon abandon … art" --withdrawal-address=0x0123…cdef

The inputs required are:

  • mnemonic
  • withdrawal-address

The above command will

  1. obtain information from your consensus node about all currently-running validators and various additional information required to generate the operations
  2. scan your mnemonic to find any validators that were generated by it, and create the operations to change their credentials
  3. broadcast the credentials change operations to the Ethereum network

Approach

Use ethdo tool as a binary to be executed by the backend brain tool. Consider adding a post-check to ensure the withdrawal address was set correctly

Requirements:

  • Connectivity to a beacon node
  • Inputs: nmnemonic and withdrawal-address

Caveats

  • Ideally, the process of introducing the mnemonic should be performed offline
  • The withdrawal address should be asked up to 3 times in the frontend. It cannot be changed once set
@pablomendezroyo pablomendezroyo added the P1 Medium priority label Feb 15, 2023
@pablomendezroyo pablomendezroyo changed the title Change validator withdrawal address BLS to Execution Change Mar 10, 2023
@pablomendezroyo pablomendezroyo added P0 High priority and removed P1 Medium priority labels Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 High priority
Projects
None yet
Development

No branches or pull requests

1 participant