Skip to content

Commit

Permalink
Exclude some migrations for now
Browse files Browse the repository at this point in the history
  • Loading branch information
rakanalh committed Feb 23, 2024
1 parent 796bf3a commit 41dd090
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions runtime/cere/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1037,11 +1037,7 @@ impl pallet_contracts::Config for Runtime {
type MaxStorageKeyLen = ConstU32<128>;
type UnsafeUnstableInterface = ConstBool<false>;
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
type Migrations = (
pallet_contracts::migration::v10::Migration<Runtime>,
pallet_contracts::migration::v11::Migration<Runtime>,
pallet_contracts::migration::v12::Migration<Runtime>,
);
type Migrations = ();
}

impl pallet_sudo::Config for Runtime {
Expand Down Expand Up @@ -1514,13 +1510,6 @@ impl OnRuntimeUpgrade for SetStorageVersions {
}
/// Runtime migrations
type Migrations = (
// Contracts migrate in sequence so make them last.
// Substrate upgrades run in reverse order so this migration
// is the last one to execute.
pallet_contracts::migration::Migration<Runtime>,
pallet_im_online::migration::v1::Migration<Runtime>,
pallet_democracy::migrations::v1::v1::Migration<Runtime>,
pallet_fast_unstake::migrations::v1::MigrateToV1<Runtime>,
pallet_multisig::migrations::v1::MigrateToV1<Runtime>,
pallet_scheduler::migration::v3::MigrateToV4<Runtime>,
pallet_scheduler::migration::v4::CleanupAgendas<Runtime>,
Expand Down

0 comments on commit 41dd090

Please sign in to comment.