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

ERROR startup failure error="error during handshake: error on replay: validator set is nil in genesis and still empty after InitChain" #2432

Open
rgederin-dev opened this issue Jan 28, 2025 · 2 comments

Comments

@rgederin-dev
Copy link

Hi all

I am following this doc https://docs.berachain.com/nodes/quickstart in order to start Berachain node and facing with the issue mentioned in the title.

Steps to reproduce:

  • Configure Consensus Client as described in docs with few adjustments (change timeouts and block size in configs and do not use --consensus-key-algo bls12_381 flag.
  • Set env variable for working on a testnet (without it beakon-kit fallbacks to main net): export CHAIN_SPEC="testnet"
  • Start beakon-kit with: ./build/bin/beacond start --home ./build/bin/config/beacond;
  • Configure and start Reth execution client as described in docs.

After this step beakon-kit fails with:

2025-01-28T10:03:03Z INFO Validator does not exist so creating service=state-processor pubkey=0xa00d992e629f49456481e48bf01d0c43ecaf8a8181e9d7115cd0644adbda6b1ed91dd43688e73dcd8145affb3f88f783 index=0x0 deposit_amount=0x773594000
2025-01-28T10:03:03Z WARN failed deposit signature verification service=state-processor pubkey=0xa00d992e629f49456481e48bf01d0c43ecaf8a8181e9d7115cd0644adbda6b1ed91dd43688e73dcd8145affb3f88f783 deposit_index=0x0 amount_gwei=32000000000 error=signer returned an invalid signature
invalid deposit message
2025-01-28T10:03:03Z INFO Processed deposit to set Eth 1 deposit index service=state-processor previous=1 new=2
2025-01-28T10:03:03Z INFO Validator does not exist so creating service=state-processor pubkey=0x802073a6a4c461797eab0e1992b7bcd1034d752bdc1bde7a1fd89d0227a5b3ec6bcfa575f3a46fed943796e77573ba99 index=0x1 deposit_amount=0x773594000
2025-01-28T10:03:03Z WARN failed deposit signature verification service=state-processor pubkey=0x802073a6a4c461797eab0e1992b7bcd1034d752bdc1bde7a1fd89d0227a5b3ec6bcfa575f3a46fed943796e77573ba99 deposit_index=0x1 amount_gwei=32000000000 error=signer returned an invalid signature
invalid deposit message

......


2025-01-28T10:03:03Z WARN failed deposit signature verification service=state-processor pubkey=0xb6be1624593603d640144173489b305a52fb939cfa773284822c17a0e6b97e5435043f514d10add206d2b13677babee9 deposit_index=0x55 amount_gwei=32000000000 error=signer returned an invalid signature
invalid deposit message

Error: error during handshake: error on replay: validator set is nil in genesis and still empty after InitChain
2025/01/28 10:03:04 ERROR startup failure error="error during handshake: error on replay: validator set is nil in genesis and still empty after InitChain"

Could some one suggest what I am doing wrong?

@rgederin-dev
Copy link
Author

Hi @abi87 , maybe you could suggest what I am doing wrong here?

@nidhi-singh02
Copy link
Contributor

Hey, Thanks for reporting. This is a known issue.

For time being, can you run using export CHAIN_SPEC="devnet", I believe you should be good. I am able to run it locally on my machine.

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

2 participants