difftreelog
Update readme
in: master
1 file changed
tests/src/migrations/942057-appPromotion/README.mddiffbeforeafterboth1# 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 mode91## Stakers Data Loading10## Stakers Data Loading2113Set the environment variable (WS_RPC). For example, ws://localhost:9944. Execute the following command:12Set the environment variable (WS_RPC). For example, ws://localhost:9944. Execute the following command:41314```sh5chainql --tla-str=chainUrl=<WS_RPC> stakersParser.jsonnet > output.json15chainql --tla-str=chainUrl=<WS_RPC> stakersParser.jsonnet > output.json16```6177 where <WS_RPC> - is the network address.18where `<WS_RPC>` - is the network address.8199Example for Opal:20Example for Opal:10:112122```sh12chainql --tla-str=chainUrl=wss://eu-ws-opal.unique.network:443 stakersParser.jsonnet > output.json23chainql --tla-str=chainUrl=wss://eu-ws-opal.unique.network:443 stakersParser.jsonnet > output.json24```132514To install chainql, execute the following command:26To install chainql, execute the following command:15162728```sh17cargo install chainql29cargo install chainql30```183119## Execute offchain migration32## Execute offchain migration203321To run, you need to add an environment variable (SUPERUSER_SEED) with the sudo key seed.34To run, you need to add an environment variable (`SUPERUSER_SEED`) with the sudo key seed.223523Run the script by executing the following command:36Run the script by executing the following command:243738```sh25npx ts-node lockedToFreeze.ts39npx ts-node --esm lockedToFreeze.ts40```