Migrating from Geth | Nethermind documentation (2024)

This guide will walk you through all the steps required for a seamless and quick transition.

First, ensure the disk has enough space. The most secure way is having a Nethermind synced on the same machine as Geth without shutting Geth down. That allows you to check whether Nethermind is syncing properly, verify whether everything works as expected, and reduce node downtime to a bare minimum. This is a recommended approach for any public JSON-RPC provider or a validator.

  • If the disk has enough space, option 1 or option 2 are the recommended choices.
  • If there is not enough disk space, and downtime is not an option, we recommend either extending the disk or, if not possible, hosting Nethermind on another machine, syncing it, and whenever it completes, moving everything validator-related to that machine, and abandoning the first one.
  • If downtime of around 12 hours or more is not a problem, see the option 3.

Option 1: Sync Nethermind next to Geth

First, install Nethermind and a consensus client of your choice.

warning

  • If you choose the same consensus client for Nethermind that is already being used with Geth, ensure their settings, such as data directories, do not interfere.
  • Ensure the network ports of the consensus client paired with Nethermind and the one paired with Geth do not interfere with each other.
  • Ensure the JSON-RPC port, Engine API port, and the P2P networking ports of Nethermind are different from the ones used by Geth. These ports are set using the following command line options:
    • --JsonRpc.Port <port>
    • --JsonRpc.EnginePort <port>
    • --Network.DiscoveryPort <port>
    • --Network.P2PPort <port>

Once you fulfill the above requirements, you can start syncing Nethermind. To check the sync status, use the eth_syncing JSON-RPC method. When it returns false, Nethermind is considered fully synced with all block bodies and receipts needed to work properly as a validator. Another option to monitor the sync is a health check.

Once Nethermind is synced, shut down both Geth and Nethermind, along with its paired consensus client. Then, restart Nethermind using the ports assigned for and the JWT secret used by Geth before. Ensure no warnings or errors are present in the logs of both Nethermind and the consensus client. Also, check if Nethermind is following the chain properly. If everything is alright, you can remove Geth and the consensus client paired with Nethermind previously along with their data.

Option 2: Sync Nethermind using Sedge next to Geth

Sedge is a setup tool for PoS validators and nodes that runs on Linux and macOS.

This option is similar to the option 1, but Sedge automatically takes care of conflicting settings making the entire process much easier.

tip

You can add a flag to Sedge as follows. For instance:

  • For the execution client, --el-extra-flag JsonRpc.Port=8546
  • For the consensus client, --cl-extra-flag rpc-port=4001

Once Nethermind is synced, you can remove extra flags if any from the docker-compose.yml and restart the node as follows:

docker compose stop execution
docker compose up -d execution

Option 3: Remove Geth and sync Nethermind

This is the simplest option as it doesn't require configuration adjustments. However, the node will be down until Nethermind is syncing.

  • Shut down and remove Geth along with its data.
  • Install Nethermind
  • Ensure Nethermind uses the same network ports as Geth before and the same JWT secret. Otherwise, you must reconfigure the consensus client to the Nethermind settings.

Once you fulfill the above requirements, you can start syncing Nethermind. While Nethermid is syncing, ensure no errors are present in the logs of both Nethermind and the consensus client. Note that sync may take a while, depending on the chain. Also, you can periodically check the eth_syncing JSON-RPC method or the health check.

Migrating from Geth | Nethermind documentation (2024)
Top Articles
Phantom Wallet: Everything You Need To Know
I can't find my bank to connect. What do I do? | Yotta Saving Help Center
Safety Jackpot Login
Blorg Body Pillow
Genesis Parsippany
Trevor Goodwin Obituary St Cloud
Ffxiv Shelfeye Reaver
Combat level
Tyson Employee Paperless
Repentance (2 Corinthians 7:10) – West Palm Beach church of Christ
Driving Directions To Fedex
How to change your Android phone's default Google account
Comcast Xfinity Outage in Kipton, Ohio
Nordstrom Rack Glendale Photos
craigslist: south coast jobs, apartments, for sale, services, community, and events
Www Craigslist Louisville
Paula Deen Italian Cream Cake
The Haunted Drury Hotels of San Antonio’s Riverwalk
Lesson 3 Homework Practice Measures Of Variation Answer Key
Youtube Combe
Moe Gangat Age
Simon Montefiore artikelen kopen? Alle artikelen online
Hartland Liquidation Oconomowoc
Viha Email Login
Saatva Memory Foam Hybrid mattress review 2024
13301 South Orange Blossom Trail
Cal State Fullerton Titan Online
8002905511
Craigslist Gigs Norfolk
Phone number detective
Palmadise Rv Lot
2012 Street Glide Blue Book Value
Seymour Johnson AFB | MilitaryINSTALLATIONS
Orangetheory Northville Michigan
Naya Padkar Newspaper Today
The Blackening Showtimes Near Regal Edwards Santa Maria & Rpx
Los Garroberros Menu
Mckinley rugzak - Mode accessoires kopen? Ruime keuze
All Obituaries | Sneath Strilchuk Funeral Services | Funeral Home Roblin Dauphin Ste Rose McCreary MB
Chathuram Movie Download
Valls family wants to build a hotel near Versailles Restaurant
Citizens Bank Park - Clio
About Us
Top 1,000 Girl Names for Your Baby Girl in 2024 | Pampers
8 4 Study Guide And Intervention Trigonometry
Theater X Orange Heights Florida
Skyward Login Wylie Isd
Tommy Gold Lpsg
Marion City Wide Garage Sale 2023
Bomgas Cams
Tamilyogi Cc
Ff14 Palebloom Kudzu Cloth
Latest Posts
Article information

Author: Rob Wisoky

Last Updated:

Views: 6054

Rating: 4.8 / 5 (48 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Rob Wisoky

Birthday: 1994-09-30

Address: 5789 Michel Vista, West Domenic, OR 80464-9452

Phone: +97313824072371

Job: Education Orchestrator

Hobby: Lockpicking, Crocheting, Baton twirling, Video gaming, Jogging, Whittling, Model building

Introduction: My name is Rob Wisoky, I am a smiling, helpful, encouraging, zealous, energetic, faithful, fantastic person who loves writing and wants to share my knowledge and understanding with you.