Genesis Sync (no cosmovisor)
Sync an archive node with the entire chain state.
Genesis Sync requires at least 32gb system memory (RAM) for handling the migration included with the update to `v2.0.1-fix`
Note: Steps may have multiple options. Be sure to choose the tab that matches your machine / desired setup.
Before starting your node, it's a good idea to think about how you want to run it so that the process does not get killed accidentally. This is not obvious for beginners. GNU screen is a great option for beginners. More advanced setups can be achieved using systemd.
When syncing from genesis, simply start your layer node with the command:
You should now see your log quickly downloading blocks!
When syncing the chain from genesis, changing binaries at each upgrade height is required. The upgrades for the current layertest-2 chain are as follows:
Applying Upgrade v2.0.0-audit
v2.0.0-audit
Let the node sync until it reaches height: "744999" (or wait for node to stop on it's own at this height). Height can be checked by viewing the logs, or use the command:
Stop your layer node then checkout git commit #9129e1463c3b8e4a04e8797fb36a3b0ffb6ec23c for building v2.0.0-audit:
When the build finishes, start your node back up with ./layerd start
Applying Upgrade v2.0.1
v2.0.1
Let the node sync until it reaches height: "931104
" (or wait for node to stop at this height)
Stop your layer node then checkout the tag v2.0.1-fix:
The start your layer process up again with ./layerd start
The node can now fully sync.
Finish Syncing
Check if you're fully synced. Open another terminal window and use the command:
You should see a json formated list of information about your running node. If you see catching_up":false
that means that you're node is fully synced and ready to use!
Last updated