Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile.l1
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM ethereum/client-go:v1.13.0
FROM ethereum/client-go:v1.13.14

RUN apk add --no-cache jq curl

COPY entrypoint-l1.sh /entrypoint.sh

VOLUME ["/db"]

HEALTHCHECK --start-period=300s --start-interval=1s CMD curl --fail http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}'
# HEALTHCHECK --start-period=300s --start-interval=1s CMD curl --fail http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}'

ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]
8 changes: 4 additions & 4 deletions config/genesis-staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"londonBlock": 0,
"arrowGlacierBlock": 0,
"grayGlacierBlock": 0,
"clique": {
"period": 12,
"epoch": 30000
}
"shanghaiTime": 0,
"terminalTotalDifficulty": 0,
"terminalTotalDifficultyPassed": true,
"isDev": true
},
"nonce": "0x0",
"timestamp": "0x6511b40b",
Expand Down
2 changes: 2 additions & 0 deletions entrypoint-l1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ fi
# pruned within minutes of starting the devnet.

exec geth \
--dev \
--dev.period=12 \
--datadir="$GETH_DATA_DIR" \
--verbosity="$VERBOSITY" \
--http \
Expand Down