[email protected] 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
Last modified 8d ago