Mainnet fork12 upgrade guideline

Upgrade time window

Upgrade time window: 2025-06-26 02:00-14:00 UTC time.

Release notes

Deployment Overview

  • Recommend using a dedicated server to separate from the fork9 JSON-RPC server.

  • Recommended configuration: CPU: 4 vCores, RAM: 32GB, Disk: 1TB, NVMe SSD. Higher IOPS and throughput performance will yield better results. It is recommended to have 250,000 IOPS and 1000 MiB/s throughput.

Deployment Steps

Prepare configuration files

docker compose file

version: "3.5"
networks:
  default:
    name: cdk-erigon
services:
  cdk-erigon-rpc:
    container_name: cdk-erigon-rpc
    image: merlinadmin/cdk-erigon:v2.0.2
    stop_grace_period: 600s
    restart: always
    environment:
      - CDK_ERIGON_SEQUENCER=0
    ports:
      - 9123:8123
      - 7990:6990
      - 9124:8124
    volumes:
      - ./erigon_config/config-rpc.yaml:/usr/src/app/config.yaml
      - ./erigon_config/dynamic-merlinmainnet-allocs.json:/usr/src/app/dynamic-merlinmainnet-allocs.json
      - ./erigon_config/dynamic-merlinmainnet-chainspec.json:/usr/src/app/dynamic-merlinmainnet-chainspec.json
      - ./erigon_config/dynamic-merlinmainnet-conf.json:/usr/src/app/dynamic-merlinmainnet-conf.json
      - ./erigon_data:/usr/src/app/data
    command: >
      --http.vhosts=* --http.corsdomain=* --ws --config=/usr/src/app/config.yaml
    logging:
        options:
          max-size: "1g"
          max-file: "3"

config-rpc.yaml

Static configurations

Snapshot

Download erigon data snapshot

Launch erigon

  • Ensure that the erigon-config and erigon-data directories are consistent with the volumes configuration in docker-compose.yml.

Last updated