Skip to content

Commit

Permalink
doc(try_runtime): update try_runtime.md internal ips (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
renauter authored Feb 21, 2024
1 parent 3460470 commit f5262a5
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions docs/misc/try_runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,28 @@

List of available endpoints for our networks:

- Devnet: 10.10.0.44
- QAnet: 10.10.0.43
- Devnet: 10.10.0.40
- QAnet: 10.10.0.42
- Testnet: 10.10.0.100
- Mainnet: 10.10.0.154

(If you are not in lochristi office you probably need vpn to reach to ips)
(If you are not in Lochristi office you probably need VPN to reach to ips)

## Select a network you wish to try the runtime upgrade upon

Now go the release you want to test with try-runtime and compile as following:
Now select the release you want to test with `try-runtime` and follow instructions [here](https://paritytech.github.io/try-runtime-cli/try_runtime/).
Example of commands sequence for running migrations of a given runtime on top of Devnet live state:

```sh
cargo run --release --features=try-runtime try-runtime --runtime ./target/release/wbuild/tfchain-runtime/tfchain_runtime.compact.wasm --chain chainspecs/NETWORK/chainSpecRaw.json on-runtime-upgrade live --uri NETWORK_URL
# Install try-runtime latest version (recommended for local development)
cargo install --git https://github.com/paritytech/try-runtime-cli --locked
```
```sh
# Compile substrate node
cd substrate-node
cargo build --features try-runtime --release
```
```sh
# Run the runtime migrations on top of Devnet live state
try-runtime --runtime ./target/release/wbuild/tfchain-runtime/tfchain_runtime.compact.compressed.wasm on-runtime-upgrade live --uri ws://10.10.0.40:9944
```

0 comments on commit f5262a5

Please sign in to comment.