Mainnet fork9 upgrade guideline

Upgrade time window

Upgrade time window: 2025-01-24 02:00-14:00 UTC time.

Release notes

Latest block confirmation

fork8 last block halt number is "0x1d8e1d", you will need to ensure that your local node has synchronized to this height first.

curl http://127.0.0.1:8123/  \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"zkevm_batchNumber","params":[],"id":1,"jsonrpc":"2.0"}'

Version upgrade

  • After you confirm that your local node has synchronized to the halt number, stop and remove cdk-validium-sync / cdk-validium-json-rpc / cdk-validium-prover.

  • Add addtional index for db migration

  • Change "SyncOnlyTrusted" to "true" in node.config.toml

  • Upgrade the image version in your docker-compose.yml:

    • cdk-validium-sync: image: merlinadmin/zkevm-node:v2.1.1 change to image: merlinadmin/zkevm-node:v3.1.0

    • cdk-validium-json-rpc: image: merlinadmin/zkevm-node:v2.1.1 change to image: merlinadmin/zkevm-node:v3.1.0

    • cdk-validium-prover: image: merlinadmin/zkprover:v5.0.9 change to image: hermeznetwork/zkevm-prover:v6.0.2

  • Launch the new version of services by below steps

    • Launch prover first:

    • Launch synchronizer and then wait migrations completed:

    • Launch json-rpc:

  • Update forkId and then restart cdk-validium-sync / json-rpc

Upgrade result verification

Make sure the new synchronizer can get the new fork9 block data.

Last updated