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

prysmctl testnet generate-genesis with --deposit-json-file #8

Open
artjoma opened this issue Oct 11, 2023 · 0 comments
Open

prysmctl testnet generate-genesis with --deposit-json-file #8

artjoma opened this issue Oct 11, 2023 · 0 comments

Comments

@artjoma
Copy link

artjoma commented Oct 11, 2023

I try to use prysmctl with deposit-json-file, but process crashed. May be somebody knows how to this this issue ?

+ ./dependencies/prysm/out/prysmctl testnet generate-genesis --fork=capella --num-validators=2 --deposit-json-file=./staking_deposit-cli/validator_keys/deposit_data-1697028676.json --chain-config-file=./config.yml --geth-genesis-json-in=./genesis.json --output-ssz=./network/genesis.ssz --geth-genesis-json-out=./network/genesis.json
INFO[0000] Specified a chain config file: ./config.yml   prefix=genesis
INFO[0000] No genesis time specified, defaulting to now()  prefix=genesis
INFO[0000] reading deposits from JSON at /home/art/dev/go_workspace/ethereum-pos-testnet/staking_deposit-cli/validator_keys/deposit_data-1697028676.json  prefix=genesis
INFO[0000] setting fork geth times                       prefix=genesis shanghai=0xc000835be8
panic: runtime error: integer divide by zero

goroutine 1 [running]:
github.com/prysmaticlabs/prysm/v4/consensus-types/primitives.ValidatorIndex.Mod(...)
        /home/art/dev/eth-custom/testnet/ethereum-pos-testnet/dependencies/prysm/consensus-types/primitives/validator.go:39
github.com/prysmaticlabs/prysm/v4/beacon-chain/core/altair.NextSyncCommitteeIndices({0x21bdd70, 0xc0000560e0}, {0x21e64b8?, 0xc0008b58c0})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant