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

Enabled shared data directory with eth2 #2545

Open
arnetheduck opened this issue Aug 6, 2024 · 0 comments
Open

Enabled shared data directory with eth2 #2545

arnetheduck opened this issue Aug 6, 2024 · 0 comments
Labels
Config Command line or config file related EL

Comments

@arnetheduck
Copy link
Member

When passing --data-dir, we want to ensure that eth1 and eth2 can share the same data directory - this requires reviewing where the databases and various configuration files are located and how they are named.

In particular, options like era files, node files, JWT secrets etc have defaults that are relative to data-dir and these should be set in such a way that when the option is used by both eth1 and eth2, they should have compatible defaults

  • JWT should use the same name for the file so that on startup, it doesn't have to be specified
  • the database should not have unnecessary nesting
  • the database folder name should be based on the network name (mainnet, sepolia etc)
@jangko jangko added EL Config Command line or config file related labels Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Config Command line or config file related EL
Projects
None yet
Development

No branches or pull requests

2 participants