V0.2.12-beta1 Update for Bor Mumbai Testnet

Steps for Upgrading Bor on Mumbai Testnet Nodes

  1. Stop the bor service

    sudo service bor stop
    
  2. Navigate to bor directory

    cd ~/bor
    
  3. Fetch the latest changes and use Bor v0.2.12-beta1:

    git fetch
    git checkout v0.2.12-beta1
    
  4. Build latest changes

    make bor-all
    
  5. Go back to the home directory

    cd ~ 
    
  6. Download the latest genesis file. We are upgrading the genesis contract through changed genesis.

    curl https://raw.githubusercontent.com/maticnetwork/launch/f40b34dcaf4439df1d64a8fcf76873acc62d53c0/testnet-v4/sentry/sentry/bor/genesis.json --output ~/genesis.json
    
  7. Init bor with genesis file

    bor --datadir ~/.bor/data init ~/genesis.json
    

    If you are using a non-default datadir, please ensure you input the correct one you have been using.

  8. You should see the output as follows:

    ...
    ...
    INFO [12-03|19:57:02.531] Successfully wrote genesis state         database=chaindata                            hash=...
    ...
    INFO [12-03|19:57:02.556] Successfully wrote genesis state         database=lightchaindata                       hash=...
    ...
    ...
    
  9. Start the bor service

    sudo service bor start
    
1 Like