-
Notifications
You must be signed in to change notification settings - Fork 352
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 cli flag for custom network #336
Comments
working on custom network? |
Hi @dapplion, can you explain what is genesis_validators_root (or a document explain it). I am working on a custom chain, pre-merge. But don't know how to generate this root. Thank you. |
@canximan sure state.genesis_validators_root = hash_tree_root(state.validators) Code for it here https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#genesis |
Great, thank you very much. So deposit before the merge will have the genesis_validators_root = zero hash. |
Producing changes for a custom network requires changes to the source code.
The only data points this tool needs to know about a network to produce deposits and credential changes are:
Both are sufficiently succinct that could be pass as command line args, with some TBD serialization:
csv
json
yaml
yaml succinct
afv
,bfv
, etc.Allowing to just pass a CLI arg would make it very easy to add to guides as a copy paste command and allow to run any network for free without your maintenance.
The text was updated successfully, but these errors were encountered: