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

local-testnet persistency #6123

Closed
lzmrd opened this issue Jul 17, 2024 · 6 comments
Closed

local-testnet persistency #6123

lzmrd opened this issue Jul 17, 2024 · 6 comments

Comments

@lzmrd
Copy link

lzmrd commented Jul 17, 2024

Description

I'm trying to setting up a private network, using this repo as starting point. I can start it up with the command ./start_local_testnet but when I stop it I loose all the data. I need my data to be persistent.

Version

Lighthouse v5.1.3-3058b96+
Rustup: 1.27.1 (released on April 24, 2024)
Rustc (Rust Compiler): 1.78.0 (released on April 29, 2024)
Geth
Version: 1.14.3-stable
Git Commit: ab48ba42f4f34873d65fd1737fabac5c680baff6
Git Commit Date: 20240509
Architecture: amd64
Go Version: go1.22.3
Operating System: linux

@michaelsproul
Copy link
Member

we don't provide support on running your own chain or private networks, you'll have to figure it out

@michaelsproul michaelsproul closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2024
@lzmrd
Copy link
Author

lzmrd commented Jul 17, 2024

Ok, but why?? I thought that Web3 mood was to share knowledge. U can work on closed source projects if you prefer @michaelsproul

@michaelsproul
Copy link
Member

you don't have any entitlement to my time and effort

@lzmrd
Copy link
Author

lzmrd commented Jul 17, 2024

Yeah bro, but calm down. I haven't tagged your profile. I don't even know who you are! I've just opened an issue, like anyone else would. If you don't want to answer, it doesn't mean no one else will. I really can't understand your behavior.

@michaelsproul
Copy link
Member

I'm sorry for responding harshly. We get a lot of people showing up and wanting help running private networks, and we (SigP Lighthouse devs) have adopted a policy of not helping in these cases because:

  1. It is very time consuming to debug private networks, especially once the author starts making changes beyond what our scripts do.
  2. Helping people debug their private networks deprives them of the skills they'll need to maintain it once it's running. If you are launching a new blockchain based on Lighthouse you need to be able to dig into the code and solve problems for yourself.
  3. Unless the private network is stress-testing Lighthouse or the protocol, it is of little of value for Ethereum.

Your specific question about persisting data is the sort of thing that I don't think is useful to us when testing, and is only useful for running private networks.

The v5.1.3 local testnet scripts are also completely unsupported since we merged this PR to simplify maintenance:

You could check out the new scripts, which are based on Kurtosis, and see if you can get something that suits your usecase.

@lzmrd
Copy link
Author

lzmrd commented Jul 18, 2024

Ok, now I understand your point and it makes sense. Thank you for explaining.

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