Add Katana (Ronin L2) node configurations for mainnet and testnet
This commit is contained in:
@@ -4228,6 +4228,7 @@
|
||||
"stack": "op",
|
||||
"type": "archive",
|
||||
"volumes": [
|
||||
"celo-mainnet-geth-archive-leveldb-hash",
|
||||
"celo-mainnet-op-geth-archive-leveldb-hash",
|
||||
"celo-mainnet-op-geth-archive-leveldb-hash_eigenda-proxy"
|
||||
]
|
||||
@@ -4246,6 +4247,7 @@
|
||||
"stack": "op",
|
||||
"type": "pruned",
|
||||
"volumes": [
|
||||
"celo-mainnet-geth-pruned-leveldb-hash",
|
||||
"celo-mainnet-op-geth-pruned-leveldb-hash",
|
||||
"celo-mainnet-op-geth-pruned-leveldb-hash_eigenda-proxy"
|
||||
]
|
||||
@@ -4614,6 +4616,74 @@
|
||||
"ink-sepolia-op-geth-pruned-pebble-path"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "mainnet",
|
||||
"client": "geth",
|
||||
"compose_file": "op/geth/katana-mainnet-op-geth-archive-leveldb-hash",
|
||||
"features": [
|
||||
"hash",
|
||||
"leveldb"
|
||||
],
|
||||
"network": "katana",
|
||||
"node": "node",
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "archive",
|
||||
"volumes": [
|
||||
"katana-mainnet-op-geth-archive-leveldb-hash"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "mainnet",
|
||||
"client": "geth",
|
||||
"compose_file": "op/geth/katana-mainnet-op-geth-pruned-pebble-path",
|
||||
"features": [
|
||||
"path",
|
||||
"pebble"
|
||||
],
|
||||
"network": "katana",
|
||||
"node": "node",
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "pruned",
|
||||
"volumes": [
|
||||
"katana-mainnet-op-geth-pruned-pebble-path"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "testnet",
|
||||
"client": "geth",
|
||||
"compose_file": "op/geth/katana-testnet-op-geth-archive-leveldb-hash",
|
||||
"features": [
|
||||
"hash",
|
||||
"leveldb"
|
||||
],
|
||||
"network": "katana",
|
||||
"node": "node",
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "archive",
|
||||
"volumes": [
|
||||
"katana-testnet-op-geth-archive-leveldb-hash"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "testnet",
|
||||
"client": "geth",
|
||||
"compose_file": "op/geth/katana-testnet-op-geth-pruned-pebble-path",
|
||||
"features": [
|
||||
"path",
|
||||
"pebble"
|
||||
],
|
||||
"network": "katana",
|
||||
"node": "node",
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "pruned",
|
||||
"volumes": [
|
||||
"katana-testnet-op-geth-pruned-pebble-path"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "mainnet",
|
||||
"client": "geth",
|
||||
|
||||
198
op/geth/katana-mainnet-op-geth-archive-leveldb-hash.yml
Normal file
198
op/geth/katana-mainnet-op-geth-archive-leveldb-hash.yml
Normal file
@@ -0,0 +1,198 @@
|
||||
---
|
||||
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/katana-mainnet-op-geth-archive-leveldb-hash.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/katana-mainnet-archive \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
katana-mainnet-archive:
|
||||
image: ${KATANA_GETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth}:${KATANA_MAINNET_GETH_VERSION:-v1.101603.5}
|
||||
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_OP_NETWORK=katana-mainnet
|
||||
- GETH_OVERRIDE_ISTHMUS=1746806401
|
||||
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
|
||||
- GETH_ROLLUP_SEQUENCERHTTP=https://rpc.katana.network
|
||||
entrypoint: /bin/sh -c 'exec geth "$@"' --
|
||||
command:
|
||||
- --datadir=/data
|
||||
- --db.engine=leveldb
|
||||
- --gcmode=archive
|
||||
- --maxpeers=50
|
||||
- --metrics
|
||||
- --metrics.addr=0.0.0.0
|
||||
- --metrics.port=6060
|
||||
- --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:
|
||||
- ${KATANA_MAINNET_OP_GETH_ARCHIVE_LEVELDB_HASH_DATA:-katana-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.katana-mainnet-op-geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/katana-mainnet-archive
|
||||
- traefik.http.services.katana-mainnet-op-geth-archive-leveldb-hash.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.katana-mainnet-op-geth-archive-leveldb-hash.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-mainnet-op-geth-archive-leveldb-hash.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-mainnet-op-geth-archive-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/katana-mainnet-archive`) || Path(`/katana-mainnet-archive/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.katana-mainnet-op-geth-archive-leveldb-hash.rule=Path(`/katana-mainnet-archive`) || Path(`/katana-mainnet-archive/`)}
|
||||
- traefik.http.routers.katana-mainnet-op-geth-archive-leveldb-hash.middlewares=katana-mainnet-op-geth-archive-leveldb-hash-stripprefix, ipallowlist
|
||||
|
||||
katana-mainnet-archive-node:
|
||||
image: ${KATANA_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${KATANA_MAINNET_NODE_VERSION:-v1.16.2}
|
||||
ports:
|
||||
- 19246:19246
|
||||
- 19246:19246/udp
|
||||
environment:
|
||||
- OP_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST}
|
||||
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_MAINNET_BEACON_ARCHIVER}
|
||||
- OP_NODE_L1_ETH_RPC=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||
- OP_NODE_L1_RPC_KIND=${ETHEREUM_MAINNET_EXECUTION_KIND:-basic}
|
||||
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false}
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://katana-mainnet-archive:8551
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
- OP_NODE_METRICS_PORT=7300
|
||||
- OP_NODE_NETWORK=katana-mainnet
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=19246
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=19246
|
||||
- OP_NODE_P2P_STATIC=/ip4/34.19.21.27/tcp/9222/p2p/16Uiu2HAm3xezniqrtMrMqXKPp46Rb2d4mJ67f9TYayHC51SvCrqN
|
||||
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
|
||||
- OP_NODE_RPC_ADDR=0.0.0.0
|
||||
- OP_NODE_RPC_PORT=8545
|
||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||
- OP_NODE_SYNCMODE=consensus-layer
|
||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- katana-mainnet-archive
|
||||
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.katana-mainnet-op-geth-archive-leveldb-hash-node-stripprefix.stripprefix.prefixes=/katana-mainnet-archive/node
|
||||
- traefik.http.services.katana-mainnet-op-geth-archive-leveldb-hash-node.loadbalancer.server.port=8547
|
||||
- ${NO_SSL:-traefik.http.routers.katana-mainnet-op-geth-archive-leveldb-hash-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-mainnet-op-geth-archive-leveldb-hash-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-mainnet-op-geth-archive-leveldb-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/katana-mainnet-archive/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.katana-mainnet-op-geth-archive-leveldb-hash-node.rule=PathPrefix(`/katana-mainnet-archive/node`)}
|
||||
- traefik.http.routers.katana-mainnet-op-geth-archive-leveldb-hash-node.middlewares=katana-mainnet-op-geth-archive-leveldb-hash-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
katana-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: katana
|
||||
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
|
||||
...
|
||||
200
op/geth/katana-mainnet-op-geth-pruned-pebble-path.yml
Normal file
200
op/geth/katana-mainnet-op-geth-pruned-pebble-path.yml
Normal file
@@ -0,0 +1,200 @@
|
||||
---
|
||||
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/katana-mainnet-op-geth-pruned-pebble-path.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/katana-mainnet \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
katana-mainnet:
|
||||
image: ${KATANA_GETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth}:${KATANA_MAINNET_GETH_VERSION:-v1.101603.5}
|
||||
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_OP_NETWORK=katana-mainnet
|
||||
- GETH_OVERRIDE_ISTHMUS=1746806401
|
||||
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
|
||||
- GETH_ROLLUP_SEQUENCERHTTP=https://rpc.katana.network
|
||||
entrypoint: /bin/sh -c 'exec geth "$@"' --
|
||||
command:
|
||||
- --datadir=/data
|
||||
- --db.engine=pebble
|
||||
- --gcmode=full
|
||||
- --maxpeers=50
|
||||
- --metrics
|
||||
- --metrics.addr=0.0.0.0
|
||||
- --metrics.port=6060
|
||||
- --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:
|
||||
- ${KATANA_MAINNET_OP_GETH_PRUNED_PEBBLE_PATH_DATA:-katana-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.katana-mainnet-op-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/katana-mainnet
|
||||
- traefik.http.services.katana-mainnet-op-geth-pruned-pebble-path.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.katana-mainnet-op-geth-pruned-pebble-path.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-mainnet-op-geth-pruned-pebble-path.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-mainnet-op-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/katana-mainnet`) || Path(`/katana-mainnet/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.katana-mainnet-op-geth-pruned-pebble-path.rule=Path(`/katana-mainnet`) || Path(`/katana-mainnet/`)}
|
||||
- traefik.http.routers.katana-mainnet-op-geth-pruned-pebble-path.middlewares=katana-mainnet-op-geth-pruned-pebble-path-stripprefix, ipallowlist
|
||||
|
||||
katana-mainnet-node:
|
||||
image: ${KATANA_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${KATANA_MAINNET_NODE_VERSION:-v1.16.2}
|
||||
ports:
|
||||
- 19009:19009
|
||||
- 19009:19009/udp
|
||||
environment:
|
||||
- OP_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST}
|
||||
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_MAINNET_BEACON_ARCHIVER}
|
||||
- OP_NODE_L1_ETH_RPC=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||
- OP_NODE_L1_RPC_KIND=${ETHEREUM_MAINNET_EXECUTION_KIND:-basic}
|
||||
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false}
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://katana-mainnet:8551
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
- OP_NODE_METRICS_PORT=7300
|
||||
- OP_NODE_NETWORK=katana-mainnet
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=19009
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=19009
|
||||
- OP_NODE_P2P_STATIC=/ip4/34.19.21.27/tcp/9222/p2p/16Uiu2HAm3xezniqrtMrMqXKPp46Rb2d4mJ67f9TYayHC51SvCrqN
|
||||
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
|
||||
- OP_NODE_RPC_ADDR=0.0.0.0
|
||||
- OP_NODE_RPC_PORT=8545
|
||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||
- OP_NODE_SYNCMODE=consensus-layer
|
||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- katana-mainnet
|
||||
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.katana-mainnet-op-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/katana-mainnet/node
|
||||
- traefik.http.services.katana-mainnet-op-geth-pruned-pebble-path-node.loadbalancer.server.port=8547
|
||||
- ${NO_SSL:-traefik.http.routers.katana-mainnet-op-geth-pruned-pebble-path-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-mainnet-op-geth-pruned-pebble-path-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-mainnet-op-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/katana-mainnet/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.katana-mainnet-op-geth-pruned-pebble-path-node.rule=PathPrefix(`/katana-mainnet/node`)}
|
||||
- traefik.http.routers.katana-mainnet-op-geth-pruned-pebble-path-node.middlewares=katana-mainnet-op-geth-pruned-pebble-path-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
katana-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: katana
|
||||
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
|
||||
...
|
||||
199
op/geth/katana-testnet-op-geth-archive-leveldb-hash.yml
Normal file
199
op/geth/katana-testnet-op-geth-archive-leveldb-hash.yml
Normal file
@@ -0,0 +1,199 @@
|
||||
---
|
||||
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/katana-testnet-op-geth-archive-leveldb-hash.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/katana-testnet-archive \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
katana-testnet-archive:
|
||||
image: ${KATANA_GETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth}:${KATANA_TESTNET_GETH_VERSION:-v1.101603.5}
|
||||
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_OP_NETWORK=katana-testnet
|
||||
- GETH_OVERRIDE_ISTHMUS=1749807000
|
||||
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
|
||||
entrypoint: /bin/sh -c 'exec geth "$@"' --
|
||||
command:
|
||||
- --datadir=/data
|
||||
- --db.engine=leveldb
|
||||
- --gcmode=archive
|
||||
- --maxpeers=50
|
||||
- --metrics
|
||||
- --metrics.addr=0.0.0.0
|
||||
- --metrics.port=6060
|
||||
- --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:
|
||||
- ${KATANA_TESTNET_OP_GETH_ARCHIVE_LEVELDB_HASH_DATA:-katana-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.katana-testnet-op-geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/katana-testnet-archive
|
||||
- traefik.http.services.katana-testnet-op-geth-archive-leveldb-hash.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.katana-testnet-op-geth-archive-leveldb-hash.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-testnet-op-geth-archive-leveldb-hash.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-testnet-op-geth-archive-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/katana-testnet-archive`) || Path(`/katana-testnet-archive/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.katana-testnet-op-geth-archive-leveldb-hash.rule=Path(`/katana-testnet-archive`) || Path(`/katana-testnet-archive/`)}
|
||||
- traefik.http.routers.katana-testnet-op-geth-archive-leveldb-hash.middlewares=katana-testnet-op-geth-archive-leveldb-hash-stripprefix, ipallowlist
|
||||
|
||||
katana-testnet-archive-node:
|
||||
image: ${KATANA_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${KATANA_TESTNET_NODE_VERSION:-v1.16.2}
|
||||
ports:
|
||||
- 19922:19922
|
||||
- 19922:19922/udp
|
||||
environment:
|
||||
- OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER}
|
||||
- OP_NODE_L1_ETH_RPC=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||
- OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-basic}
|
||||
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false}
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://katana-testnet-archive:8551
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
- OP_NODE_METRICS_PORT=7300
|
||||
- OP_NODE_NETWORK=katana-testnet
|
||||
- OP_NODE_OVERRIDE_ISTHMUS=1749807000
|
||||
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=19922
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=19922
|
||||
- OP_NODE_P2P_STATIC=/ip4/34.169.243.167/tcp/9222/p2p/16Uiu2HAmR2dH14jqFG27SNHU1B8N4GSHRpzprehXyFvMYgvAm32o
|
||||
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
|
||||
- OP_NODE_RPC_ADDR=0.0.0.0
|
||||
- OP_NODE_RPC_PORT=8545
|
||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||
- OP_NODE_SYNCMODE=consensus-layer
|
||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- katana-testnet-archive
|
||||
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.katana-testnet-op-geth-archive-leveldb-hash-node-stripprefix.stripprefix.prefixes=/katana-testnet-archive/node
|
||||
- traefik.http.services.katana-testnet-op-geth-archive-leveldb-hash-node.loadbalancer.server.port=8547
|
||||
- ${NO_SSL:-traefik.http.routers.katana-testnet-op-geth-archive-leveldb-hash-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-testnet-op-geth-archive-leveldb-hash-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-testnet-op-geth-archive-leveldb-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/katana-testnet-archive/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.katana-testnet-op-geth-archive-leveldb-hash-node.rule=PathPrefix(`/katana-testnet-archive/node`)}
|
||||
- traefik.http.routers.katana-testnet-op-geth-archive-leveldb-hash-node.middlewares=katana-testnet-op-geth-archive-leveldb-hash-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
katana-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:
|
||||
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
|
||||
...
|
||||
201
op/geth/katana-testnet-op-geth-pruned-pebble-path.yml
Normal file
201
op/geth/katana-testnet-op-geth-pruned-pebble-path.yml
Normal file
@@ -0,0 +1,201 @@
|
||||
---
|
||||
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/katana-testnet-op-geth-pruned-pebble-path.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/katana-testnet \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
katana-testnet:
|
||||
image: ${KATANA_GETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth}:${KATANA_TESTNET_GETH_VERSION:-v1.101603.5}
|
||||
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_OP_NETWORK=katana-testnet
|
||||
- GETH_OVERRIDE_ISTHMUS=1749807000
|
||||
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
|
||||
entrypoint: /bin/sh -c 'exec geth "$@"' --
|
||||
command:
|
||||
- --datadir=/data
|
||||
- --db.engine=pebble
|
||||
- --gcmode=full
|
||||
- --maxpeers=50
|
||||
- --metrics
|
||||
- --metrics.addr=0.0.0.0
|
||||
- --metrics.port=6060
|
||||
- --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:
|
||||
- ${KATANA_TESTNET_OP_GETH_PRUNED_PEBBLE_PATH_DATA:-katana-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.katana-testnet-op-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/katana-testnet
|
||||
- traefik.http.services.katana-testnet-op-geth-pruned-pebble-path.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.katana-testnet-op-geth-pruned-pebble-path.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-testnet-op-geth-pruned-pebble-path.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-testnet-op-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/katana-testnet`) || Path(`/katana-testnet/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.katana-testnet-op-geth-pruned-pebble-path.rule=Path(`/katana-testnet`) || Path(`/katana-testnet/`)}
|
||||
- traefik.http.routers.katana-testnet-op-geth-pruned-pebble-path.middlewares=katana-testnet-op-geth-pruned-pebble-path-stripprefix, ipallowlist
|
||||
|
||||
katana-testnet-node:
|
||||
image: ${KATANA_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${KATANA_TESTNET_NODE_VERSION:-v1.16.2}
|
||||
ports:
|
||||
- 19484:19484
|
||||
- 19484:19484/udp
|
||||
environment:
|
||||
- OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER}
|
||||
- OP_NODE_L1_ETH_RPC=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||
- OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-basic}
|
||||
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false}
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://katana-testnet:8551
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- OP_NODE_LOG_LEVEL=info
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
- OP_NODE_METRICS_PORT=7300
|
||||
- OP_NODE_NETWORK=katana-testnet
|
||||
- OP_NODE_OVERRIDE_ISTHMUS=1749807000
|
||||
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=19484
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=19484
|
||||
- OP_NODE_P2P_STATIC=/ip4/34.169.243.167/tcp/9222/p2p/16Uiu2HAmR2dH14jqFG27SNHU1B8N4GSHRpzprehXyFvMYgvAm32o
|
||||
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
|
||||
- OP_NODE_RPC_ADDR=0.0.0.0
|
||||
- OP_NODE_RPC_PORT=8545
|
||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||
- OP_NODE_SYNCMODE=consensus-layer
|
||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- katana-testnet
|
||||
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.katana-testnet-op-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/katana-testnet/node
|
||||
- traefik.http.services.katana-testnet-op-geth-pruned-pebble-path-node.loadbalancer.server.port=8547
|
||||
- ${NO_SSL:-traefik.http.routers.katana-testnet-op-geth-pruned-pebble-path-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-testnet-op-geth-pruned-pebble-path-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.katana-testnet-op-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/katana-testnet/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.katana-testnet-op-geth-pruned-pebble-path-node.rule=PathPrefix(`/katana-testnet/node`)}
|
||||
- traefik.http.routers.katana-testnet-op-geth-pruned-pebble-path-node.middlewares=katana-testnet-op-geth-pruned-pebble-path-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
katana-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:
|
||||
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
|
||||
...
|
||||
@@ -650,6 +650,12 @@
|
||||
"https://testrpc.xlayer.tech"
|
||||
]
|
||||
},
|
||||
"ronin-saigon": {
|
||||
"id": 2021,
|
||||
"urls": [
|
||||
"https://ronin-testnet.gateway.tenderly.co"
|
||||
]
|
||||
},
|
||||
"alephzero-sepolia": {
|
||||
"id": 2039,
|
||||
"urls": [
|
||||
@@ -734,10 +740,6 @@
|
||||
"https://rpc.sepolia-api.lisk.com"
|
||||
]
|
||||
},
|
||||
"megaeth": {
|
||||
"id": 4326,
|
||||
"urls": []
|
||||
},
|
||||
"iotex": {
|
||||
"id": 4689,
|
||||
"urls": [
|
||||
@@ -792,7 +794,7 @@
|
||||
"https://opbnb-testnet-rpc.publicnode.com"
|
||||
]
|
||||
},
|
||||
"megaeth-deprecated": {
|
||||
"megaeth-testnet": {
|
||||
"id": 6342,
|
||||
"urls": [
|
||||
"https://carrot.megaeth.com/rpc"
|
||||
@@ -1037,12 +1039,6 @@
|
||||
"https://rpc.testnet.tempo.xyz"
|
||||
]
|
||||
},
|
||||
"tempo-moderato-testnet": {
|
||||
"id": 42431,
|
||||
"urls": [
|
||||
"https://rpc.moderato.tempo.xyz"
|
||||
]
|
||||
},
|
||||
"hemi": {
|
||||
"id": 43111,
|
||||
"urls": [
|
||||
@@ -1339,12 +1335,6 @@
|
||||
"https://evm-rpc.arctic-1.seinetwork.io"
|
||||
]
|
||||
},
|
||||
"katana-testnet": {
|
||||
"id": 737373,
|
||||
"urls": [
|
||||
"https://rpc-bokuto.katanarpc.com"
|
||||
]
|
||||
},
|
||||
"hemi-testnet": {
|
||||
"id": 743111,
|
||||
"urls": [
|
||||
@@ -1354,9 +1344,7 @@
|
||||
"katana": {
|
||||
"id": 747474,
|
||||
"urls": [
|
||||
"https://rpc.katana.network",
|
||||
"https://katana.gateway.tenderly.co/",
|
||||
"https://rpc.katanarpc.com/"
|
||||
"https://rpc.katana.network"
|
||||
]
|
||||
},
|
||||
"ink-sepolia": {
|
||||
@@ -1534,18 +1522,6 @@
|
||||
"https://rpc.arb-blueberry.gelato.digital"
|
||||
]
|
||||
},
|
||||
"aztec-devnet": {
|
||||
"rollup_version": "1647720761",
|
||||
"urls": [
|
||||
"https://devnet-6.aztec-labs.com/"
|
||||
]
|
||||
},
|
||||
"aztec-testnet": {
|
||||
"rollup_version": "2500495677",
|
||||
"urls": [
|
||||
"https://rpc.testnet.aztec-labs.com"
|
||||
]
|
||||
},
|
||||
"core-pigeon": {
|
||||
"id": 1114,
|
||||
"urls": [
|
||||
@@ -1559,12 +1535,6 @@
|
||||
"https://rpc.testnet3.goat.network"
|
||||
]
|
||||
},
|
||||
"ronin-saigon": {
|
||||
"id": 2021,
|
||||
"urls": [
|
||||
"https://ronin-testnet.gateway.tenderly.co"
|
||||
]
|
||||
},
|
||||
"starknet": {
|
||||
"id": 23448594291968336,
|
||||
"urls": [
|
||||
|
||||
Reference in New Issue
Block a user