Skip to content

fix: Add migration to clean bloated ismp storages#1371

Open
F3Joule wants to merge 5 commits intomasterfrom
fix/hyperbridge-cleanup
Open

fix: Add migration to clean bloated ismp storages#1371
F3Joule wants to merge 5 commits intomasterfrom
fix/hyperbridge-cleanup

Conversation

@F3Joule
Copy link
Contributor

@F3Joule F3Joule commented Feb 20, 2026

Description

Introduce a multi-block migration aimed at cleaning up old entries in specific ISMP storages.

Related Issue

Fixes #1346

Tests to do

  • "Measure" the migration on a mainnet state

@F3Joule F3Joule self-assigned this Feb 20, 2026
@github-actions
Copy link

github-actions bot commented Feb 20, 2026

Crate versions that have not been updated:

  • runtime-integration-tests: v1.69.1
  • hydradx-runtime: v396.0.0

Crate versions that have been downgraded:

  • pallet-omnipool: v6.1.0 -> v6.0.0

Runtime version has not been increased.

@github-actions
Copy link

Quick benchmark at commit 01d514b has been executed successfully.
View results

@cl0w5
Copy link
Contributor

cl0w5 commented Feb 24, 2026

@F3Joule did you test this on some mainnet fork such as lark? How many blocks does it need to complete?

@F3Joule F3Joule marked this pull request as ready for review February 25, 2026 13:02
@cl0w5
Copy link
Contributor

cl0w5 commented Feb 27, 2026

consider using the more efficient
sp_io::storage::clear_prefix(&prefix, Some(1000))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Clean storage of HyperBridge

2 participants