-
Notifications
You must be signed in to change notification settings - Fork 27
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
Persist network state #23
Comments
To do that you need to separate the script into two parts, the generation of the genesis and the starting of the nodes. Then you can start the nodes and they will continue from their last persisted state, building on the genesis. Here's an example of how someone else separated the generation of the genesis https://github.com/QiLOL/ethereum-pos-testnet/blob/main/gen-genesis.sh |
@rzmahmood yep, it works |
@rzmahmood the one final thing - after I've split the script into two: init and run, the first time ( just after the first init from genesis) everything works great. But when I shut down my nodes and raise them up again (without re-generate genesis and clean db) - consensus clients fail to find execution nodes: execution clients logs:
beacon clients logs:
May be you know what could be the reason? my run script is
|
I'll have some time to try and replicate next week. Let me know if u resolve this |
@rzmahmood thank you very much. I will be very appreciated My fork of your repo is here: Supposed scenario:
|
Well, it seems this is unresolvable via some inner bug of Prysm very strange issue |
Hi there! did you fix this issue? |
It looks can't be restart a POS chain when it was shutdown. |
Hello @rzmahmood, Thank you for your awesome project. Our POS chain was started based on your project. |
I think you can put peer to Prysm/Lighthouse to help sync.
|
Hi @CoNETProject ! can you share your POS private network setup? are you running it on virtual or physical machines? |
Hi @rzmahmood @sergey-msu |
HI @lzmrd Our POS setup is a copy from @rzmahmood normal setup. We have over 30 nodes keep sync data & maintain security. |
Hi @rzmahmood
thank you for sharing your knowledge. This was extremely helpful!
But what if I want to deploy a private network with persisted state between the sessions (i.e. without clearing ./network folder)?
The text was updated successfully, but these errors were encountered: