diff --git a/frame/bridge/crab/issuing/src/lib.rs b/frame/bridge/crab/issuing/src/lib.rs index 0088d8bfe4..d8c6268342 100644 --- a/frame/bridge/crab/issuing/src/lib.rs +++ b/frame/bridge/crab/issuing/src/lib.rs @@ -36,7 +36,7 @@ pub mod pallet { // --- darwinia --- use super::*; - // Advance type + // Generic type pub type AccountId = ::AccountId; pub type RingBalance = as Currency>>::Balance; type RingCurrency = ::RingCurrency; @@ -103,3 +103,11 @@ pub mod pallet { #[pallet::call] impl Pallet {} } + +pub mod migration { + const OLD_PALLET_NAME: &[u8] = b"DarwiniaCrabIssuing"; + + pub fn migrate(new_pallet_name: &[u8]) { + frame_support::migration::move_pallet(OLD_PALLET_NAME, new_pallet_name); + } +}