Skip to content

Conversation

@zjb0807
Copy link
Contributor

@zjb0807 zjb0807 commented Oct 22, 2025

Add migrations to clean the storage.

parameter_types! {
    pub const XTokensPallet: &'static str = "XTokens";
    pub const MigrationStatus: &'static str = "MigrationStatus";
}

pub type Migrations = (
    RemoveStorage<XTokensPallet, MigrationStatus, RocksDbWeight>,
);

@zjb0807 zjb0807 requested a review from xlc October 22, 2025 03:37
@codecov
Copy link

codecov bot commented Oct 22, 2025

Codecov Report

❌ Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 65.65%. Comparing base (937ac46) to head (e35eba3).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
xtokens/src/lib.rs 95.23% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1035      +/-   ##
==========================================
- Coverage   65.97%   65.65%   -0.32%     
==========================================
  Files          48       48              
  Lines        3697     3689       -8     
==========================================
- Hits         2439     2422      -17     
- Misses       1258     1267       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zjb0807 zjb0807 merged commit 0069a63 into master Oct 22, 2025
5 of 6 checks passed
@zjb0807 zjb0807 deleted the remove-migration-phase branch October 22, 2025 03:50
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.

3 participants