Closed YuXiaoCoder closed 1 month ago
Try replacing --networkid=10 with --op-network=op-mainnet
The service is up and running, synchronising headers now.
@opfocus How long will this process take?
INFO [04-09|20:20:21.614] Forkchoice requested sync to new head number=118,533,222 hash=fedefe..c029ba
INFO [04-09|20:20:24.252] Forkchoice requested sync to new head number=118,533,223 hash=177908..522036
INFO [04-09|20:20:26.248] Forkchoice requested sync to new head number=118,533,224 hash=0f1105..158aec
INFO [04-09|20:20:27.930] Forkchoice requested sync to new head number=118,533,225 hash=8849a9..6897c1
You also need peers for snap sync, you should ideally remove
--nodiscover --maxpeers=0
@opfocus How long will this process take?
INFO [04-09|20:20:21.614] Forkchoice requested sync to new head number=118,533,222 hash=fedefe..c029ba INFO [04-09|20:20:24.252] Forkchoice requested sync to new head number=118,533,223 hash=177908..522036 INFO [04-09|20:20:26.248] Forkchoice requested sync to new head number=118,533,224 hash=0f1105..158aec INFO [04-09|20:20:27.930] Forkchoice requested sync to new head number=118,533,225 hash=8849a9..6897c1
Sorry, I have not run a mainnet node . You can observe the log of the op-node sync process
to get a rough estimate.
You also need peers for snap sync, you should ideally remove
--nodiscover --maxpeers=0
I removed this flag and geth started syncing up, thanks
@opfocus How long will this process take?
INFO [04-09|20:20:21.614] Forkchoice requested sync to new head number=118,533,222 hash=fedefe..c029ba INFO [04-09|20:20:24.252] Forkchoice requested sync to new head number=118,533,223 hash=177908..522036 INFO [04-09|20:20:26.248] Forkchoice requested sync to new head number=118,533,224 hash=0f1105..158aec INFO [04-09|20:20:27.930] Forkchoice requested sync to new head number=118,533,225 hash=8849a9..6897c1
Sorry, I have not run a mainnet node . You can observe the log of the op-node
sync process
to get a rough estimate.
Thank you very much, I will check it out
System information
Geth version:
v1.101308.3
,us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth:v1.101308.3
OP-Node Version:v1.7.2
,us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:v1.7.2
OS & Version:Ubuntu 22.04 Docker
Expected behaviour
Expect to be able to synchronise a full node from zero by specifying syncmode=snap, Refer to the documentation: Snap-Sync
Actual behaviour
As per the documentation, I did not provide a bedrock datadir and specified networkid=10, but the boot log identifies the network id as 1
This causes OP-node to report an error as well.
Steps to reproduce the behaviour