simple-optimism-node: eth.blockNumber not increase for 1 hour
version
commit 2b539d9aaa34cf314916ab2d410434fba0006277 (HEAD -> main, origin/main, origin/HEAD)
Author: smartcontracts <kelvin@optimism.io>
Date: Thu Dec 1 00:35:39 2022 -0500
issue
eth.blockNumber not increase for 1 hour
how to reproduce
git clone simple-optimism-node
modify .env
# Network to run the node on ("mainnet" or "goerli")
NETWORK_NAME=mainnet
# Type of node to run ("full" or "archive"), note that "archive" is 10x bigger
NODE_TYPE=full
# Where to sync data from ("l1" or "l2"), see README for more information
SYNC_SOURCE=l1
# Reference L2 node to run healthcheck against
HEALTHCHECK__REFERENCE_RPC_PROVIDER=https://opt-mainnet.g.alchemy.com/v2/<key>
# L1 node to run fault detection against
FAULT_DETECTOR__L1_RPC_PROVIDER=http://<ethereum-rpc>
# Node to get chain data from (if SYNC_SOURCE is "l1" then use L1 node, etc.)
DATA_TRANSPORT_LAYER__RPC_ENDPOINT=http://<ethereum-rpc>
docker compose up -d
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
845477228b4e ethereumoptimism/data-transport-layer:latest "/bin/sh -c /scripts…" 44 minutes ago Up 44 minutes 0.0.0.0:7878->7878/tcp, :::7878->7878/tcp simple-optimism-node-dtl-1
8ace284f0b6d ethereumoptimism/fault-detector:latest "docker-entrypoint.s…" 44 minutes ago Up About a minute 0.0.0.0:7301->7300/tcp, :::7301->7300/tcp simple-optimism-node-fault-detector-1
e371f27d7e22 quay.io/influxdb/influxdb:1.6 "/entrypoint.sh infl…" 44 minutes ago Up 44 minutes 0.0.0.0:8086->8086/tcp, :::8086->8086/tcp simple-optimism-node-influxdb-1
241eb0893188 prom/prometheus:latest "/bin/prometheus --c…" 44 minutes ago Up 44 minutes 0.0.0.0:9090->9090/tcp, :::9090->9090/tcp simple-optimism-node-prometheus-1
a64d9c78274d ethereumoptimism/l2geth:latest "/bin/sh -c '/script…" 44 minutes ago Up 44 minutes 8547/tcp, 0.0.0.0:9991->8545/tcp, :::9991->8545/tcp, 0.0.0.0:9992->8546/tcp, :::9992->8546/tcp simple-optimism-node-l2geth-1
f4441f510b53 grafana/grafana:9.3.0 "/run.sh" 44 minutes ago Up 44 minutes 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp simple-optimism-node-grafana-1
a4f665ffc2c6 ethereumoptimism/replica-healthcheck:latest "npm run start" 44 minutes ago Up 44 minutes 0.0.0.0:7300->7300/tcp, :::7300->7300/tcp simple-optimism-node-healthcheck-1
get into the l2geth container:
$ docker exec -it a64d9c78274d sh
inside the container
cd /geth
geth attach geth.ipc
the blockNumber is not increase for 1 hour
> eth.syncing
false
> eth.blockNumber
7255772
> eth.blockNumber
7255772
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (4 by maintainers)
@dandavid3000 @huahuayu Idk is it helpful or not:
Found this in l2geth logs on start -
Block not found, resetting index,But I resolved It increasing TARGET_GAS_LIMIT from 15000000 to 30000000 in /simple-optimism-node/envs/mainnet/l2geth.env
It’s one day and the block number hasn’t increased o.O.
dtl block
dtl log
l2geth log: