Migration PoSA to PoS

Instruction on this page for owner of node form POSA.

Migration Steps

1. Stop Geth

sudo systemctl stop geth

2. Download and Install Geth

sudo curl -L https://bkc-storage.obs.ap-southeast-2.myhuaweicloud.com/geth/v2.1.0/geth-linux-amd64-go1-18-10 -o /usr/bin/geth
sudo chmod +x /usr/bin/geth

Check geth version

/usr/bin/geth version

The result after running commands

Geth
Version: 2.1.0-bkc-stable
Git Commit: 8ee545524b9411c306ebb62bcbfa4536264e20c2
Git Commit Date: 20230802
...

3. Download and Re-initial genesis file

  • Mainnet

# Download Chaophraya Genesis file
curl https://raw.githubusercontent.com/bitkub-chain/bkc-node/v2.0.0/mainnet/genesis.json -o genesis.json

# Re-initial Genesis Block
geth --datadir /bkc-node/mainnet/data init ./genesis.json
  • Testnet

# Download Chaophraya Genesis file
curl https://raw.githubusercontent.com/bitkub-chain/bkc-node/v2.0.0/testnet/genesis.json -o genesis.json

# Re-initial Genesis Block
geth --datadir /bkc-node/testnet/data init ./genesis.json

4. Start Geth

systemctl start geth.service

If you run the new validator node please follow the setup in this section.

Last updated