Skip to content

Commit

Permalink
add comment about migrations for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
Roznovjak committed Aug 3, 2023
1 parent 1c6cd48 commit cf1f90c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions runtime/basilisk/src/migrations.rs
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
use super::*;

use frame_support::{
log, migration::storage_key_iter, pallet_prelude::*, traits::OnRuntimeUpgrade, weights::Weight, StoragePrefixedMap,
traits::OnRuntimeUpgrade, weights::Weight,
};
use pallet_asset_registry::{AssetLocations, LocationAssets};
use polkadot_xcm::v3::MultiLocation;

pub struct OnRuntimeUpgradeMigration;
impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration {
#[cfg(feature = "try-runtime")]
fn pre_upgrade() -> Result<Vec<u8>, &'static str> {
// TODO: include migrations for transaction pause and collator rewards pallets in the next release
// (not in the 106 release, because we don't use the latest pallet versions there).

Ok(vec![])
}

fn on_runtime_upgrade() -> Weight {
let mut weight: Weight = Weight::zero();

weight
Weight::zero()
}

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

0 comments on commit cf1f90c

Please sign in to comment.