You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 27, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docs/knowledgebase/integrate/try-runtime.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,28 +40,35 @@ In order to query state, `try-runtime` makes use of Substrate's RPCs, namely [`S
40
40
41
41
The most common use case for `try-runtime` is with storage migrations and runtime upgrades.
42
42
43
-
> **Tip:** Combine `try-runtime` with `fork-off-substrate` to test your chain before production. Use `try-runtime` to test your
44
-
> chain's migration and its pre and post states. Then, use [`fork-off-substrate`][fork-off-gh] if you want to check that block
45
-
> production continues fine after the migration, and do some other arbitrary testing.
43
+
> **Tip:** Combine `try-runtime` with [`fork-off-substrate`][fork-off-gh] to test your chain before
44
+
> production. Use `try-runtime` to test your chain's migration and its pre and post states. Then,
45
+
> use `fork-off-substrate` if you want to check that block production continues fine after the
46
+
> migration, and do some other arbitrary testing.
46
47
47
48
### Calling into hooks from `OnRuntimeUpgrade`
49
+
48
50
By default, there are two ways of defining a runtime upgrade in the runtime. The `OnRuntimeUpgrade` trait provides the [different methods][onruntimeupgrade-method-rustdocs] to achieve this.
0 commit comments