Skip to content

Commit

Permalink
Merge pull request #574 from galacticcouncil/docs/try_runtime
Browse files Browse the repository at this point in the history
docs: try-runtime
  • Loading branch information
Roznovjak authored Nov 2, 2022
2 parents e8b6d75 + 86a862c commit 1a99f62
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,14 @@ Connect to the local testnet at `ws://localhost:9988` or live `wss://basilisk.hy
- 20 Mega Units equals 20:1 price
- 50 Kilo Units equals 0.05:1 price

### Testing of storage migrations and runtime upgrades

The `try-runtime` tool can be used to test storage migrations and runtime upgrades against state from a real chain.
Run the following command to test against the state on Basilisk on Kusama
```
cargo run --features=try-runtime try-runtime on-runtime-upgrade live --uri wss://rpc.basilisk.cloud:443
```
or against the Basilisk testnet on Rococo
```
cargo run --release --features=try-runtime try-runtime on-runtime-upgrade live --uri wss://rococo-basilisk-rpc.hydration.dev:443
```

0 comments on commit 1a99f62

Please sign in to comment.