too much to chekc
This commit is contained in:
@@ -29,8 +29,24 @@ x-logging-defaults: &logging-defaults
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
xlayer-testnet-op-reth-pruned-init:
|
||||
image: alpine:3.21
|
||||
user: root
|
||||
entrypoint: [/bin/sh, -c]
|
||||
command:
|
||||
- |
|
||||
apk add --no-cache curl wget
|
||||
mkdir -p /config
|
||||
[ -f /config/genesis.json ] || wget -qO- "https://okg-pub-hk.oss-cn-hongkong.aliyuncs.com/cdn/chain/xlayer/snapshot/merged.genesis.json.tar.gz" | tar -xzf - -O --wildcards "*.json" > /config/genesis.json
|
||||
restart: no
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/xlayer/testnet:/config
|
||||
logging: *logging-defaults
|
||||
|
||||
xlayer-testnet-op-reth-pruned:
|
||||
image: ${XLAYER_RETH_IMAGE:-ghcr.io/paradigmxyz/op-reth}:${XLAYER_TESTNET_RETH_VERSION:-v1.10.2}
|
||||
image: ${XLAYER_RETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-reth}:${XLAYER_TESTNET_RETH_VERSION:-v2.3.0}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
@@ -54,7 +70,7 @@ services:
|
||||
- GENESIS_URL=https://okg-pub-hk.oss-cn-hongkong.aliyuncs.com/cdn/chain/xlayer/snapshot/merged.genesis.json.tar.gz
|
||||
entrypoint: [op-reth, node]
|
||||
command:
|
||||
- --chain=xlayer-testnet
|
||||
- --chain=/config/genesis.json
|
||||
- --config=/config/reth/reth.toml
|
||||
- --datadir=/root/.local/share/reth
|
||||
- --engine.cross-block-cache-size=${XLAYER_TESTNET_RETH_STATE_CACHE:-4096}
|
||||
@@ -85,6 +101,9 @@ services:
|
||||
- --authrpc.jwtsecret=/jwtsecret
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
depends_on:
|
||||
xlayer-testnet-op-reth-pruned-init:
|
||||
condition: service_completed_successfully
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
@@ -130,6 +149,7 @@ services:
|
||||
- OP_NODE_METRICS_PORT=7300
|
||||
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_BOOTNODES=enode://eaae9fe2fc758add65fe4cfd42918e898e16ab23294db88f0dcdbcab2773e75bbea6bfdaa42b3ed502dfbee1335c242c602078c4aa009264e4705caa20d3dca7@8.210.181.50:9223
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=16456
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=16456
|
||||
@@ -179,7 +199,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain:
|
||||
chain: xlayer-testnet
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
Reference in New Issue
Block a user