0xPolygonHermez / zkevm-node

Go implementation of a node that operates the Polygon zkEVM Network
Other
533 stars 687 forks source link

The Sequencer is taking too long to start. #3636

Open giskook opened 4 months ago

giskook commented 4 months ago

System information

zkEVM Node version: v0.6.7 OS & Version: Windows/Linux/OSX Commit hash : (if develop) Network: Mainnet/Testnet

Expected behaviour

The sequencer‘s startup time should not be too long

Actual behaviour

Some time may take more than 3 minutes (X Layer testnet)

Steps to reproduce the behaviour

Seems related with DS, will reproduce it.

Backtrace

[backtrace]
zjg555543 commented 4 months ago

After multiple retests, but it didn't occur again.

agnusmor commented 4 months ago

Hi, yes, probably it was realted with the update of the datastream file. I don't know if you have enabled datasream after the sequencer was working from some time. If you have done this, the first time sequencer starts after enable datastream it generates the datastream file with all the existing data in the trusted state and this can take some time.