Skip to content

feat(l1): add mainnet as preset network #2459

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

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

feat(l1): add mainnet as preset network #2459

wants to merge 1 commit into from

Conversation

fmoletta
Copy link
Contributor

@fmoletta fmoletta commented Apr 14, 2025

Motivation
Adds mainnet bootnodes & genesis file so we can connect to mainnet by passing --network mainnet

Description

  • add mainnet bootnodes & genesis file
  • recognize mainnet as preset network
  • update docs

Contributes to #72

Notes
Mainnet genesis file is quite large, it is copied from here

Copy link

Lines of code report

Total lines added: 13
Total lines removed: 0
Total lines changed: 13

Detailed view
+-----------------------------------+-------+------+
| File                              | Lines | Diff |
+-----------------------------------+-------+------+
| ethrex/cmd/ethrex/initializers.rs | 345   | +7   |
+-----------------------------------+-------+------+
| ethrex/cmd/ethrex/networks.rs     | 28    | +6   |
+-----------------------------------+-------+------+

@fmoletta fmoletta marked this pull request as ready for review April 14, 2025 19:48
@fmoletta fmoletta requested a review from a team as a code owner April 14, 2025 19: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.

2 participants