-
Team or ProjectNo response Module Affected
Rust Version1.82.0-nightly Operating System
Issue DescriptionI wanted sync an new Era external node from genesis, I have followed the external node docker example: https://github.com/matter-labs/zksync-era/blob/main/docs/src/guides/external-node/docker-compose-examples/mainnet-external-node-docker-compose.yml, kept most of the configs in the example, except disabling snapshot recovery (I need to get all of the traces from the genesis). But the external node just refuses to run, with a "Root hash mismatched" error (see below) Expected BehaviorThe external node should run smoothly and sync from the genesis Current Behavior
Repository Link (if applicable)No response Additional DetailsNo response Prior Research
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
Hi @windycrypto! This likely caused by a mismatched dependency. Can you try these steps and try again?
|
Beta Was this translation helpful? Give feedback.
Sorry for the late reply.
Right now, the genesis sync is not a recommended way to run the external node, as the synchronization process was never optimized for that use case. As a result, we don't perform continuous testing for genesis sync, and cannot guarantee that there won't be any issues (the EN is guaranteed to never serve incorrect state, but there might be issues related to syncrhonization, especially on the older blocks).
However, regarding getting customized data that doesn't exist in the raw database: the database has all the data the node was capable of producing when it executed each corresponding block. I might try to guess that you might want to access traces for very old b…