Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc(try_runtime): update try_runtime.md internal ips #957

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```
Loading