Skip to content

Commit

Permalink
add migration to clean StateTrieMigration
Browse files Browse the repository at this point in the history
  • Loading branch information
zjb0807 committed Aug 28, 2024
1 parent 05183fa commit 0fecb68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion runtime/karura/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1993,8 +1993,12 @@ pub type Executive = frame_executive::Executive<
Migrations,
>;

parameter_types! {
pub const StateTrieMigrationName: &'static str = "StateTrieMigration";
}

#[allow(unused_parens)]
type Migrations = ();
type Migrations = (frame_support::migrations::RemovePallet<StateTrieMigrationName, RocksDbWeight>);

#[cfg(feature = "runtime-benchmarks")]
#[macro_use]
Expand Down

0 comments on commit 0fecb68

Please sign in to comment.