-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add script to generate blsToExecutionChange for testnet validators. #167
Add script to generate blsToExecutionChange for testnet validators. #167
Conversation
@rickimoore I've copied all the latest
The local testnet works, however the generate BLS change script no longer works - I'll check with @pawan on how he's generating the keys. If generating the json file is important to you now, you may want to run local testnet with the older commit. |
For reviewer(s), this PR contains all local testnet scripts copied from sigp/lighthouse#3807 - I'm trying to keep it in sync (mostly) to the lighthouse repo keep it maintainable. The only new change here is this file: |
@rickimoore I can confirm I've updated the steps in the PR description. |
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.
gg
Add script to generate blsToExecutionChange for testnet validators to make withdrawal testing easier on local testnet. The script does the following:
blsToExecutionChange
using staking-deposit-clistaking-deposit-cli
using docker and outputs the json to a local directory.To use this script,
lighthouse
andlcli
needs to be built using this Lighthouse PR, so that we could use a given mnemonic to set up the genesis validators. See steps below.Steps to test:
make && make install-lcli
./start_local_testnet.sh genesis.json
(make suregeth
&bootnode
are installed and available onPATH
)blsToExecutionChange
json:blsToExecutionChange
json to beacon node:beacon_node_<n>.log
, but it should happen pretty quickly if you submitted the message after Capella fork, so feel free to skip checking this:withdrawal_credentials
are updated to0x01
:NOTE: the local testnet is a copy from the Lighthouse repo, longer term we potentially want to unify them to reduce maintenance burden.