Migrate from Sentinel Turing-1 to Turing-2
-
Stop the
sentinel-turing-1
chain. -
Download and install the latest version of the sentinel hub
-
Run the following command to download the Hub code
go get -u github.com/sentinel-official/hub
-
Navigate to the hub directory
cd ${GOPATH}/src/github.com/sentinel-official/hub
-
Checkout to the version v0.2.0
git checkout v0.2.0
-
Install the hub
make install
-
-
Start the Sentinel Hub
-
Initializing the default genesis and validator files
sentinel-hubd init <moniker of the validator>
-
Download the final genesis file
wget https://raw.githubusercontent.com/sentinel-official/testnets/master/turing-2/genesis.json -O ${HOME}/.sentinel-hubd/config/genesis.json
-
Add seed nodes
- Open the file
${HOME}/.sentinel-hubd/config/config.toml
with a text editor - Find the field
seeds = ""
. By default it is line number142
. - Insert the below seed nodes (if there are multiple nodes separate with a comma)
- Save the file
- Open the file
-
Reset the chain data
sentinel-hubd unsafe-reset-all
-
Start the chain
sentinel-hubd start
-