From f1661bd650d3afe294ff53921bd999ebaad62f87 Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Sun, 5 Jul 2026 09:37:06 +0000 Subject: [PATCH] op/bnb,op/manta-pacific,op/blast: remove non-migratable kona compose profiles Custom op-node forks on these chains cannot run kona-node; drop the orphaned --kona.yml compose files and registry entries. Co-authored-by: Cursor --- compose_registry.json | 169 +-------------- ...net-op-geth-archive-leveldb-hash--kona.yml | 198 ----------------- ...nnet-op-geth-archive-pebble-hash--kona.yml | 198 ----------------- ...innet-op-geth-pruned-pebble-path--kona.yml | 200 ------------------ ...polia-op-geth-pruned-pebble-hash--kona.yml | 198 ----------------- ...net-op-geth-archive-leveldb-hash--kona.yml | 197 ----------------- ...innet-op-geth-pruned-pebble-path--kona.yml | 200 ------------------ ...net-op-geth-archive-leveldb-hash--kona.yml | 197 ----------------- ...stnet-op-geth-pruned-pebble-path--kona.yml | 200 ------------------ ...nnet-op-geth-archive-pebble-hash--kona.yml | 198 ----------------- 10 files changed, 8 insertions(+), 1947 deletions(-) delete mode 100644 op/geth/blast-mainnet-op-geth-archive-leveldb-hash--kona.yml delete mode 100644 op/geth/blast-mainnet-op-geth-archive-pebble-hash--kona.yml delete mode 100644 op/geth/blast-mainnet-op-geth-pruned-pebble-path--kona.yml delete mode 100644 op/geth/blast-sepolia-op-geth-pruned-pebble-hash--kona.yml delete mode 100644 op/geth/bnb-mainnet-op-geth-archive-leveldb-hash--kona.yml delete mode 100644 op/geth/bnb-mainnet-op-geth-pruned-pebble-path--kona.yml delete mode 100644 op/geth/bnb-testnet-op-geth-archive-leveldb-hash--kona.yml delete mode 100644 op/geth/bnb-testnet-op-geth-pruned-pebble-path--kona.yml delete mode 100644 op/geth/manta-pacific-mainnet-op-geth-archive-pebble-hash--kona.yml diff --git a/compose_registry.json b/compose_registry.json index 61de9b37..c8a5939e 100644 --- a/compose_registry.json +++ b/compose_registry.json @@ -4628,23 +4628,6 @@ "base-sepolia-op-geth-pruned-pebble-path" ] }, - { - "chain": "mainnet", - "client": "geth", - "compose_file": "op/geth/blast-mainnet-op-geth-archive-leveldb-hash--kona", - "features": [ - "hash", - "pebble" - ], - "network": "blast", - "node": "kona", - "relay": null, - "stack": "op", - "type": "archive", - "volumes": [ - "blast-mainnet-op-geth-archive-leveldb-hash" - ] - }, { "chain": "mainnet", "client": "geth", @@ -4654,7 +4637,7 @@ "pebble" ], "network": "blast", - "node": "kona", + "node": "node", "relay": null, "stack": "op", "type": "archive", @@ -4662,23 +4645,6 @@ "blast-mainnet-op-geth-archive-leveldb-hash" ] }, - { - "chain": "mainnet", - "client": "geth", - "compose_file": "op/geth/blast-mainnet-op-geth-archive-pebble-hash--kona", - "features": [ - "hash", - "pebble" - ], - "network": "blast", - "node": "kona", - "relay": null, - "stack": "op", - "type": "archive", - "volumes": [ - "blast-mainnet-op-geth-archive-pebble-hash" - ] - }, { "chain": "mainnet", "client": "geth", @@ -4688,7 +4654,7 @@ "pebble" ], "network": "blast", - "node": "kona", + "node": "node", "relay": null, "stack": "op", "type": "archive", @@ -4696,23 +4662,6 @@ "blast-mainnet-op-geth-archive-pebble-hash" ] }, - { - "chain": "mainnet", - "client": "geth", - "compose_file": "op/geth/blast-mainnet-op-geth-pruned-pebble-path--kona", - "features": [ - "path", - "pebble" - ], - "network": "blast", - "node": "kona", - "relay": null, - "stack": "op", - "type": "pruned", - "volumes": [ - "blast-mainnet-op-geth-pruned-pebble-path" - ] - }, { "chain": "mainnet", "client": "geth", @@ -4722,7 +4671,7 @@ "pebble" ], "network": "blast", - "node": "kona", + "node": "node", "relay": null, "stack": "op", "type": "pruned", @@ -4730,23 +4679,6 @@ "blast-mainnet-op-geth-pruned-pebble-path" ] }, - { - "chain": "sepolia", - "client": "geth", - "compose_file": "op/geth/blast-sepolia-op-geth-pruned-pebble-hash--kona", - "features": [ - "hash", - "pebble" - ], - "network": "blast", - "node": "kona", - "relay": null, - "stack": "op", - "type": "pruned", - "volumes": [ - "blast-sepolia-op-geth-pruned-pebble-hash" - ] - }, { "chain": "sepolia", "client": "geth", @@ -4756,7 +4688,7 @@ "pebble" ], "network": "blast", - "node": "kona", + "node": "node", "relay": null, "stack": "op", "type": "pruned", @@ -4764,23 +4696,6 @@ "blast-sepolia-op-geth-pruned-pebble-hash" ] }, - { - "chain": "mainnet", - "client": "geth", - "compose_file": "op/geth/bnb-mainnet-op-geth-archive-leveldb-hash--kona", - "features": [ - "hash", - "leveldb" - ], - "network": "bnb", - "node": "kona", - "relay": null, - "stack": "op", - "type": "archive", - "volumes": [ - "bnb-mainnet-op-geth-archive-leveldb-hash" - ] - }, { "chain": "mainnet", "client": "geth", @@ -4790,7 +4705,7 @@ "leveldb" ], "network": "bnb", - "node": "kona", + "node": "node", "relay": null, "stack": "op", "type": "archive", @@ -4798,23 +4713,6 @@ "bnb-mainnet-op-geth-archive-leveldb-hash" ] }, - { - "chain": "mainnet", - "client": "geth", - "compose_file": "op/geth/bnb-mainnet-op-geth-pruned-pebble-path--kona", - "features": [ - "path", - "pebble" - ], - "network": "bnb", - "node": "kona", - "relay": null, - "stack": "op", - "type": "pruned", - "volumes": [ - "bnb-mainnet-op-geth-pruned-pebble-path" - ] - }, { "chain": "mainnet", "client": "geth", @@ -4824,7 +4722,7 @@ "pebble" ], "network": "bnb", - "node": "kona", + "node": "node", "relay": null, "stack": "op", "type": "pruned", @@ -4832,23 +4730,6 @@ "bnb-mainnet-op-geth-pruned-pebble-path" ] }, - { - "chain": "testnet", - "client": "geth", - "compose_file": "op/geth/bnb-testnet-op-geth-archive-leveldb-hash--kona", - "features": [ - "hash", - "leveldb" - ], - "network": "bnb", - "node": "kona", - "relay": null, - "stack": "op", - "type": "archive", - "volumes": [ - "bnb-testnet-op-geth-archive-leveldb-hash" - ] - }, { "chain": "testnet", "client": "geth", @@ -4858,7 +4739,7 @@ "leveldb" ], "network": "bnb", - "node": "kona", + "node": "node", "relay": null, "stack": "op", "type": "archive", @@ -4866,23 +4747,6 @@ "bnb-testnet-op-geth-archive-leveldb-hash" ] }, - { - "chain": "testnet", - "client": "geth", - "compose_file": "op/geth/bnb-testnet-op-geth-pruned-pebble-path--kona", - "features": [ - "path", - "pebble" - ], - "network": "bnb", - "node": "kona", - "relay": null, - "stack": "op", - "type": "pruned", - "volumes": [ - "bnb-testnet-op-geth-pruned-pebble-path" - ] - }, { "chain": "testnet", "client": "geth", @@ -4892,7 +4756,7 @@ "pebble" ], "network": "bnb", - "node": "kona", + "node": "node", "relay": null, "stack": "op", "type": "pruned", @@ -5897,23 +5761,6 @@ "lisk-sepolia-op-geth-pruned-pebble-path" ] }, - { - "chain": "pacific-mainnet", - "client": "geth", - "compose_file": "op/geth/manta-pacific-mainnet-op-geth-archive-pebble-hash--kona", - "features": [ - "hash", - "pebble" - ], - "network": "manta", - "node": "kona", - "relay": null, - "stack": "op", - "type": "archive", - "volumes": [ - "manta-pacific-mainnet-op-geth-archive-pebble-hash" - ] - }, { "chain": "pacific-mainnet", "client": "geth", diff --git a/op/geth/blast-mainnet-op-geth-archive-leveldb-hash--kona.yml b/op/geth/blast-mainnet-op-geth-archive-leveldb-hash--kona.yml deleted file mode 100644 index 7a95aaad..00000000 --- a/op/geth/blast-mainnet-op-geth-archive-leveldb-hash--kona.yml +++ /dev/null @@ -1,198 +0,0 @@ ---- -x-logging-defaults: &logging-defaults - driver: json-file - options: - max-size: "10m" - max-file: "3" - -# Usage: -# -# mkdir rpc && cd rpc -# -# git init -# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git -# git fetch origin vibe -# git checkout origin/vibe -# -# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret -# -# env -# ... -# IP=$(curl ipinfo.io/ip) -# DOMAIN=${IP}.traefik.me -# COMPOSE_FILE=base.yml:rpc.yml:op/geth/blast-mainnet-op-geth-archive-leveldb-hash--kona.yml -# -# docker compose up -d -# -# curl -X POST https://${IP}.traefik.me/blast-mainnet-archive \ -# -H "Content-Type: application/json" \ -# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' - -services: - blast-mainnet-archive: - image: ${BLAST_GETH_IMAGE:-blastio/blast-geth}:${BLAST_MAINNET_GETH_VERSION:-mainnet-v1.8.0} - sysctls: - # TCP Performance - net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle - net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache - net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers - net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers - net.core.somaxconn: 32768 # Higher connection queue - # Memory/Connection Management - # net.core.netdev_max_backlog: 50000 # Increase network buffer - net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests - net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets - ulimits: - nofile: 1048576 # Max open files (for RPC/WS connections) - user: root - expose: - - 8545 - - 6060 - - 8551 - environment: - - GETH_OVERRIDE_CANYON=0 - - GETH_OVERRIDE_ECOTONE=1716843599 - - GETH_OVERRIDE_TAIGA=1746612311 - - GETH_ROLLUP_DISABLETXPOOLGOSSIP=true - - GETH_ROLLUP_SEQUENCERHTTP=https://sequencer.blast.io - entrypoint: /bin/sh -c '[ -f /config/genesis.json ] && geth --db.engine=leveldb --gcmode=archive --datadir /data init --state.scheme=hash /config/genesis.json; exec geth "$@"' -- - command: - - --datadir=/data - - --db.engine=leveldb - - --gcmode=archive - - --maxpeers=50 - - --metrics - - --metrics.addr=0.0.0.0 - - --metrics.port=6060 - - --networkid=81457 - - --nodiscover - - --rpc.gascap=600000000 - - --rpc.txfeecap=0 - - --state.scheme=hash - - --syncmode=full - - --http - - --http.addr=0.0.0.0 - - --http.api=eth,net,web3,debug,admin,txpool,engine - - --http.port=8545 - - --http.vhosts=* - - --ws - - --ws.addr=0.0.0.0 - - --ws.api=eth,net,web3,debug,admin,txpool,engine - - --ws.origins=* - - --ws.port=8545 - - --authrpc.addr=0.0.0.0 - - --authrpc.jwtsecret=/jwtsecret - - --authrpc.vhosts=* - restart: unless-stopped - stop_grace_period: 5m - networks: - - chains - volumes: - - ${BLAST_MAINNET_OP_GETH_ARCHIVE_LEVELDB_HASH_DATA:-blast-mainnet-op-geth-archive-leveldb-hash}:/data - - ./op/blast/mainnet:/config - - .jwtsecret:/jwtsecret:ro - - /slowdisk:/slowdisk - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=6060 - - prometheus-scrape.path=/debug/metrics/prometheus - - traefik.enable=true - - traefik.http.middlewares.blast-mainnet-op-geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/blast-mainnet-archive - - traefik.http.services.blast-mainnet-op-geth-archive-leveldb-hash.loadbalancer.server.port=8545 - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-archive-leveldb-hash.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-archive-leveldb-hash.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-archive-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/blast-mainnet-archive`) || Path(`/blast-mainnet-archive/`))} - - ${NO_SSL:+traefik.http.routers.blast-mainnet-op-geth-archive-leveldb-hash.rule=Path(`/blast-mainnet-archive`) || Path(`/blast-mainnet-archive/`)} - - traefik.http.routers.blast-mainnet-op-geth-archive-leveldb-hash.middlewares=blast-mainnet-op-geth-archive-leveldb-hash-stripprefix, ipallowlist - - blast-mainnet-archive-node: - image: ${BLAST_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${BLAST_MAINNET_KONA_VERSION:-v1.6.1} - ports: - - 15683:15683 - - 15683:15683/udp - environment: - - KONA_METRICS_ADDR=0.0.0.0 - - KONA_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST} - - KONA_NODE_L1_ETH_RPC=${BLAST_MAINNET_L1_EXECUTION_RPC:-${ETHEREUM_MAINNET_EXECUTION_RPC}} - - KONA_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false} - - KONA_NODE_L2_CHAIN_ID=81457 - - KONA_NODE_L2_ENGINE_AUTH=/jwtsecret - - KONA_NODE_L2_ENGINE_RPC=http://blast-mainnet-archive:8551 - - KONA_NODE_L2_ENGINE_TIMEOUT=120000 - - KONA_NODE_L2_TRUST_RPC=true - - KONA_NODE_METRICS_PORT=7300 - - KONA_NODE_MODE=Validator - - KONA_NODE_P2P_ADVERTISE_IP=${IP} - - KONA_NODE_P2P_BOOTNODES=enr:-J64QGwHl9uYLfC_cnmxSA6wQH811nkOWJDWjzxqkEUlJoZHWvI66u-BXgVcPCeMUmg0dBpFQAPotFchG67FHJMZ9OSGAY3d6wevgmlkgnY0gmlwhANizeSHb3BzdGFja4Sx_AQAiXNlY3AyNTZrMaECg4pk0cskPAyJ7pOmo9E6RqGBwV-Lex4VS9a3MQvu7PWDdGNwgnZhg3VkcIJ2YQ,enr:-J64QDge2jYBQtcNEpRqmKfci5E5BHAhNBjgv4WSdwH1_wPqbueq2bDj38-TSW8asjy5lJj1Xftui6Or8lnaYFCqCI-GAY3d6wf3gmlkgnY0gmlwhCO2D9yHb3BzdGFja4Sx_AQAiXNlY3AyNTZrMaEDo4aCTq7pCEN8om9U5n_VyWdambGnQhwHNwKc8o-OicaDdGNwgnZhg3VkcIJ2YQ - - KONA_NODE_P2P_LISTEN_IP=0.0.0.0 - - KONA_NODE_P2P_LISTEN_TCP_PORT=15683 - - KONA_NODE_P2P_LISTEN_UDP_PORT=15683 - - KONA_NODE_RPC_ADDR=0.0.0.0 - - KONA_NODE_RPC_PORT=9545 - entrypoint: [kona-node, node] - restart: unless-stopped - depends_on: - blast-mainnet-archive: - condition: service_started - restart: true - networks: - - chains - volumes: - - ./op/blast/mainnet:/config - - .jwtsecret:/jwtsecret:ro - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=7300 - - prometheus-scrape.path=/metrics - - traefik.enable=true - - traefik.http.middlewares.blast-mainnet-op-geth-archive-leveldb-hash-node-stripprefix.stripprefix.prefixes=/blast-mainnet-archive/node - - traefik.http.services.blast-mainnet-op-geth-archive-leveldb-hash-node.loadbalancer.server.port=9545 - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-archive-leveldb-hash-node.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-archive-leveldb-hash-node.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-archive-leveldb-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/blast-mainnet-archive/node`)} - - ${NO_SSL:+traefik.http.routers.blast-mainnet-op-geth-archive-leveldb-hash-node.rule=PathPrefix(`/blast-mainnet-archive/node`)} - - traefik.http.routers.blast-mainnet-op-geth-archive-leveldb-hash-node.middlewares=blast-mainnet-op-geth-archive-leveldb-hash-node-stripprefix, ipallowlist - -volumes: - blast-mainnet-op-geth-archive-leveldb-hash: - -x-upstreams: - - id: $${ID} - labels: - provider: $${PROVIDER} - connection: - generic: - rpc: - url: $${RPC_URL} - ws: - frameSize: 20Mb - msgSize: 50Mb - url: $${WS_URL} - chain: blast - method-groups: - enabled: - - debug - - filter - methods: - disabled: - enabled: - - name: txpool_content # TODO: should be disabled for rollup nodes - # standard geth only - - name: debug_getRawBlock - - name: debug_getRawTransaction - - name: debug_getRawReceipts - - name: debug_getRawHeader - - name: debug_getBadBlocks - # non standard geth only slightly dangerous - - name: debug_intermediateRoots - - name: debug_dumpBlock - # standard geth and erigon - - name: debug_accountRange - - name: debug_getModifiedAccountsByNumber - - name: debug_getModifiedAccountsByHash - # non standard geth and erigon - - name: eth_getRawTransactionByHash - - name: eth_getRawTransactionByBlockHashAndIndex -... \ No newline at end of file diff --git a/op/geth/blast-mainnet-op-geth-archive-pebble-hash--kona.yml b/op/geth/blast-mainnet-op-geth-archive-pebble-hash--kona.yml deleted file mode 100644 index 5814d0d2..00000000 --- a/op/geth/blast-mainnet-op-geth-archive-pebble-hash--kona.yml +++ /dev/null @@ -1,198 +0,0 @@ ---- -x-logging-defaults: &logging-defaults - driver: json-file - options: - max-size: "10m" - max-file: "3" - -# Usage: -# -# mkdir rpc && cd rpc -# -# git init -# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git -# git fetch origin vibe -# git checkout origin/vibe -# -# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret -# -# env -# ... -# IP=$(curl ipinfo.io/ip) -# DOMAIN=${IP}.traefik.me -# COMPOSE_FILE=base.yml:rpc.yml:op/geth/blast-mainnet-op-geth-archive-pebble-hash--kona.yml -# -# docker compose up -d -# -# curl -X POST https://${IP}.traefik.me/blast-mainnet-archive \ -# -H "Content-Type: application/json" \ -# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' - -services: - blast-mainnet-archive: - image: ${BLAST_GETH_IMAGE:-blastio/blast-geth}:${BLAST_MAINNET_GETH_VERSION:-mainnet-v1.8.0} - sysctls: - # TCP Performance - net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle - net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache - net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers - net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers - net.core.somaxconn: 32768 # Higher connection queue - # Memory/Connection Management - # net.core.netdev_max_backlog: 50000 # Increase network buffer - net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests - net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets - ulimits: - nofile: 1048576 # Max open files (for RPC/WS connections) - user: root - expose: - - 8545 - - 6060 - - 8551 - environment: - - GETH_OVERRIDE_CANYON=0 - - GETH_OVERRIDE_ECOTONE=1716843599 - - GETH_OVERRIDE_TAIGA=1746612311 - - GETH_ROLLUP_DISABLETXPOOLGOSSIP=true - - GETH_ROLLUP_SEQUENCERHTTP=https://sequencer.blast.io - entrypoint: /bin/sh -c '[ -f /config/genesis.json ] && geth --db.engine=pebble --gcmode=archive --datadir /data init --state.scheme=hash /config/genesis.json; exec geth "$@"' -- - command: - - --datadir=/data - - --db.engine=pebble - - --gcmode=archive - - --maxpeers=50 - - --metrics - - --metrics.addr=0.0.0.0 - - --metrics.port=6060 - - --networkid=81457 - - --nodiscover - - --rpc.gascap=600000000 - - --rpc.txfeecap=0 - - --state.scheme=hash - - --syncmode=full - - --http - - --http.addr=0.0.0.0 - - --http.api=eth,net,web3,debug,admin,txpool,engine - - --http.port=8545 - - --http.vhosts=* - - --ws - - --ws.addr=0.0.0.0 - - --ws.api=eth,net,web3,debug,admin,txpool,engine - - --ws.origins=* - - --ws.port=8545 - - --authrpc.addr=0.0.0.0 - - --authrpc.jwtsecret=/jwtsecret - - --authrpc.vhosts=* - restart: unless-stopped - stop_grace_period: 5m - networks: - - chains - volumes: - - ${BLAST_MAINNET_OP_GETH_ARCHIVE_PEBBLE_HASH_DATA:-blast-mainnet-op-geth-archive-pebble-hash}:/data - - ./op/blast/mainnet:/config - - .jwtsecret:/jwtsecret:ro - - /slowdisk:/slowdisk - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=6060 - - prometheus-scrape.path=/debug/metrics/prometheus - - traefik.enable=true - - traefik.http.middlewares.blast-mainnet-op-geth-archive-pebble-hash-stripprefix.stripprefix.prefixes=/blast-mainnet-archive - - traefik.http.services.blast-mainnet-op-geth-archive-pebble-hash.loadbalancer.server.port=8545 - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-archive-pebble-hash.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-archive-pebble-hash.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-archive-pebble-hash.rule=Host(`$DOMAIN`) && (Path(`/blast-mainnet-archive`) || Path(`/blast-mainnet-archive/`))} - - ${NO_SSL:+traefik.http.routers.blast-mainnet-op-geth-archive-pebble-hash.rule=Path(`/blast-mainnet-archive`) || Path(`/blast-mainnet-archive/`)} - - traefik.http.routers.blast-mainnet-op-geth-archive-pebble-hash.middlewares=blast-mainnet-op-geth-archive-pebble-hash-stripprefix, ipallowlist - - blast-mainnet-archive-node: - image: ${BLAST_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${BLAST_MAINNET_KONA_VERSION:-v1.6.1} - ports: - - 15287:15287 - - 15287:15287/udp - environment: - - KONA_METRICS_ADDR=0.0.0.0 - - KONA_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST} - - KONA_NODE_L1_ETH_RPC=${BLAST_MAINNET_L1_EXECUTION_RPC:-${ETHEREUM_MAINNET_EXECUTION_RPC}} - - KONA_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false} - - KONA_NODE_L2_CHAIN_ID=81457 - - KONA_NODE_L2_ENGINE_AUTH=/jwtsecret - - KONA_NODE_L2_ENGINE_RPC=http://blast-mainnet-archive:8551 - - KONA_NODE_L2_ENGINE_TIMEOUT=120000 - - KONA_NODE_L2_TRUST_RPC=true - - KONA_NODE_METRICS_PORT=7300 - - KONA_NODE_MODE=Validator - - KONA_NODE_P2P_ADVERTISE_IP=${IP} - - KONA_NODE_P2P_BOOTNODES=enr:-J64QGwHl9uYLfC_cnmxSA6wQH811nkOWJDWjzxqkEUlJoZHWvI66u-BXgVcPCeMUmg0dBpFQAPotFchG67FHJMZ9OSGAY3d6wevgmlkgnY0gmlwhANizeSHb3BzdGFja4Sx_AQAiXNlY3AyNTZrMaECg4pk0cskPAyJ7pOmo9E6RqGBwV-Lex4VS9a3MQvu7PWDdGNwgnZhg3VkcIJ2YQ,enr:-J64QDge2jYBQtcNEpRqmKfci5E5BHAhNBjgv4WSdwH1_wPqbueq2bDj38-TSW8asjy5lJj1Xftui6Or8lnaYFCqCI-GAY3d6wf3gmlkgnY0gmlwhCO2D9yHb3BzdGFja4Sx_AQAiXNlY3AyNTZrMaEDo4aCTq7pCEN8om9U5n_VyWdambGnQhwHNwKc8o-OicaDdGNwgnZhg3VkcIJ2YQ - - KONA_NODE_P2P_LISTEN_IP=0.0.0.0 - - KONA_NODE_P2P_LISTEN_TCP_PORT=15287 - - KONA_NODE_P2P_LISTEN_UDP_PORT=15287 - - KONA_NODE_RPC_ADDR=0.0.0.0 - - KONA_NODE_RPC_PORT=9545 - entrypoint: [kona-node, node] - restart: unless-stopped - depends_on: - blast-mainnet-archive: - condition: service_started - restart: true - networks: - - chains - volumes: - - ./op/blast/mainnet:/config - - .jwtsecret:/jwtsecret:ro - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=7300 - - prometheus-scrape.path=/metrics - - traefik.enable=true - - traefik.http.middlewares.blast-mainnet-op-geth-archive-pebble-hash-node-stripprefix.stripprefix.prefixes=/blast-mainnet-archive/node - - traefik.http.services.blast-mainnet-op-geth-archive-pebble-hash-node.loadbalancer.server.port=9545 - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-archive-pebble-hash-node.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-archive-pebble-hash-node.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-archive-pebble-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/blast-mainnet-archive/node`)} - - ${NO_SSL:+traefik.http.routers.blast-mainnet-op-geth-archive-pebble-hash-node.rule=PathPrefix(`/blast-mainnet-archive/node`)} - - traefik.http.routers.blast-mainnet-op-geth-archive-pebble-hash-node.middlewares=blast-mainnet-op-geth-archive-pebble-hash-node-stripprefix, ipallowlist - -volumes: - blast-mainnet-op-geth-archive-pebble-hash: - -x-upstreams: - - id: $${ID} - labels: - provider: $${PROVIDER} - connection: - generic: - rpc: - url: $${RPC_URL} - ws: - frameSize: 20Mb - msgSize: 50Mb - url: $${WS_URL} - chain: blast - method-groups: - enabled: - - debug - - filter - methods: - disabled: - enabled: - - name: txpool_content # TODO: should be disabled for rollup nodes - # standard geth only - - name: debug_getRawBlock - - name: debug_getRawTransaction - - name: debug_getRawReceipts - - name: debug_getRawHeader - - name: debug_getBadBlocks - # non standard geth only slightly dangerous - - name: debug_intermediateRoots - - name: debug_dumpBlock - # standard geth and erigon - - name: debug_accountRange - - name: debug_getModifiedAccountsByNumber - - name: debug_getModifiedAccountsByHash - # non standard geth and erigon - - name: eth_getRawTransactionByHash - - name: eth_getRawTransactionByBlockHashAndIndex -... \ No newline at end of file diff --git a/op/geth/blast-mainnet-op-geth-pruned-pebble-path--kona.yml b/op/geth/blast-mainnet-op-geth-pruned-pebble-path--kona.yml deleted file mode 100644 index faf0743f..00000000 --- a/op/geth/blast-mainnet-op-geth-pruned-pebble-path--kona.yml +++ /dev/null @@ -1,200 +0,0 @@ ---- -x-logging-defaults: &logging-defaults - driver: json-file - options: - max-size: "10m" - max-file: "3" - -# Usage: -# -# mkdir rpc && cd rpc -# -# git init -# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git -# git fetch origin vibe -# git checkout origin/vibe -# -# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret -# -# env -# ... -# IP=$(curl ipinfo.io/ip) -# DOMAIN=${IP}.traefik.me -# COMPOSE_FILE=base.yml:rpc.yml:op/geth/blast-mainnet-op-geth-pruned-pebble-path--kona.yml -# -# docker compose up -d -# -# curl -X POST https://${IP}.traefik.me/blast-mainnet \ -# -H "Content-Type: application/json" \ -# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' - -services: - blast-mainnet: - image: ${BLAST_GETH_IMAGE:-blastio/blast-geth}:${BLAST_MAINNET_GETH_VERSION:-mainnet-v1.8.0} - sysctls: - # TCP Performance - net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle - net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache - net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers - net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers - net.core.somaxconn: 32768 # Higher connection queue - # Memory/Connection Management - # net.core.netdev_max_backlog: 50000 # Increase network buffer - net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests - net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets - ulimits: - nofile: 1048576 # Max open files (for RPC/WS connections) - user: root - expose: - - 8545 - - 6060 - - 8551 - environment: - - GETH_OVERRIDE_CANYON=0 - - GETH_OVERRIDE_ECOTONE=1716843599 - - GETH_OVERRIDE_TAIGA=1746612311 - - GETH_ROLLUP_DISABLETXPOOLGOSSIP=true - - GETH_ROLLUP_SEQUENCERHTTP=https://sequencer.blast.io - entrypoint: /bin/sh -c '[ -f /config/genesis.json ] && geth --db.engine=pebble --gcmode=full --datadir /data init --state.scheme=path /config/genesis.json; exec geth "$@"' -- - command: - - --datadir=/data - - --db.engine=pebble - - --gcmode=full - - --maxpeers=50 - - --metrics - - --metrics.addr=0.0.0.0 - - --metrics.port=6060 - - --networkid=81457 - - --nodiscover - - --rpc.gascap=600000000 - - --rpc.txfeecap=0 - - --state.scheme=path - - --syncmode=full - - --http - - --http.addr=0.0.0.0 - - --http.api=eth,net,web3,debug,admin,txpool,engine - - --http.port=8545 - - --http.vhosts=* - - --ws - - --ws.addr=0.0.0.0 - - --ws.api=eth,net,web3,debug,admin,txpool,engine - - --ws.origins=* - - --ws.port=8545 - - --authrpc.addr=0.0.0.0 - - --authrpc.jwtsecret=/jwtsecret - - --authrpc.vhosts=* - restart: unless-stopped - stop_grace_period: 5m - networks: - - chains - volumes: - - ${BLAST_MAINNET_OP_GETH_PRUNED_PEBBLE_PATH_DATA:-blast-mainnet-op-geth-pruned-pebble-path}:/data - - ./op/blast/mainnet:/config - - .jwtsecret:/jwtsecret:ro - - /slowdisk:/slowdisk - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=6060 - - prometheus-scrape.path=/debug/metrics/prometheus - - traefik.enable=true - - traefik.http.middlewares.blast-mainnet-op-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/blast-mainnet - - traefik.http.services.blast-mainnet-op-geth-pruned-pebble-path.loadbalancer.server.port=8545 - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-pruned-pebble-path.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-pruned-pebble-path.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/blast-mainnet`) || Path(`/blast-mainnet/`))} - - ${NO_SSL:+traefik.http.routers.blast-mainnet-op-geth-pruned-pebble-path.rule=Path(`/blast-mainnet`) || Path(`/blast-mainnet/`)} - - traefik.http.routers.blast-mainnet-op-geth-pruned-pebble-path.middlewares=blast-mainnet-op-geth-pruned-pebble-path-stripprefix, ipallowlist - - blast-mainnet-node: - image: ${BLAST_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${BLAST_MAINNET_KONA_VERSION:-v1.6.1} - ports: - - 17769:17769 - - 17769:17769/udp - environment: - - KONA_METRICS_ADDR=0.0.0.0 - - KONA_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST} - - KONA_NODE_L1_ETH_RPC=${BLAST_MAINNET_L1_EXECUTION_RPC:-${ETHEREUM_MAINNET_EXECUTION_RPC}} - - KONA_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false} - - KONA_NODE_L2_CHAIN_ID=81457 - - KONA_NODE_L2_ENGINE_AUTH=/jwtsecret - - KONA_NODE_L2_ENGINE_RPC=http://blast-mainnet:8551 - - KONA_NODE_L2_ENGINE_TIMEOUT=120000 - - KONA_NODE_L2_TRUST_RPC=true - - KONA_NODE_METRICS_PORT=7300 - - KONA_NODE_MODE=Validator - - KONA_NODE_P2P_ADVERTISE_IP=${IP} - - KONA_NODE_P2P_BOOTNODES=enr:-J64QGwHl9uYLfC_cnmxSA6wQH811nkOWJDWjzxqkEUlJoZHWvI66u-BXgVcPCeMUmg0dBpFQAPotFchG67FHJMZ9OSGAY3d6wevgmlkgnY0gmlwhANizeSHb3BzdGFja4Sx_AQAiXNlY3AyNTZrMaECg4pk0cskPAyJ7pOmo9E6RqGBwV-Lex4VS9a3MQvu7PWDdGNwgnZhg3VkcIJ2YQ,enr:-J64QDge2jYBQtcNEpRqmKfci5E5BHAhNBjgv4WSdwH1_wPqbueq2bDj38-TSW8asjy5lJj1Xftui6Or8lnaYFCqCI-GAY3d6wf3gmlkgnY0gmlwhCO2D9yHb3BzdGFja4Sx_AQAiXNlY3AyNTZrMaEDo4aCTq7pCEN8om9U5n_VyWdambGnQhwHNwKc8o-OicaDdGNwgnZhg3VkcIJ2YQ - - KONA_NODE_P2P_LISTEN_IP=0.0.0.0 - - KONA_NODE_P2P_LISTEN_TCP_PORT=17769 - - KONA_NODE_P2P_LISTEN_UDP_PORT=17769 - - KONA_NODE_RPC_ADDR=0.0.0.0 - - KONA_NODE_RPC_PORT=9545 - entrypoint: [kona-node, node] - restart: unless-stopped - depends_on: - blast-mainnet: - condition: service_started - restart: true - networks: - - chains - volumes: - - ./op/blast/mainnet:/config - - .jwtsecret:/jwtsecret:ro - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=7300 - - prometheus-scrape.path=/metrics - - traefik.enable=true - - traefik.http.middlewares.blast-mainnet-op-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/blast-mainnet/node - - traefik.http.services.blast-mainnet-op-geth-pruned-pebble-path-node.loadbalancer.server.port=9545 - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-pruned-pebble-path-node.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-pruned-pebble-path-node.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.blast-mainnet-op-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/blast-mainnet/node`)} - - ${NO_SSL:+traefik.http.routers.blast-mainnet-op-geth-pruned-pebble-path-node.rule=PathPrefix(`/blast-mainnet/node`)} - - traefik.http.routers.blast-mainnet-op-geth-pruned-pebble-path-node.middlewares=blast-mainnet-op-geth-pruned-pebble-path-node-stripprefix, ipallowlist - -volumes: - blast-mainnet-op-geth-pruned-pebble-path: - -x-upstreams: - - id: $${ID} - labels: - provider: $${PROVIDER} - connection: - generic: - rpc: - url: $${RPC_URL} - ws: - frameSize: 20Mb - msgSize: 50Mb - url: $${WS_URL} - chain: blast - method-groups: - enabled: - - debug - - filter - methods: - disabled: - # not compatible with path state scheme - - name: debug_traceBlockByHash - enabled: - - name: txpool_content # TODO: should be disabled for rollup nodes - # standard geth only - - name: debug_getRawBlock - - name: debug_getRawTransaction - - name: debug_getRawReceipts - - name: debug_getRawHeader - - name: debug_getBadBlocks - # non standard geth only slightly dangerous - - name: debug_intermediateRoots - - name: debug_dumpBlock - # standard geth and erigon - - name: debug_accountRange - - name: debug_getModifiedAccountsByNumber - - name: debug_getModifiedAccountsByHash - # non standard geth and erigon - - name: eth_getRawTransactionByHash - - name: eth_getRawTransactionByBlockHashAndIndex -... \ No newline at end of file diff --git a/op/geth/blast-sepolia-op-geth-pruned-pebble-hash--kona.yml b/op/geth/blast-sepolia-op-geth-pruned-pebble-hash--kona.yml deleted file mode 100644 index 6f9ea262..00000000 --- a/op/geth/blast-sepolia-op-geth-pruned-pebble-hash--kona.yml +++ /dev/null @@ -1,198 +0,0 @@ ---- -x-logging-defaults: &logging-defaults - driver: json-file - options: - max-size: "10m" - max-file: "3" - -# Usage: -# -# mkdir rpc && cd rpc -# -# git init -# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git -# git fetch origin vibe -# git checkout origin/vibe -# -# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret -# -# env -# ... -# IP=$(curl ipinfo.io/ip) -# DOMAIN=${IP}.traefik.me -# COMPOSE_FILE=base.yml:rpc.yml:op/geth/blast-sepolia-op-geth-pruned-pebble-hash--kona.yml -# -# docker compose up -d -# -# curl -X POST https://${IP}.traefik.me/blast-sepolia \ -# -H "Content-Type: application/json" \ -# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' - -services: - blast-sepolia: - image: ${BLAST_GETH_IMAGE:-blastio/blast-geth}:${BLAST_SEPOLIA_GETH_VERSION:-sepolia-v1.7.0} - sysctls: - # TCP Performance - net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle - net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache - net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers - net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers - net.core.somaxconn: 32768 # Higher connection queue - # Memory/Connection Management - # net.core.netdev_max_backlog: 50000 # Increase network buffer - net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests - net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets - ulimits: - nofile: 1048576 # Max open files (for RPC/WS connections) - user: root - expose: - - 8545 - - 6060 - - 8551 - environment: - - GETH_OVERRIDE_CANYON=0 - - GETH_OVERRIDE_ECOTONE_TIME=1713999600 - - GETH_ROLLUP_DISABLETXPOOLGOSSIP=true - - GETH_ROLLUP_SEQUENCERHTTP=https://sequencer.s2.testblast.io - entrypoint: /bin/sh -c '[ -f /config/genesis.json ] && geth --db.engine=pebble --gcmode=full --datadir /data init --state.scheme=hash /config/genesis.json; exec geth "$@"' -- - command: - - --datadir=/data - - --db.engine=pebble - - --gcmode=full - - --maxpeers=50 - - --metrics - - --metrics.addr=0.0.0.0 - - --metrics.port=6060 - - --networkid=168587773 - - --nodiscover - - --rpc.gascap=600000000 - - --rpc.txfeecap=0 - - --state.scheme=hash - - --syncmode=full - - --http - - --http.addr=0.0.0.0 - - --http.api=eth,net,web3,debug,admin,txpool,engine - - --http.port=8545 - - --http.vhosts=* - - --ws - - --ws.addr=0.0.0.0 - - --ws.api=eth,net,web3,debug,admin,txpool,engine - - --ws.origins=* - - --ws.port=8545 - - --authrpc.addr=0.0.0.0 - - --authrpc.jwtsecret=/jwtsecret - - --authrpc.vhosts=* - restart: unless-stopped - stop_grace_period: 5m - networks: - - chains - volumes: - - ${BLAST_SEPOLIA_OP_GETH_PRUNED_PEBBLE_HASH_DATA:-blast-sepolia-op-geth-pruned-pebble-hash}:/data - - ./op/blast/sepolia:/config - - .jwtsecret:/jwtsecret:ro - - /slowdisk:/slowdisk - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=6060 - - prometheus-scrape.path=/debug/metrics/prometheus - - traefik.enable=true - - traefik.http.middlewares.blast-sepolia-op-geth-pruned-pebble-hash-stripprefix.stripprefix.prefixes=/blast-sepolia - - traefik.http.services.blast-sepolia-op-geth-pruned-pebble-hash.loadbalancer.server.port=8545 - - ${NO_SSL:-traefik.http.routers.blast-sepolia-op-geth-pruned-pebble-hash.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.blast-sepolia-op-geth-pruned-pebble-hash.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.blast-sepolia-op-geth-pruned-pebble-hash.rule=Host(`$DOMAIN`) && (Path(`/blast-sepolia`) || Path(`/blast-sepolia/`))} - - ${NO_SSL:+traefik.http.routers.blast-sepolia-op-geth-pruned-pebble-hash.rule=Path(`/blast-sepolia`) || Path(`/blast-sepolia/`)} - - traefik.http.routers.blast-sepolia-op-geth-pruned-pebble-hash.middlewares=blast-sepolia-op-geth-pruned-pebble-hash-stripprefix, ipallowlist - - blast-sepolia-node: - image: ${BLAST_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${BLAST_SEPOLIA_KONA_VERSION:-v1.6.1} - ports: - - 16591:16591 - - 16591:16591/udp - environment: - - KONA_METRICS_ADDR=0.0.0.0 - - KONA_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST} - - KONA_NODE_L1_ETH_RPC=${BLAST_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}} - - KONA_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false} - - KONA_NODE_L2_CHAIN_ID=168587773 - - KONA_NODE_L2_ENGINE_AUTH=/jwtsecret - - KONA_NODE_L2_ENGINE_RPC=http://blast-sepolia:8551 - - KONA_NODE_L2_ENGINE_TIMEOUT=120000 - - KONA_NODE_L2_TRUST_RPC=true - - KONA_NODE_METRICS_PORT=7300 - - KONA_NODE_MODE=Validator - - KONA_NODE_OVERRIDE_PECTRA_BLOB_SCHEDULE=1742486400 - - KONA_NODE_P2P_ADVERTISE_IP=${IP} - - KONA_NODE_P2P_BOOTNODES=enr:-J-4QM3GLUFfKMSJQuP1UvuKQe8DyovE7Eaiit0l6By4zjTodkR4V8NWXJxNmlg8t8rP-Q-wp3jVmeAOml8cjMj__ROGAYznzb_HgmlkgnY0gmlwhA-cZ_eHb3BzdGFja4X947FQAIlzZWNwMjU2azGhAiuDqvB-AsVSRmnnWr6OHfjgY8YfNclFy9p02flKzXnOg3RjcIJ2YYN1ZHCCdmE,enr:-J-4QDCVpByqQ8nFqCS9aHicqwUfXgzFDslvpEyYz19lvkHLIdtcIGp2d4q5dxHdjRNTO6HXCsnIKxUeuZSPcEbyVQCGAYznzz0RgmlkgnY0gmlwhANiQfuHb3BzdGFja4X947FQAIlzZWNwMjU2azGhAy3AtF2Jh_aPdOohg506Hjmtx-fQ1AKmu71C7PfkWAw9g3RjcIJ2YYN1ZHCCdmE - - KONA_NODE_P2P_LISTEN_IP=0.0.0.0 - - KONA_NODE_P2P_LISTEN_TCP_PORT=16591 - - KONA_NODE_P2P_LISTEN_UDP_PORT=16591 - - KONA_NODE_RPC_ADDR=0.0.0.0 - - KONA_NODE_RPC_PORT=9545 - entrypoint: [kona-node, node] - restart: unless-stopped - depends_on: - blast-sepolia: - condition: service_started - restart: true - networks: - - chains - volumes: - - ./op/blast/sepolia:/config - - .jwtsecret:/jwtsecret:ro - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=7300 - - prometheus-scrape.path=/metrics - - traefik.enable=true - - traefik.http.middlewares.blast-sepolia-op-geth-pruned-pebble-hash-node-stripprefix.stripprefix.prefixes=/blast-sepolia/node - - traefik.http.services.blast-sepolia-op-geth-pruned-pebble-hash-node.loadbalancer.server.port=9545 - - ${NO_SSL:-traefik.http.routers.blast-sepolia-op-geth-pruned-pebble-hash-node.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.blast-sepolia-op-geth-pruned-pebble-hash-node.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.blast-sepolia-op-geth-pruned-pebble-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/blast-sepolia/node`)} - - ${NO_SSL:+traefik.http.routers.blast-sepolia-op-geth-pruned-pebble-hash-node.rule=PathPrefix(`/blast-sepolia/node`)} - - traefik.http.routers.blast-sepolia-op-geth-pruned-pebble-hash-node.middlewares=blast-sepolia-op-geth-pruned-pebble-hash-node-stripprefix, ipallowlist - -volumes: - blast-sepolia-op-geth-pruned-pebble-hash: - -x-upstreams: - - id: $${ID} - labels: - provider: $${PROVIDER} - connection: - generic: - rpc: - url: $${RPC_URL} - ws: - frameSize: 20Mb - msgSize: 50Mb - url: $${WS_URL} - chain: blast-sepolia - method-groups: - enabled: - - debug - - filter - methods: - disabled: - enabled: - - name: txpool_content # TODO: should be disabled for rollup nodes - # standard geth only - - name: debug_getRawBlock - - name: debug_getRawTransaction - - name: debug_getRawReceipts - - name: debug_getRawHeader - - name: debug_getBadBlocks - # non standard geth only slightly dangerous - - name: debug_intermediateRoots - - name: debug_dumpBlock - # standard geth and erigon - - name: debug_accountRange - - name: debug_getModifiedAccountsByNumber - - name: debug_getModifiedAccountsByHash - # non standard geth and erigon - - name: eth_getRawTransactionByHash - - name: eth_getRawTransactionByBlockHashAndIndex -... \ No newline at end of file diff --git a/op/geth/bnb-mainnet-op-geth-archive-leveldb-hash--kona.yml b/op/geth/bnb-mainnet-op-geth-archive-leveldb-hash--kona.yml deleted file mode 100644 index a3f316b8..00000000 --- a/op/geth/bnb-mainnet-op-geth-archive-leveldb-hash--kona.yml +++ /dev/null @@ -1,197 +0,0 @@ ---- -x-logging-defaults: &logging-defaults - driver: json-file - options: - max-size: "10m" - max-file: "3" - -# Usage: -# -# mkdir rpc && cd rpc -# -# git init -# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git -# git fetch origin vibe -# git checkout origin/vibe -# -# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret -# -# env -# ... -# IP=$(curl ipinfo.io/ip) -# DOMAIN=${IP}.traefik.me -# COMPOSE_FILE=base.yml:rpc.yml:op/geth/bnb-mainnet-op-geth-archive-leveldb-hash--kona.yml -# -# docker compose up -d -# -# curl -X POST https://${IP}.traefik.me/bnb-mainnet-archive \ -# -H "Content-Type: application/json" \ -# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' - -services: - bnb-mainnet-archive: - image: ${BNB_GETH_IMAGE:-ghcr.io/bnb-chain/op-geth}:${BNB_MAINNET_GETH_VERSION:-v0.5.9} - sysctls: - # TCP Performance - net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle - net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache - net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers - net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers - net.core.somaxconn: 32768 # Higher connection queue - # Memory/Connection Management - # net.core.netdev_max_backlog: 50000 # Increase network buffer - net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests - net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets - ulimits: - nofile: 1048576 # Max open files (for RPC/WS connections) - user: root - ports: - - 11402:11402 - - 11402:11402/udp - expose: - - 8545 - - 6060 - - 8551 - environment: - - GETH_ROLLUP_DISABLETXPOOLGOSSIP=true - - GETH_ROLLUP_SEQUENCERHTTP=https://opbnb-mainnet-rpc.bnbchain.org - entrypoint: /bin/sh -c 'exec geth "$@"' -- - command: - - --bootnodes=enr:-KO4QHs5qh_kPFcjMgqkuN9dbxXT4C5Cjad4SAheaUxveCbJQ3XdeMMDHeHilHyqisyYQAByfdhzyKAdUp2SvyzWeBqGAYvRDf80g2V0aMfGhHFtSjqAgmlkgnY0gmlwhDaykUmJc2VjcDI1NmsxoQJUevTL3hJwj21IT2GC6VaNqVQEsJFPtNtO-ld5QTNCfIRzbmFwwIN0Y3CCdl-DdWRwgnZf,enr:-KO4QKIByq-YMjs6IL2YCNZEmlo3dKWNOy4B6sdqE3gjOrXeKdNbwZZGK_JzT1epqCFs3mujjg2vO1lrZLzLy4Rl7PyGAYvRA8bEg2V0aMfGhHFtSjqAgmlkgnY0gmlwhDbjSM6Jc2VjcDI1NmsxoQNQhJ5pqCPnTbK92gEc2F98y-u1OgZVAI1Msx-UiHezY4RzbmFwwIN0Y3CCdl-DdWRwgnZf - - --datadir=/data - - --db.engine=leveldb - - --gcmode=archive - - --maxpeers=50 - - --metrics - - --metrics.addr=0.0.0.0 - - --metrics.port=6060 - - --nat=extip:${IP} - - --opBNBMainnet - - --port=11402 - - --rpc.gascap=600000000 - - --rpc.txfeecap=0 - - --state.scheme=hash - - --syncmode=full - - --http - - --http.addr=0.0.0.0 - - --http.api=eth,net,web3,debug,admin,txpool,engine - - --http.port=8545 - - --http.vhosts=* - - --ws - - --ws.addr=0.0.0.0 - - --ws.api=eth,net,web3,debug,admin,txpool,engine - - --ws.origins=* - - --ws.port=8545 - - --authrpc.addr=0.0.0.0 - - --authrpc.jwtsecret=/jwtsecret - - --authrpc.vhosts=* - restart: unless-stopped - stop_grace_period: 5m - networks: - - chains - volumes: - - ${BNB_MAINNET_OP_GETH_ARCHIVE_LEVELDB_HASH_DATA:-bnb-mainnet-op-geth-archive-leveldb-hash}:/data - - .jwtsecret:/jwtsecret:ro - - /slowdisk:/slowdisk - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=6060 - - prometheus-scrape.path=/debug/metrics/prometheus - - traefik.enable=true - - traefik.http.middlewares.bnb-mainnet-op-geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/bnb-mainnet-archive - - traefik.http.services.bnb-mainnet-op-geth-archive-leveldb-hash.loadbalancer.server.port=8545 - - ${NO_SSL:-traefik.http.routers.bnb-mainnet-op-geth-archive-leveldb-hash.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.bnb-mainnet-op-geth-archive-leveldb-hash.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.bnb-mainnet-op-geth-archive-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/bnb-mainnet-archive`) || Path(`/bnb-mainnet-archive/`))} - - ${NO_SSL:+traefik.http.routers.bnb-mainnet-op-geth-archive-leveldb-hash.rule=Path(`/bnb-mainnet-archive`) || Path(`/bnb-mainnet-archive/`)} - - traefik.http.routers.bnb-mainnet-op-geth-archive-leveldb-hash.middlewares=bnb-mainnet-op-geth-archive-leveldb-hash-stripprefix, ipallowlist - - bnb-mainnet-archive-node: - image: ${BNB_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${BNB_MAINNET_KONA_VERSION:-v1.6.1} - ports: - - 16402:16402 - - 16402:16402/udp - environment: - - KONA_METRICS_ADDR=0.0.0.0 - - KONA_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST} - - KONA_NODE_L1_ETH_RPC=${BNB_MAINNET_L1_EXECUTION_RPC:-${ETHEREUM_MAINNET_EXECUTION_RPC}} - - KONA_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false} - - KONA_NODE_L2_CHAIN_ID=204 - - KONA_NODE_L2_ENGINE_AUTH=/jwtsecret - - KONA_NODE_L2_ENGINE_RPC=http://bnb-mainnet-archive:8551 - - KONA_NODE_L2_ENGINE_TIMEOUT=120000 - - KONA_NODE_L2_TRUST_RPC=true - - KONA_NODE_METRICS_PORT=7300 - - KONA_NODE_MODE=Validator - - KONA_NODE_P2P_ADVERTISE_IP=${IP} - - KONA_NODE_P2P_LISTEN_IP=0.0.0.0 - - KONA_NODE_P2P_LISTEN_TCP_PORT=16402 - - KONA_NODE_P2P_LISTEN_UDP_PORT=16402 - - KONA_NODE_RPC_ADDR=0.0.0.0 - - KONA_NODE_RPC_PORT=9545 - entrypoint: [kona-node, node] - restart: unless-stopped - depends_on: - bnb-mainnet-archive: - condition: service_started - restart: true - networks: - - chains - volumes: - - .jwtsecret:/jwtsecret:ro - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=7300 - - prometheus-scrape.path=/metrics - - traefik.enable=true - - traefik.http.middlewares.bnb-mainnet-op-geth-archive-leveldb-hash-node-stripprefix.stripprefix.prefixes=/bnb-mainnet-archive/node - - traefik.http.services.bnb-mainnet-op-geth-archive-leveldb-hash-node.loadbalancer.server.port=9545 - - ${NO_SSL:-traefik.http.routers.bnb-mainnet-op-geth-archive-leveldb-hash-node.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.bnb-mainnet-op-geth-archive-leveldb-hash-node.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.bnb-mainnet-op-geth-archive-leveldb-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/bnb-mainnet-archive/node`)} - - ${NO_SSL:+traefik.http.routers.bnb-mainnet-op-geth-archive-leveldb-hash-node.rule=PathPrefix(`/bnb-mainnet-archive/node`)} - - traefik.http.routers.bnb-mainnet-op-geth-archive-leveldb-hash-node.middlewares=bnb-mainnet-op-geth-archive-leveldb-hash-node-stripprefix, ipallowlist - -volumes: - bnb-mainnet-op-geth-archive-leveldb-hash: - -x-upstreams: - - id: $${ID} - labels: - provider: $${PROVIDER} - connection: - generic: - rpc: - url: $${RPC_URL} - ws: - frameSize: 20Mb - msgSize: 50Mb - url: $${WS_URL} - chain: opbnb - method-groups: - enabled: - - debug - - filter - methods: - disabled: - enabled: - - name: txpool_content # TODO: should be disabled for rollup nodes - # standard geth only - - name: debug_getRawBlock - - name: debug_getRawTransaction - - name: debug_getRawReceipts - - name: debug_getRawHeader - - name: debug_getBadBlocks - # non standard geth only slightly dangerous - - name: debug_intermediateRoots - - name: debug_dumpBlock - # standard geth and erigon - - name: debug_accountRange - - name: debug_getModifiedAccountsByNumber - - name: debug_getModifiedAccountsByHash - # non standard geth and erigon - - name: eth_getRawTransactionByHash - - name: eth_getRawTransactionByBlockHashAndIndex -... \ No newline at end of file diff --git a/op/geth/bnb-mainnet-op-geth-pruned-pebble-path--kona.yml b/op/geth/bnb-mainnet-op-geth-pruned-pebble-path--kona.yml deleted file mode 100644 index b120018d..00000000 --- a/op/geth/bnb-mainnet-op-geth-pruned-pebble-path--kona.yml +++ /dev/null @@ -1,200 +0,0 @@ ---- -x-logging-defaults: &logging-defaults - driver: json-file - options: - max-size: "10m" - max-file: "3" - -# Usage: -# -# mkdir rpc && cd rpc -# -# git init -# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git -# git fetch origin vibe -# git checkout origin/vibe -# -# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret -# -# env -# ... -# IP=$(curl ipinfo.io/ip) -# DOMAIN=${IP}.traefik.me -# COMPOSE_FILE=base.yml:rpc.yml:op/geth/bnb-mainnet-op-geth-pruned-pebble-path--kona.yml -# -# docker compose up -d -# -# curl -X POST https://${IP}.traefik.me/bnb-mainnet \ -# -H "Content-Type: application/json" \ -# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' - -services: - bnb-mainnet: - image: ${BNB_GETH_IMAGE:-ghcr.io/bnb-chain/op-geth}:${BNB_MAINNET_GETH_VERSION:-v0.5.9} - sysctls: - # TCP Performance - net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle - net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache - net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers - net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers - net.core.somaxconn: 32768 # Higher connection queue - # Memory/Connection Management - # net.core.netdev_max_backlog: 50000 # Increase network buffer - net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests - net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets - ulimits: - nofile: 1048576 # Max open files (for RPC/WS connections) - user: root - ports: - - 12599:12599 - - 12599:12599/udp - expose: - - 8545 - - 6060 - - 8551 - environment: - - GETH_ROLLUP_DISABLETXPOOLGOSSIP=true - - GETH_ROLLUP_SEQUENCERHTTP=https://opbnb-mainnet-rpc.bnbchain.org - entrypoint: /bin/sh -c 'exec geth "$@"' -- - command: - - --allow-insecure-no-tries - - --bootnodes=enr:-KO4QHs5qh_kPFcjMgqkuN9dbxXT4C5Cjad4SAheaUxveCbJQ3XdeMMDHeHilHyqisyYQAByfdhzyKAdUp2SvyzWeBqGAYvRDf80g2V0aMfGhHFtSjqAgmlkgnY0gmlwhDaykUmJc2VjcDI1NmsxoQJUevTL3hJwj21IT2GC6VaNqVQEsJFPtNtO-ld5QTNCfIRzbmFwwIN0Y3CCdl-DdWRwgnZf,enr:-KO4QKIByq-YMjs6IL2YCNZEmlo3dKWNOy4B6sdqE3gjOrXeKdNbwZZGK_JzT1epqCFs3mujjg2vO1lrZLzLy4Rl7PyGAYvRA8bEg2V0aMfGhHFtSjqAgmlkgnY0gmlwhDbjSM6Jc2VjcDI1NmsxoQNQhJ5pqCPnTbK92gEc2F98y-u1OgZVAI1Msx-UiHezY4RzbmFwwIN0Y3CCdl-DdWRwgnZf - - --datadir=/data - - --db.engine=pebble - - --gcmode=full - - --maxpeers=50 - - --metrics - - --metrics.addr=0.0.0.0 - - --metrics.port=6060 - - --nat=extip:${IP} - - --opBNBMainnet - - --port=12599 - - --rpc.gascap=600000000 - - --rpc.txfeecap=0 - - --state.scheme=path - - --syncmode=snap - - --http - - --http.addr=0.0.0.0 - - --http.api=eth,net,web3,debug,admin,txpool,engine - - --http.port=8545 - - --http.vhosts=* - - --ws - - --ws.addr=0.0.0.0 - - --ws.api=eth,net,web3,debug,admin,txpool,engine - - --ws.origins=* - - --ws.port=8545 - - --authrpc.addr=0.0.0.0 - - --authrpc.jwtsecret=/jwtsecret - - --authrpc.vhosts=* - restart: unless-stopped - stop_grace_period: 5m - networks: - - chains - volumes: - - ${BNB_MAINNET_OP_GETH_PRUNED_PEBBLE_PATH_DATA:-bnb-mainnet-op-geth-pruned-pebble-path}:/data - - .jwtsecret:/jwtsecret:ro - - /slowdisk:/slowdisk - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=6060 - - prometheus-scrape.path=/debug/metrics/prometheus - - traefik.enable=true - - traefik.http.middlewares.bnb-mainnet-op-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/bnb-mainnet - - traefik.http.services.bnb-mainnet-op-geth-pruned-pebble-path.loadbalancer.server.port=8545 - - ${NO_SSL:-traefik.http.routers.bnb-mainnet-op-geth-pruned-pebble-path.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.bnb-mainnet-op-geth-pruned-pebble-path.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.bnb-mainnet-op-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/bnb-mainnet`) || Path(`/bnb-mainnet/`))} - - ${NO_SSL:+traefik.http.routers.bnb-mainnet-op-geth-pruned-pebble-path.rule=Path(`/bnb-mainnet`) || Path(`/bnb-mainnet/`)} - - traefik.http.routers.bnb-mainnet-op-geth-pruned-pebble-path.middlewares=bnb-mainnet-op-geth-pruned-pebble-path-stripprefix, ipallowlist - - bnb-mainnet-node: - image: ${BNB_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${BNB_MAINNET_KONA_VERSION:-v1.6.1} - ports: - - 17599:17599 - - 17599:17599/udp - environment: - - KONA_METRICS_ADDR=0.0.0.0 - - KONA_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST} - - KONA_NODE_L1_ETH_RPC=${BNB_MAINNET_L1_EXECUTION_RPC:-${ETHEREUM_MAINNET_EXECUTION_RPC}} - - KONA_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false} - - KONA_NODE_L2_CHAIN_ID=204 - - KONA_NODE_L2_ENGINE_AUTH=/jwtsecret - - KONA_NODE_L2_ENGINE_RPC=http://bnb-mainnet:8551 - - KONA_NODE_L2_ENGINE_TIMEOUT=120000 - - KONA_NODE_L2_TRUST_RPC=true - - KONA_NODE_METRICS_PORT=7300 - - KONA_NODE_MODE=Validator - - KONA_NODE_P2P_ADVERTISE_IP=${IP} - - KONA_NODE_P2P_LISTEN_IP=0.0.0.0 - - KONA_NODE_P2P_LISTEN_TCP_PORT=17599 - - KONA_NODE_P2P_LISTEN_UDP_PORT=17599 - - KONA_NODE_RPC_ADDR=0.0.0.0 - - KONA_NODE_RPC_PORT=9545 - entrypoint: [kona-node, node] - restart: unless-stopped - depends_on: - bnb-mainnet: - condition: service_started - restart: true - networks: - - chains - volumes: - - .jwtsecret:/jwtsecret:ro - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=7300 - - prometheus-scrape.path=/metrics - - traefik.enable=true - - traefik.http.middlewares.bnb-mainnet-op-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/bnb-mainnet/node - - traefik.http.services.bnb-mainnet-op-geth-pruned-pebble-path-node.loadbalancer.server.port=9545 - - ${NO_SSL:-traefik.http.routers.bnb-mainnet-op-geth-pruned-pebble-path-node.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.bnb-mainnet-op-geth-pruned-pebble-path-node.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.bnb-mainnet-op-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/bnb-mainnet/node`)} - - ${NO_SSL:+traefik.http.routers.bnb-mainnet-op-geth-pruned-pebble-path-node.rule=PathPrefix(`/bnb-mainnet/node`)} - - traefik.http.routers.bnb-mainnet-op-geth-pruned-pebble-path-node.middlewares=bnb-mainnet-op-geth-pruned-pebble-path-node-stripprefix, ipallowlist - -volumes: - bnb-mainnet-op-geth-pruned-pebble-path: - -x-upstreams: - - id: $${ID} - labels: - provider: $${PROVIDER} - connection: - generic: - rpc: - url: $${RPC_URL} - ws: - frameSize: 20Mb - msgSize: 50Mb - url: $${WS_URL} - chain: opbnb - method-groups: - enabled: - - debug - - filter - methods: - disabled: - # not compatible with path state scheme - - name: debug_traceBlockByHash - enabled: - - name: txpool_content # TODO: should be disabled for rollup nodes - # standard geth only - - name: debug_getRawBlock - - name: debug_getRawTransaction - - name: debug_getRawReceipts - - name: debug_getRawHeader - - name: debug_getBadBlocks - # non standard geth only slightly dangerous - - name: debug_intermediateRoots - - name: debug_dumpBlock - # standard geth and erigon - - name: debug_accountRange - - name: debug_getModifiedAccountsByNumber - - name: debug_getModifiedAccountsByHash - # non standard geth and erigon - - name: eth_getRawTransactionByHash - - name: eth_getRawTransactionByBlockHashAndIndex -... \ No newline at end of file diff --git a/op/geth/bnb-testnet-op-geth-archive-leveldb-hash--kona.yml b/op/geth/bnb-testnet-op-geth-archive-leveldb-hash--kona.yml deleted file mode 100644 index b70f8d64..00000000 --- a/op/geth/bnb-testnet-op-geth-archive-leveldb-hash--kona.yml +++ /dev/null @@ -1,197 +0,0 @@ ---- -x-logging-defaults: &logging-defaults - driver: json-file - options: - max-size: "10m" - max-file: "3" - -# Usage: -# -# mkdir rpc && cd rpc -# -# git init -# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git -# git fetch origin vibe -# git checkout origin/vibe -# -# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret -# -# env -# ... -# IP=$(curl ipinfo.io/ip) -# DOMAIN=${IP}.traefik.me -# COMPOSE_FILE=base.yml:rpc.yml:op/geth/bnb-testnet-op-geth-archive-leveldb-hash--kona.yml -# -# docker compose up -d -# -# curl -X POST https://${IP}.traefik.me/bnb-testnet-archive \ -# -H "Content-Type: application/json" \ -# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' - -services: - bnb-testnet-archive: - image: ${BNB_GETH_IMAGE:-ghcr.io/bnb-chain/op-geth}:${BNB_TESTNET_GETH_VERSION:-v0.5.9} - sysctls: - # TCP Performance - net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle - net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache - net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers - net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers - net.core.somaxconn: 32768 # Higher connection queue - # Memory/Connection Management - # net.core.netdev_max_backlog: 50000 # Increase network buffer - net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests - net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets - ulimits: - nofile: 1048576 # Max open files (for RPC/WS connections) - user: root - ports: - - 10163:10163 - - 10163:10163/udp - expose: - - 8545 - - 6060 - - 8551 - environment: - - GETH_ROLLUP_DISABLETXPOOLGOSSIP=true - - GETH_ROLLUP_SEQUENCERHTTP=https://opbnb-testnet-rpc.bnbchain.org - entrypoint: /bin/sh -c 'exec geth "$@"' -- - command: - - --bootnodes=enr:-KO4QKFOBDW--pF4pFwv3Al_jiLOITj_Y5mr1Ajyy2yxHpFtNcBfkZEkvWUxAKXQjWALZEFxYHooU88JClyzA00e8YeGAYtBOOZig2V0aMfGhE0ZYGqAgmlkgnY0gmlwhDREiqaJc2VjcDI1NmsxoQM8pC_6wwTr5N2Q-yXQ1KGKsgz9i9EPLk8Ata65pUyYG4RzbmFwwIN0Y3CCdl-DdWRwgnZf,enr:-KO4QFJc0KR09ye818GT2kyN9y6BAGjhz77sYimxn85jJf2hOrNqg4X0b0EsS-_ssdkzVpavqh6oMX7W5Y81xMRuEayGAYtBSiK9g2V0aMfGhE0ZYGqAgmlkgnY0gmlwhANzx96Jc2VjcDI1NmsxoQPwA1XHfWGd4umIt7j3Fc7hKq_35izIWT_9yiN_tX8lR4RzbmFwwIN0Y3CCdl-DdWRwgnZf - - --datadir=/data - - --db.engine=leveldb - - --gcmode=archive - - --maxpeers=50 - - --metrics - - --metrics.addr=0.0.0.0 - - --metrics.port=6060 - - --nat=extip:${IP} - - --opBNBTestnet - - --port=10163 - - --rpc.gascap=600000000 - - --rpc.txfeecap=0 - - --state.scheme=hash - - --syncmode=full - - --http - - --http.addr=0.0.0.0 - - --http.api=eth,net,web3,debug,admin,txpool,engine - - --http.port=8545 - - --http.vhosts=* - - --ws - - --ws.addr=0.0.0.0 - - --ws.api=eth,net,web3,debug,admin,txpool,engine - - --ws.origins=* - - --ws.port=8545 - - --authrpc.addr=0.0.0.0 - - --authrpc.jwtsecret=/jwtsecret - - --authrpc.vhosts=* - restart: unless-stopped - stop_grace_period: 5m - networks: - - chains - volumes: - - ${BNB_TESTNET_OP_GETH_ARCHIVE_LEVELDB_HASH_DATA:-bnb-testnet-op-geth-archive-leveldb-hash}:/data - - .jwtsecret:/jwtsecret:ro - - /slowdisk:/slowdisk - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=6060 - - prometheus-scrape.path=/debug/metrics/prometheus - - traefik.enable=true - - traefik.http.middlewares.bnb-testnet-op-geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/bnb-testnet-archive - - traefik.http.services.bnb-testnet-op-geth-archive-leveldb-hash.loadbalancer.server.port=8545 - - ${NO_SSL:-traefik.http.routers.bnb-testnet-op-geth-archive-leveldb-hash.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.bnb-testnet-op-geth-archive-leveldb-hash.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.bnb-testnet-op-geth-archive-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/bnb-testnet-archive`) || Path(`/bnb-testnet-archive/`))} - - ${NO_SSL:+traefik.http.routers.bnb-testnet-op-geth-archive-leveldb-hash.rule=Path(`/bnb-testnet-archive`) || Path(`/bnb-testnet-archive/`)} - - traefik.http.routers.bnb-testnet-op-geth-archive-leveldb-hash.middlewares=bnb-testnet-op-geth-archive-leveldb-hash-stripprefix, ipallowlist - - bnb-testnet-archive-node: - image: ${BNB_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${BNB_TESTNET_KONA_VERSION:-v1.6.1} - ports: - - 15163:15163 - - 15163:15163/udp - environment: - - KONA_METRICS_ADDR=0.0.0.0 - - KONA_NODE_L1_BEACON=${ETHEREUM_TESTNET_BEACON_REST} - - KONA_NODE_L1_ETH_RPC=${BNB_TESTNET_L1_EXECUTION_RPC:-${ETHEREUM_TESTNET_EXECUTION_RPC}} - - KONA_NODE_L1_TRUST_RPC=${ETHEREUM_TESTNET_EXECUTION_TRUST:-false} - - KONA_NODE_L2_CHAIN_ID=5611 - - KONA_NODE_L2_ENGINE_AUTH=/jwtsecret - - KONA_NODE_L2_ENGINE_RPC=http://bnb-testnet-archive:8551 - - KONA_NODE_L2_ENGINE_TIMEOUT=120000 - - KONA_NODE_L2_TRUST_RPC=true - - KONA_NODE_METRICS_PORT=7300 - - KONA_NODE_MODE=Validator - - KONA_NODE_P2P_ADVERTISE_IP=${IP} - - KONA_NODE_P2P_LISTEN_IP=0.0.0.0 - - KONA_NODE_P2P_LISTEN_TCP_PORT=15163 - - KONA_NODE_P2P_LISTEN_UDP_PORT=15163 - - KONA_NODE_RPC_ADDR=0.0.0.0 - - KONA_NODE_RPC_PORT=9545 - entrypoint: [kona-node, node] - restart: unless-stopped - depends_on: - bnb-testnet-archive: - condition: service_started - restart: true - networks: - - chains - volumes: - - .jwtsecret:/jwtsecret:ro - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=7300 - - prometheus-scrape.path=/metrics - - traefik.enable=true - - traefik.http.middlewares.bnb-testnet-op-geth-archive-leveldb-hash-node-stripprefix.stripprefix.prefixes=/bnb-testnet-archive/node - - traefik.http.services.bnb-testnet-op-geth-archive-leveldb-hash-node.loadbalancer.server.port=9545 - - ${NO_SSL:-traefik.http.routers.bnb-testnet-op-geth-archive-leveldb-hash-node.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.bnb-testnet-op-geth-archive-leveldb-hash-node.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.bnb-testnet-op-geth-archive-leveldb-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/bnb-testnet-archive/node`)} - - ${NO_SSL:+traefik.http.routers.bnb-testnet-op-geth-archive-leveldb-hash-node.rule=PathPrefix(`/bnb-testnet-archive/node`)} - - traefik.http.routers.bnb-testnet-op-geth-archive-leveldb-hash-node.middlewares=bnb-testnet-op-geth-archive-leveldb-hash-node-stripprefix, ipallowlist - -volumes: - bnb-testnet-op-geth-archive-leveldb-hash: - -x-upstreams: - - id: $${ID} - labels: - provider: $${PROVIDER} - connection: - generic: - rpc: - url: $${RPC_URL} - ws: - frameSize: 20Mb - msgSize: 50Mb - url: $${WS_URL} - chain: opbnb-testnet - method-groups: - enabled: - - debug - - filter - methods: - disabled: - enabled: - - name: txpool_content # TODO: should be disabled for rollup nodes - # standard geth only - - name: debug_getRawBlock - - name: debug_getRawTransaction - - name: debug_getRawReceipts - - name: debug_getRawHeader - - name: debug_getBadBlocks - # non standard geth only slightly dangerous - - name: debug_intermediateRoots - - name: debug_dumpBlock - # standard geth and erigon - - name: debug_accountRange - - name: debug_getModifiedAccountsByNumber - - name: debug_getModifiedAccountsByHash - # non standard geth and erigon - - name: eth_getRawTransactionByHash - - name: eth_getRawTransactionByBlockHashAndIndex -... \ No newline at end of file diff --git a/op/geth/bnb-testnet-op-geth-pruned-pebble-path--kona.yml b/op/geth/bnb-testnet-op-geth-pruned-pebble-path--kona.yml deleted file mode 100644 index 047144c6..00000000 --- a/op/geth/bnb-testnet-op-geth-pruned-pebble-path--kona.yml +++ /dev/null @@ -1,200 +0,0 @@ ---- -x-logging-defaults: &logging-defaults - driver: json-file - options: - max-size: "10m" - max-file: "3" - -# Usage: -# -# mkdir rpc && cd rpc -# -# git init -# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git -# git fetch origin vibe -# git checkout origin/vibe -# -# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret -# -# env -# ... -# IP=$(curl ipinfo.io/ip) -# DOMAIN=${IP}.traefik.me -# COMPOSE_FILE=base.yml:rpc.yml:op/geth/bnb-testnet-op-geth-pruned-pebble-path--kona.yml -# -# docker compose up -d -# -# curl -X POST https://${IP}.traefik.me/bnb-testnet \ -# -H "Content-Type: application/json" \ -# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' - -services: - bnb-testnet: - image: ${BNB_GETH_IMAGE:-ghcr.io/bnb-chain/op-geth}:${BNB_TESTNET_GETH_VERSION:-v0.5.9} - sysctls: - # TCP Performance - net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle - net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache - net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers - net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers - net.core.somaxconn: 32768 # Higher connection queue - # Memory/Connection Management - # net.core.netdev_max_backlog: 50000 # Increase network buffer - net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests - net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets - ulimits: - nofile: 1048576 # Max open files (for RPC/WS connections) - user: root - ports: - - 13187:13187 - - 13187:13187/udp - expose: - - 8545 - - 6060 - - 8551 - environment: - - GETH_ROLLUP_DISABLETXPOOLGOSSIP=true - - GETH_ROLLUP_SEQUENCERHTTP=https://opbnb-testnet-rpc.bnbchain.org - entrypoint: /bin/sh -c 'exec geth "$@"' -- - command: - - --allow-insecure-no-tries - - --bootnodes=enr:-KO4QKFOBDW--pF4pFwv3Al_jiLOITj_Y5mr1Ajyy2yxHpFtNcBfkZEkvWUxAKXQjWALZEFxYHooU88JClyzA00e8YeGAYtBOOZig2V0aMfGhE0ZYGqAgmlkgnY0gmlwhDREiqaJc2VjcDI1NmsxoQM8pC_6wwTr5N2Q-yXQ1KGKsgz9i9EPLk8Ata65pUyYG4RzbmFwwIN0Y3CCdl-DdWRwgnZf,enr:-KO4QFJc0KR09ye818GT2kyN9y6BAGjhz77sYimxn85jJf2hOrNqg4X0b0EsS-_ssdkzVpavqh6oMX7W5Y81xMRuEayGAYtBSiK9g2V0aMfGhE0ZYGqAgmlkgnY0gmlwhANzx96Jc2VjcDI1NmsxoQPwA1XHfWGd4umIt7j3Fc7hKq_35izIWT_9yiN_tX8lR4RzbmFwwIN0Y3CCdl-DdWRwgnZf - - --datadir=/data - - --db.engine=pebble - - --gcmode=full - - --maxpeers=50 - - --metrics - - --metrics.addr=0.0.0.0 - - --metrics.port=6060 - - --nat=extip:${IP} - - --opBNBTestnet - - --port=13187 - - --rpc.gascap=600000000 - - --rpc.txfeecap=0 - - --state.scheme=path - - --syncmode=snap - - --http - - --http.addr=0.0.0.0 - - --http.api=eth,net,web3,debug,admin,txpool,engine - - --http.port=8545 - - --http.vhosts=* - - --ws - - --ws.addr=0.0.0.0 - - --ws.api=eth,net,web3,debug,admin,txpool,engine - - --ws.origins=* - - --ws.port=8545 - - --authrpc.addr=0.0.0.0 - - --authrpc.jwtsecret=/jwtsecret - - --authrpc.vhosts=* - restart: unless-stopped - stop_grace_period: 5m - networks: - - chains - volumes: - - ${BNB_TESTNET_OP_GETH_PRUNED_PEBBLE_PATH_DATA:-bnb-testnet-op-geth-pruned-pebble-path}:/data - - .jwtsecret:/jwtsecret:ro - - /slowdisk:/slowdisk - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=6060 - - prometheus-scrape.path=/debug/metrics/prometheus - - traefik.enable=true - - traefik.http.middlewares.bnb-testnet-op-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/bnb-testnet - - traefik.http.services.bnb-testnet-op-geth-pruned-pebble-path.loadbalancer.server.port=8545 - - ${NO_SSL:-traefik.http.routers.bnb-testnet-op-geth-pruned-pebble-path.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.bnb-testnet-op-geth-pruned-pebble-path.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.bnb-testnet-op-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/bnb-testnet`) || Path(`/bnb-testnet/`))} - - ${NO_SSL:+traefik.http.routers.bnb-testnet-op-geth-pruned-pebble-path.rule=Path(`/bnb-testnet`) || Path(`/bnb-testnet/`)} - - traefik.http.routers.bnb-testnet-op-geth-pruned-pebble-path.middlewares=bnb-testnet-op-geth-pruned-pebble-path-stripprefix, ipallowlist - - bnb-testnet-node: - image: ${BNB_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${BNB_TESTNET_KONA_VERSION:-v1.6.1} - ports: - - 18187:18187 - - 18187:18187/udp - environment: - - KONA_METRICS_ADDR=0.0.0.0 - - KONA_NODE_L1_BEACON=${ETHEREUM_TESTNET_BEACON_REST} - - KONA_NODE_L1_ETH_RPC=${BNB_TESTNET_L1_EXECUTION_RPC:-${ETHEREUM_TESTNET_EXECUTION_RPC}} - - KONA_NODE_L1_TRUST_RPC=${ETHEREUM_TESTNET_EXECUTION_TRUST:-false} - - KONA_NODE_L2_CHAIN_ID=5611 - - KONA_NODE_L2_ENGINE_AUTH=/jwtsecret - - KONA_NODE_L2_ENGINE_RPC=http://bnb-testnet:8551 - - KONA_NODE_L2_ENGINE_TIMEOUT=120000 - - KONA_NODE_L2_TRUST_RPC=true - - KONA_NODE_METRICS_PORT=7300 - - KONA_NODE_MODE=Validator - - KONA_NODE_P2P_ADVERTISE_IP=${IP} - - KONA_NODE_P2P_LISTEN_IP=0.0.0.0 - - KONA_NODE_P2P_LISTEN_TCP_PORT=18187 - - KONA_NODE_P2P_LISTEN_UDP_PORT=18187 - - KONA_NODE_RPC_ADDR=0.0.0.0 - - KONA_NODE_RPC_PORT=9545 - entrypoint: [kona-node, node] - restart: unless-stopped - depends_on: - bnb-testnet: - condition: service_started - restart: true - networks: - - chains - volumes: - - .jwtsecret:/jwtsecret:ro - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=7300 - - prometheus-scrape.path=/metrics - - traefik.enable=true - - traefik.http.middlewares.bnb-testnet-op-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/bnb-testnet/node - - traefik.http.services.bnb-testnet-op-geth-pruned-pebble-path-node.loadbalancer.server.port=9545 - - ${NO_SSL:-traefik.http.routers.bnb-testnet-op-geth-pruned-pebble-path-node.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.bnb-testnet-op-geth-pruned-pebble-path-node.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.bnb-testnet-op-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/bnb-testnet/node`)} - - ${NO_SSL:+traefik.http.routers.bnb-testnet-op-geth-pruned-pebble-path-node.rule=PathPrefix(`/bnb-testnet/node`)} - - traefik.http.routers.bnb-testnet-op-geth-pruned-pebble-path-node.middlewares=bnb-testnet-op-geth-pruned-pebble-path-node-stripprefix, ipallowlist - -volumes: - bnb-testnet-op-geth-pruned-pebble-path: - -x-upstreams: - - id: $${ID} - labels: - provider: $${PROVIDER} - connection: - generic: - rpc: - url: $${RPC_URL} - ws: - frameSize: 20Mb - msgSize: 50Mb - url: $${WS_URL} - chain: opbnb-testnet - method-groups: - enabled: - - debug - - filter - methods: - disabled: - # not compatible with path state scheme - - name: debug_traceBlockByHash - enabled: - - name: txpool_content # TODO: should be disabled for rollup nodes - # standard geth only - - name: debug_getRawBlock - - name: debug_getRawTransaction - - name: debug_getRawReceipts - - name: debug_getRawHeader - - name: debug_getBadBlocks - # non standard geth only slightly dangerous - - name: debug_intermediateRoots - - name: debug_dumpBlock - # standard geth and erigon - - name: debug_accountRange - - name: debug_getModifiedAccountsByNumber - - name: debug_getModifiedAccountsByHash - # non standard geth and erigon - - name: eth_getRawTransactionByHash - - name: eth_getRawTransactionByBlockHashAndIndex -... \ No newline at end of file diff --git a/op/geth/manta-pacific-mainnet-op-geth-archive-pebble-hash--kona.yml b/op/geth/manta-pacific-mainnet-op-geth-archive-pebble-hash--kona.yml deleted file mode 100644 index e3c5d928..00000000 --- a/op/geth/manta-pacific-mainnet-op-geth-archive-pebble-hash--kona.yml +++ /dev/null @@ -1,198 +0,0 @@ ---- -x-logging-defaults: &logging-defaults - driver: json-file - options: - max-size: "10m" - max-file: "3" - -# Usage: -# -# mkdir rpc && cd rpc -# -# git init -# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git -# git fetch origin vibe -# git checkout origin/vibe -# -# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret -# -# env -# ... -# IP=$(curl ipinfo.io/ip) -# DOMAIN=${IP}.traefik.me -# COMPOSE_FILE=base.yml:rpc.yml:op/geth/manta-pacific-mainnet-op-geth-archive-pebble-hash--kona.yml -# -# docker compose up -d -# -# curl -X POST https://${IP}.traefik.me/manta-pacific-mainnet-archive \ -# -H "Content-Type: application/json" \ -# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' - -services: - manta-pacific-mainnet-archive: - image: ${MANTA_PACIFIC_GETH_IMAGE:-public.ecr.aws/i6b2w2n6/op-geth}:${MANTA_PACIFIC_MAINNET_GETH_VERSION:-5.2.0} - sysctls: - # TCP Performance - net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle - net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache - net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers - net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers - net.core.somaxconn: 32768 # Higher connection queue - # Memory/Connection Management - # net.core.netdev_max_backlog: 50000 # Increase network buffer - net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests - net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets - ulimits: - nofile: 1048576 # Max open files (for RPC/WS connections) - user: root - ports: - - 11437:11437 - - 11437:11437/udp - expose: - - 8545 - - 6060 - - 8551 - environment: - - GETH_ROLLUP_DISABLETXPOOLGOSSIP=true - - GETH_ROLLUP_SEQUENCERHTTP=https://manta-pacific.calderachain.xyz/http - entrypoint: /bin/sh -c '[ -f /config/genesis.json ] && geth --db.engine=pebble --gcmode=archive --datadir /data init --state.scheme=hash /config/genesis.json; exec geth "$@"' -- - command: - - --datadir=/data - - --db.engine=pebble - - --gcmode=archive - - --maxpeers=50 - - --metrics - - --metrics.addr=0.0.0.0 - - --metrics.port=6060 - - --nat=extip:${IP} - - --networkid=169 - - --port=11437 - - --rpc.gascap=600000000 - - --rpc.txfeecap=0 - - --state.scheme=hash - - --syncmode=full - - --http - - --http.addr=0.0.0.0 - - --http.api=web3,net,eth,debug,admin - - --http.port=8545 - - --http.vhosts=* - - --ws - - --ws.addr=0.0.0.0 - - --ws.api=web3,net,eth,debug,admin - - --ws.origins=* - - --ws.port=8545 - - --authrpc.addr=0.0.0.0 - - --authrpc.jwtsecret=/jwtsecret - - --authrpc.vhosts=* - restart: unless-stopped - stop_grace_period: 5m - networks: - - chains - volumes: - - ${MANTA_PACIFIC_MAINNET_OP_GETH_ARCHIVE_PEBBLE_HASH_DATA:-manta-pacific-mainnet-op-geth-archive-pebble-hash}:/data - - ./op/manta-pacific/mainnet:/config - - .jwtsecret:/jwtsecret:ro - - /slowdisk:/slowdisk - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=6060 - - prometheus-scrape.path=/debug/metrics/prometheus - - traefik.enable=true - - traefik.http.middlewares.manta-pacific-mainnet-op-geth-archive-pebble-hash-stripprefix.stripprefix.prefixes=/manta-pacific-mainnet-archive - - traefik.http.services.manta-pacific-mainnet-op-geth-archive-pebble-hash.loadbalancer.server.port=8545 - - ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash.rule=Host(`$DOMAIN`) && (Path(`/manta-pacific-mainnet-archive`) || Path(`/manta-pacific-mainnet-archive/`))} - - ${NO_SSL:+traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash.rule=Path(`/manta-pacific-mainnet-archive`) || Path(`/manta-pacific-mainnet-archive/`)} - - traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash.middlewares=manta-pacific-mainnet-op-geth-archive-pebble-hash-stripprefix, ipallowlist - - manta-pacific-mainnet-archive-node: - image: ${MANTA_PACIFIC_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${MANTA_PACIFIC_MAINNET_KONA_VERSION:-v1.6.1} - ports: - - 16437:16437 - - 16437:16437/udp - environment: - - KONA_METRICS_ADDR=0.0.0.0 - - KONA_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST} - - KONA_NODE_L1_ETH_RPC=${MANTA_PACIFIC_MAINNET_L1_EXECUTION_RPC:-${ETHEREUM_MAINNET_EXECUTION_RPC}} - - KONA_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false} - - KONA_NODE_L2_CHAIN_ID=169 - - KONA_NODE_L2_ENGINE_AUTH=/jwtsecret - - KONA_NODE_L2_ENGINE_RPC=http://manta-pacific-mainnet-archive:8551 - - KONA_NODE_L2_ENGINE_TIMEOUT=120000 - - KONA_NODE_L2_TRUST_RPC=true - - KONA_NODE_METRICS_PORT=7300 - - KONA_NODE_MODE=Validator - - KONA_NODE_P2P_ADVERTISE_IP=${IP} - - KONA_NODE_P2P_LISTEN_IP=0.0.0.0 - - KONA_NODE_P2P_LISTEN_TCP_PORT=16437 - - KONA_NODE_P2P_LISTEN_UDP_PORT=16437 - - KONA_NODE_RPC_ADDR=0.0.0.0 - - KONA_NODE_RPC_PORT=9545 - entrypoint: [kona-node, node] - restart: unless-stopped - depends_on: - manta-pacific-mainnet-archive: - condition: service_started - restart: true - networks: - - chains - volumes: - - ./op/manta-pacific/mainnet:/config - - .jwtsecret:/jwtsecret:ro - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=true - - prometheus-scrape.port=7300 - - prometheus-scrape.path=/metrics - - traefik.enable=true - - traefik.http.middlewares.manta-pacific-mainnet-op-geth-archive-pebble-hash-node-stripprefix.stripprefix.prefixes=/manta-pacific-mainnet-archive/node - - traefik.http.services.manta-pacific-mainnet-op-geth-archive-pebble-hash-node.loadbalancer.server.port=9545 - - ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash-node.entrypoints=websecure} - - ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash-node.tls.certresolver=myresolver} - - ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/manta-pacific-mainnet-archive/node`)} - - ${NO_SSL:+traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash-node.rule=PathPrefix(`/manta-pacific-mainnet-archive/node`)} - - traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash-node.middlewares=manta-pacific-mainnet-op-geth-archive-pebble-hash-node-stripprefix, ipallowlist - -volumes: - manta-pacific-mainnet-op-geth-archive-pebble-hash: - -x-upstreams: - - id: $${ID} - labels: - provider: $${PROVIDER} - connection: - generic: - rpc: - url: $${RPC_URL} - ws: - frameSize: 20Mb - msgSize: 50Mb - url: $${WS_URL} - chain: manta-pacific - method-groups: - enabled: - - debug - - filter - methods: - disabled: - enabled: - - name: txpool_content # TODO: should be disabled for rollup nodes - # standard geth only - - name: debug_getRawBlock - - name: debug_getRawTransaction - - name: debug_getRawReceipts - - name: debug_getRawHeader - - name: debug_getBadBlocks - # non standard geth only slightly dangerous - - name: debug_intermediateRoots - - name: debug_dumpBlock - # standard geth and erigon - - name: debug_accountRange - - name: debug_getModifiedAccountsByNumber - - name: debug_getModifiedAccountsByHash - # non standard geth and erigon - - name: eth_getRawTransactionByHash - - name: eth_getRawTransactionByBlockHashAndIndex -... \ No newline at end of file