Skip to content

Commit dd1581c

Browse files
chore: remove migrations from 2.1.0
1 parent 3c66401 commit dd1581c

File tree

6 files changed

+1
-869
lines changed

6 files changed

+1
-869
lines changed

substrate-node/pallets/pallet-smart-contract/src/contract_migration.rs

Lines changed: 0 additions & 302 deletions
This file was deleted.

substrate-node/pallets/pallet-smart-contract/src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ mod tests;
3737

3838
pub mod weights;
3939

40-
pub mod contract_migration;
4140
pub mod cost;
4241
pub mod name_contract;
4342
pub mod types;
@@ -427,10 +426,6 @@ pub mod pallet {
427426
let current_block_u64: u64 = block.saturated_into::<u64>();
428427
ContractsToBillAt::<T>::remove(current_block_u64);
429428
}
430-
431-
fn on_runtime_upgrade() -> Weight {
432-
contract_migration::migrate_to_version_4::<T>()
433-
}
434429
}
435430
}
436431

0 commit comments

Comments
 (0)