Skip to content

Next Asset Hub Paseo: Drop the pallet-revive v3 and v4 multi-block migrations - #277

Merged
andrzejSulkowski merged 3 commits into
mainfrom
fix/as-drop-revive-mbms
Nov 25, 2026
Merged

andrzejSulkowski merged 3 commits into
mainfrom
fix/as-drop-revive-mbms

Conversation

@andrzejSulkowski

@andrzejSulkowski andrzejSulkowski commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

The pallet-revive v3 and v4 multi-block migrations run on every runtime upgrade until MultiBlockMigrations.Historic lists them. They do not check whether the state is already migrated. A chain built from genesis has an empty Historic, so its first upgrade migrates state that is already in the v4 format.

On previewnet, try-runtime shows that v4 doubles the native deposit that NativeDepositOf records for each code upload (26635400000, expected 13317700000). A later code removal then refunds twice the deposit that the pallet holds.

Changes

  • Next Asset Hub Paseo no longer runs the pallet-revive v3 and v4 multi-block migrations.
  • Paseo Next v2 has run both migrations, and previewnet started from a genesis state that is already in the v4 format, so no network that runs this runtime needs them.

🤖 Generated with Claude Code

@andrzejSulkowski
andrzejSulkowski requested a review from a team November 25, 2026 16:56
@andrzejSulkowski andrzejSulkowski added D2-no audit No audit is needed C0-non-breaking This PR is not a breaking change for any runtime consuming it. labels Nov 25, 2026
andrzejSulkowski and others added 2 commits November 25, 2026 20:23
Co-authored-by: Guillaume Thiolliere <guillaume.thiolliere@parity.io>
Signed-off-by: Andrzej Sulkowski <developer@andrzej-sulkowski.com>
@andrzejSulkowski
andrzejSulkowski enabled auto-merge (squash) November 25, 2026 18:24
@andrzejSulkowski
andrzejSulkowski merged commit 16722bc into main Nov 25, 2026
19 of 21 checks passed
@andrzejSulkowski
andrzejSulkowski deleted the fix/as-drop-revive-mbms branch November 25, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C0-non-breaking This PR is not a breaking change for any runtime consuming it. D2-no audit No audit is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants