Skip to content

Commit

Permalink
Merge pull request #13 from EspressoSystems/finalized-blocks
Browse files Browse the repository at this point in the history
Enable post-merge dev mode
  • Loading branch information
Ancient123 authored Mar 1, 2024
2 parents 5e61d9c + 828e9ff commit 3709413
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
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

0 comments on commit 3709413

Please sign in to comment.