Skip to content

This guide shares the necessary information to prepare EnergyWebChain node for the Zurich Upgrade, including required EVM client versions, the updated chainspec, and instruction to restart the node.

Notifications You must be signed in to change notification settings

energywebfoundation/zurich-upgrade-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 

Repository files navigation

EWC Zurich Upgrade

⚠️ WARNING: Read All steps before proceeding.

This guide shares the necessary information to prepare EnergyWebChain node for the Zurich Upgrade, including required EVM client versions, the updated chainspec, and instruction to restart the node.

1. Update Client Version 🔄

Ensure node is running a Zurich-compatible client version:

2. Modify Chainspec file

If using Nethermind client with flag-based configuration, run nethermind -c energyweb to load the new chainspec automatically, then proceed to step 3. Otherwise, if you are using OpenEthereum or have customly placed chainspec please follow 2.1–2.3 for manual updates.

2.1 Manual download of new Chainspec 📥

Download the latest EnergyWebChain chainspec:

2.2 Verify SHA256 checksum ✔️

echo "2bbdf8758f07cf3f33124dbde8fa66d31c169bcafc71e453e85035ca79ccfb7e EnergyWebChain.json" | sha256sum -c -

Output should be: EnergyWebChain.json: OK

2.3 Replace chainspec in appropriate directory:

  • For OpenEthereum client chainspec file normally can be found & replaced in config folder:
  ├── config
    ├── chainspec.json

In case chainspec file of your node is specified via a custom path, please update it in apropriate place accordingly.

  • For Nethermind client custom chainspec path must be specified using Init.ChainSpecPath option:
nethermind --init-chainspecpath path/to/EnergyWebChain.json

3. Restart EVM Client 🚀

Restart the EVM client service (Nethermind or OpenEthereum) to apply the upgrade changes.

4. Verify Upgrade ✅

4.1 Check Client Version on running node

curl -X POST -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}' \
  http://localhost:8545
# Response of running node of OpenEthereum
{"jsonrpc":"2.0","result":"OpenEthereum//v3.3.5-stable/x86_64-linux-musl/rustc1.59.0","id":1}

# Response of running node of Nethermind
{"jsonrpc":"2.0","result":"Nethermind/v1.31.13+1b548727/linux-x64/dotnet9.0.7","id":1}

4.2 Network Sync Status ♾️

# Check sync status
curl -X POST -H "Content-Type: application/json" \
    --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' \
    http://localhost:8545

If the response is false, the node is fully synced. If it returns an object with startingBlock, currentBlock, and highestBlock, the node is still syncing.

About

This guide shares the necessary information to prepare EnergyWebChain node for the Zurich Upgrade, including required EVM client versions, the updated chainspec, and instruction to restart the node.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published