@@ -110,10 +110,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
110
110
spec_name : create_runtime_str ! ( "aleph-node" ) ,
111
111
impl_name : create_runtime_str ! ( "aleph-node" ) ,
112
112
authoring_version : 1 ,
113
- spec_version : 56 ,
113
+ spec_version : 57 ,
114
114
impl_version : 1 ,
115
115
apis : RUNTIME_API_VERSIONS ,
116
- transaction_version : 14 ,
116
+ transaction_version : 15 ,
117
117
state_version : 0 ,
118
118
} ;
119
119
@@ -778,13 +778,30 @@ pub type UncheckedExtrinsic =
778
778
generic:: UncheckedExtrinsic < Address , RuntimeCall , Signature , SignedExtra > ;
779
779
/// Extrinsic type that has already been checked.
780
780
pub type CheckedExtrinsic = generic:: CheckedExtrinsic < AccountId , RuntimeCall , SignedExtra > ;
781
+
782
+ // Migrations
783
+ use pallet_balances:: migration:: MigrateManyToTrackInactive as BalancesV1Migration ;
784
+ // All migrations for contracts are bundled into one object -- we must import them all.
785
+ use pallet_contracts:: Migration as ContractsMigrations ;
786
+ use pallet_scheduler:: migration:: v3:: MigrateToV4 as SchedulerV3V4Migration ;
787
+ use pallet_staking:: migrations:: v13:: MigrateToV13 as StakingV13Migration ;
788
+
781
789
/// Executive: handles dispatch to the various modules.
782
790
pub type Executive = frame_executive:: Executive <
783
791
Runtime ,
784
792
Block ,
785
793
frame_system:: ChainContext < Runtime > ,
786
794
Runtime ,
787
795
AllPalletsWithSystem ,
796
+ (
797
+ // This will just kill the custom versioning enum, and set StorageVersion to 1
798
+ BalancesV1Migration < Runtime , ( ) > ,
799
+ // This will trigger the v8 -> v9 migration, it translates all contract codes. Should not be too heavy.
800
+ ContractsMigrations < Runtime > ,
801
+ SchedulerV3V4Migration < Runtime > ,
802
+ // This only kills the custom versioning enum, and sets StorageVersion to 13
803
+ StakingV13Migration < Runtime > ,
804
+ ) ,
788
805
> ;
789
806
790
807
impl_runtime_apis ! {
0 commit comments