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 }}
Repository navigation
on-runtime-upgrade does not run neither pre_upgrade nor post_upgrade without --disable-mbm-checks #109
The pre_upgrade nor post_upgrade hooks are only triggered when I add --disable-mbm-checks. It could mean that for MBM migrations we don't check pre_upgrade / post_upgrade - maybe intentional?
Hm, looks like the flag should be swapped. Weird since i though there are tests for this 😓
I assume there were cases that there is a single-block and a multi-block migration for some part of the state and the single-block post checks would faill before the MBM ran, but there are ways to fix this. Not sure what my thinking here was.
I assume there were cases that there is a single-block and a multi-block migration for some part of the state and the single-block post checks would faill before the MBM ran, but there are ways to fix this.
yes, that could be it, for polkadot-fellows we don't use MBM yet, but for polkadot-sdk testnets we do
Activity
ggwpez commentedon Feb 12, 2025
Hm, looks like the flag should be swapped. Weird since i though there are tests for this 😓
I assume there were cases that there is a single-block and a multi-block migration for some part of the state and the single-block post checks would faill before the MBM ran, but there are ways to fix this. Not sure what my thinking here was.
bkontur commentedon Feb 12, 2025
yes, that could be it, for polkadot-fellows we don't use MBM yet, but for polkadot-sdk testnets we do
Remove migrations `..v1.4.2` + disable MBM migrations for all runtime…