REI Network Documents
  • REI Network
    • Welcome to REI Network
    • Why We build REI Network
    • Introduction to $REI
  • Developer
    • Quick Start
    • API Reference
    • Token Addresses
    • System Contracts
      • StakeManager
      • Fee
      • ContractFee
      • Router
      • AbstractToken
      • CommissionShare
      • FeeToken
      • FeePool
      • ValidatorRewardPool
      • FreeFee
      • UnstakePool
      • FreeFeeToken
      • Config
    • Guides
      • Using The Graph
        • Using The Graph on REI Network
        • Running a Graph Node on REI Network
      • Using Gnosis Safe
      • Exchange Integration
  • REI DAO
    • What is REI DAO?
      • Background
      • Management content of REI DAO
      • How the REI DAO is implemented?
      • How REI DAO works?
    • Governance
      • About Governance
      • Governance Process
      • Voting with Snapshot
      • FAQ
    • Guides
      • Dashboard
      • Become a Validator
      • Jail Mechanism
      • Slash Mechanism
      • Voting for a Validator
      • Stake for Free Gas
      • Using BLS
        • Check BLS
      • REI@3.0.X Upgrade Guide
Powered by GitBook
On this page
  • Requirements
  • Upgrade methods
  • Check if the upgrade succeeds
  1. REI DAO
  2. Guides

REI@3.0.X Upgrade Guide

Requirements

System
CPU
Requirements

darwin

x86_64

MacOS 12.0.0+

arm64

MacOS 12.0.0+

linux

x86_64

glibc 2.28+, glibcxx 3.4.25+

arm64

not supported

Upgrade methods

  • Upgrade from npm:

npm install -g @rei-network/cli
  • Upgrade from source code:

git clone https://github.com/REI-Network/rei && cd rei
git checkout 3.0.2
npm install
cd packages/cli
npm link

Check if the upgrade succeeds

  • Command line:

Run

rei --version

Check whether the printed version is3.0.2

  • RPC:

NOTE: Please make sure the node turns on rpc module, and turns on rei API

Run (please replace REI_RPC_PORT)

curl -X POST -H 'Content-Type: application/json' --data '{"id":0,"jsonrpc":"2.0","method":"rei_getVersion","params":[]}' http://127.0.0.1:${REI_RPC_PORT}

Check whether the printed version is3.0.2

PreviousCheck BLS

Last updated 1 year ago