From cc44d1fe37e5ac3b0e11d28890f7b568233c4c4b Mon Sep 17 00:00:00 2001 From: evanorti Date: Wed, 18 Oct 2023 10:43:23 -0400 Subject: [PATCH] Update sync.mdx --- docs/full-node/run-a-full-terra-node/sync.mdx | 33 +++++++++++++++++-- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/docs/full-node/run-a-full-terra-node/sync.mdx b/docs/full-node/run-a-full-terra-node/sync.mdx index f0a93cefa..fe85ce0c5 100644 --- a/docs/full-node/run-a-full-terra-node/sync.mdx +++ b/docs/full-node/run-a-full-terra-node/sync.mdx @@ -63,7 +63,10 @@ Certain files will need to be absent or deleted before downloading a snapshot. A ## Sync from genesis -The process for syncing your full node from genesis will differ between the Pisco testnet and Phoenix mainnet networks. For the testnet, follow the [Pisco testnet sync instructions](#pisco-testnet). For the mainnet, follow the [Pheonix mainnet sync instructions](#pheonix-mainnet). +The process for syncing your full node from genesis will differ between the Pisco testnet and Phoenix mainnet networks. + +- For the testnet, follow the [Pisco testnet sync instructions](#pisco-testnet). +- For the mainnet, follow the [Pheonix mainnet sync instructions](#pheonix-mainnet). ### Pisco testnet @@ -222,7 +225,7 @@ From here, you can [monitor the sync](#monitor-the-sync). Make sure to check on ### Phoenix mainnet -If you would like to sync your node using the Phoenix mainnet, you will need to use version `v2.0.0` of terrad up until the block height of `890000`. To sync your node from block `890000` to block `2979805`, you will need to use version `v2.1.1` of terrad. From block `2979805` until block `4711800`, use version `v2.2.0` of terrad until block `4711800`. From block `4711800` until block `5994365`, use version `v2.3.0`. From block `5994365` onwards, use version `v2.4.0` to complete the sync. +If you would like to sync your node using the Phoenix mainnet, you will need to use version `v2.0.0` of terrad up until the block height of `890000`. To sync your node from block `890000` to block `2979805`, you will need to use version `v2.1.1` of terrad. From block `2979805` until block `4711800`, use version `v2.2.0` of terrad until block `4711800`. From block `4711800` until block `5994365`, use version `v2.3.0`. From block `5994365` until block `7316000`, use version `v2.4.0`. From block `7316000` onward, use version `v2.5.2`to complete the sync. 1. To switch to version `v2.0.0` of terrad, [change into your `core` directory](./build-terra-core.mdx#get-the-terra-core-source-code) and execute the following commands in your terminal: @@ -349,7 +352,31 @@ terrad version The result of this command should be `v2.4.0`. -12. Now, you can resume and finalize the syncing process: +12. Now, you can resume the syncing process: + +```sh Terminal +terrad start +``` + +Syncing will halt at block `7316000`, at which point you will need to change the version of terrad and then resume the syncing process. + +13. To sync your Phoenix mainnet node from block `7316000` to the most recent block, you will need to navigate to the `core` directory and change your terrad version to `v2.5.2`. + +```sh Terminal +git checkout v2.5.2 +make install +``` + +Again, make sure that you have switched to the correct version of terrad by running the following command: + +```sh Terminal +terrad version +``` + +The result of this command should be `v2.5.2`. + + +14. Now, you can resume and finalize the syncing process: ```sh Terminal terrad start