Skip to content

Latest commit

 

History

History
75 lines (51 loc) · 2.1 KB

UPGRADE-TESTENV.md

File metadata and controls

75 lines (51 loc) · 2.1 KB

How to upgrade the test environment

SDK

Prerequisites

  • Version number of the raiden-contracts (e.g. 0.37.1)
  • Git tag name related to the chosen version at the raiden-contracts repository (e.g. v0.37.1)

Raiden Contracts Submodule

$ cd ./raiden-ts/raiden-contracts
$ git checkout v0.37.1

Version Generation Script

Edit the file ./raiden-ts/scripts/versions.js and change the following line according to the chosen version number (not the tag name).

const contracts_version = "0.37.1";

Verify Build

$ pnpm run clean --filter raiden-ts
$ pnpm install

Docker Images

Prerequisites

Next, tag the image:

$ docker tag 373170d05c6c raidennetwork/raiden:demoenv001

Matrix & Raiden Services

Every Raiden release comes hand-in-hand with a Raiden Service Bundle (RSB). The configured setup for the Light Client uses per default the demo001.env environment. The related service URLs are:

The environments needs to be updated according to the documentation of the selected RSB release.

Raiden Hub

Checkout the documentation for the hub.raiden.network resource. The resource it's repository includes all relevant configuration files to build a new image.

If the resource has been updated successfully, check if the hub is online and attempt to open a channel to it. Finally try to do a transfer with the hub.

End-to-End Tests (Optional)

The Light client uses a Docker image to run nightly end-to-end tests. To upgrade this image, checkout the according documentation.