From 072900d5c341e339a0607757ea1a6a7848e5d17a Mon Sep 17 00:00:00 2001 From: goldsquid Date: Sat, 8 Nov 2025 05:23:03 +0700 Subject: [PATCH] fix --- op/geth/xlayer-mainnet-op-geth-pruned-pebble-path.yml | 2 +- op/geth/xlayer-testnet-op-geth-pruned-pebble-path.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/op/geth/xlayer-mainnet-op-geth-pruned-pebble-path.yml b/op/geth/xlayer-mainnet-op-geth-pruned-pebble-path.yml index ffade140..2eff9fdb 100644 --- a/op/geth/xlayer-mainnet-op-geth-pruned-pebble-path.yml +++ b/op/geth/xlayer-mainnet-op-geth-pruned-pebble-path.yml @@ -54,7 +54,7 @@ services: environment: - GENESIS_URL=https://okg-pub-hk.oss-cn-hongkong.aliyuncs.com/cdn/chain/xlayer/snapshot/merged.genesis.json.mainnet.tar.gz - GETH_ROLLUP_DISABLETXPOOLGOSSIP=true - entrypoint: /bin/sh -c "[ ! -f /config/genesis.json ] && (wget -qO- \"$GENESIS_URL\" | tar -xzf - -C /config && mv /config/*.json /config/genesis.json); [ ! -d /data/geth ] && geth init --datadir /data /config/genesis.json; exec geth \"\$@\"" -- + entrypoint: /bin/sh -c '[ ! -f /config/genesis.json ] && (mkdir -p /config/tmp && wget -qO- "https://okg-pub-hk.oss-cn-hongkong.aliyuncs.com/cdn/chain/xlayer/snapshot/merged.genesis.json.mainnet.tar.gz" | tar -xzf - -C /config/tmp && mv /config/tmp*.json /config/genesis.json && rm -rf /config/tmp); [ ! -d /data/geth ] && geth init --datadir /data /config/genesis.json; exec geth "$@"' -- command: - --config=/config/geth.toml - --datadir=/data diff --git a/op/geth/xlayer-testnet-op-geth-pruned-pebble-path.yml b/op/geth/xlayer-testnet-op-geth-pruned-pebble-path.yml index 997edfe1..b6de1c43 100644 --- a/op/geth/xlayer-testnet-op-geth-pruned-pebble-path.yml +++ b/op/geth/xlayer-testnet-op-geth-pruned-pebble-path.yml @@ -54,7 +54,7 @@ services: environment: - GENESIS_URL=https://okg-pub-hk.oss-cn-hongkong.aliyuncs.com/cdn/chain/xlayer/snapshot/merged.genesis.json.tar.gz - GETH_ROLLUP_DISABLETXPOOLGOSSIP=true - entrypoint: /bin/sh -c "[ ! -f /config/genesis.json ] && (wget -qO- \"$GENESIS_URL\" | tar -xzf - -C /config && mv /config/*.json /config/genesis.json); [ ! -d /data/geth ] && geth init --datadir /data /config/genesis.json; exec geth \"\$@\"" -- + entrypoint: /bin/sh -c '[ ! -f /config/genesis.json ] && (mkdir -p /config/tmp && wget -qO- "https://okg-pub-hk.oss-cn-hongkong.aliyuncs.com/cdn/chain/xlayer/snapshot/merged.genesis.json.tar.gz" | tar -xzf - -C /config/tmp && mv /config/tmp*.json /config/genesis.json && rm -rf /config/tmp); [ ! -d /data/geth ] && geth init --datadir /data /config/genesis.json; exec geth "$@"' -- command: - --config=/config/geth.toml - --datadir=/data