Skip to content

Commit 2733265

Browse files
committed
Add additional note
1 parent 52837aa commit 2733265

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ after the migration. [`OnRuntimeUpgrade::pre_upgrade`] returns a [`Vec<u8>`] tha
135135
arbitrary encoded data (usually some pre-upgrade state) which will be passed to
136136
[`OnRuntimeUpgrade::pre_upgrade`] after upgrading and used for post checking.
137137

138+
**Note on Multi-Block Migrations (MBM):** If the runtime uses MBMs, the standard
139+
`pre_upgrade` and `post_upgrade` checks might be skipped by the executive. To
140+
force these hooks to run synchronously for testing, use the `--disable-mbm-checks` flag.
141+
138142
### [`VersionedMigration`]
139143

140144
It is strongly suggested to use [`VersionedMigration`] when writing custom migrations for

0 commit comments

Comments
 (0)