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

Prevent loading an existing data directory which was created for the wrong network #2820

Closed
arnetheduck opened this issue Nov 1, 2024 · 0 comments · Fixed by #2825
Closed
Labels

Comments

@arnetheduck
Copy link
Member

The easiest check here is that genesis matches expectations but storing the network id would also be a way forward - otherwise, it's possible to start the application on a data-dir created for mainnet while launching with --network:xxx and it'll boot up without any issues, but newPayload will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants