download the genesis

This commit is contained in:
goldsquid
2026-01-11 16:39:47 +07:00
parent e71237963a
commit fc02491f69
11 changed files with 10 additions and 135 deletions

View File

@@ -55,7 +55,7 @@ services:
environment:
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
- GETH_ROLLUP_SEQUENCERHTTP=https://rpc.sepolia.mantle.xyz
entrypoint: /bin/sh -c 'exec geth "$@"' --
entrypoint: /bin/sh -c '[ ! -f /config/genesis.json ] && wget -qO /config/genesis.json "https://raw.githubusercontent.com/mantlenetworkio/networks/refs/heads/main/sepolia/genesis.json"; [ ! -d /data/geth ] && geth --gcmode=archive --db.engine=leveldb --datadir /data init --state.scheme=hash /config/genesis.json; exec geth "$@"' --
command:
- --datadir=/data
- --db.engine=leveldb