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

Add 'chain' flag to start node from custom genesis.json without init cmd #382

Open
wants to merge 1 commit into
base: optimism
Choose a base branch
from

Conversation

ferranbt
Copy link
Contributor

Description

This PR adds a new flag --chain <genesis.json> to the geth command. If set, geth will load the genesis from the provided JSON file. With this PR, it is not necessary anymore to run geth init to start a chain for a custom network.

Thus, it simplifies both the DevEx and the containerization of the EL node.

Tests

Please describe any tests you've added. If you've added no tests, or left important behavior untested, please explain why not.

Additional context

Add any other context about the problem you're solving.

Metadata

  • Fixes #[Link to Issue]

@ferranbt ferranbt requested a review from a team as a code owner September 20, 2024 09:48
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

Successfully merging this pull request may close these issues.

1 participant