difftreelog
Update readme
in: master
1 file changed
tests/src/migrations/942057-appPromotion/README.mddiffbeforeafterboth1## Stakers Data Loading23Set the environment variable (WS_RPC). For example, ws://localhost:9944. Execute the following command:45chainql --tla-str=chainUrl=<WS_RPC> stakersParser.jsonnet > output.json67 where <WS_RPC> - is the network address.89Example for Opal:10:1112chainql --tla-str=chainUrl=wss://eu-ws-opal.unique.network:443 stakersParser.jsonnet > output.json1314To install chainql, execute the following command:151617cargo install chainql1819## Execute offchain migration2021To run, you need to add an environment variable (SUPERUSER_SEED) with the sudo key seed.2223Run the script by executing the following command:2425npx ts-node lockedToFreeze.ts1# Update Procedure23- Enable maintenance mode4- [Collect migration data using ChainQL](#stakers-data-loading)5- ❗️❗️❗️ Initiate the runtime upgrade only at this point ❗️❗️❗️6- Wait for the upgrade to complete7- [Execute offchain migration](#execute-offchain-migration)8- Disable maintenance mode910## Stakers Data Loading1112Set the environment variable (WS_RPC). For example, ws://localhost:9944. Execute the following command:1314```sh15chainql --tla-str=chainUrl=<WS_RPC> stakersParser.jsonnet > output.json16```1718where `<WS_RPC>` - is the network address.1920Example for Opal:2122```sh23chainql --tla-str=chainUrl=wss://eu-ws-opal.unique.network:443 stakersParser.jsonnet > output.json24```2526To install chainql, execute the following command:2728```sh29cargo install chainql30```3132## Execute offchain migration3334To run, you need to add an environment variable (`SUPERUSER_SEED`) with the sudo key seed.3536Run the script by executing the following command:3738```sh39npx ts-node --esm lockedToFreeze.ts40```