@@ -193,7 +193,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
193
193
spec_name : Cow :: Borrowed ( "astar" ) ,
194
194
impl_name : Cow :: Borrowed ( "astar" ) ,
195
195
authoring_version : 1 ,
196
- spec_version : 1601 ,
196
+ spec_version : 1700 ,
197
197
impl_version : 0 ,
198
198
apis : RUNTIME_API_VERSIONS ,
199
199
transaction_version : 3 ,
@@ -1727,30 +1727,11 @@ pub type Executive = frame_executive::Executive<
1727
1727
pub type Migrations = ( Unreleased , Permanent ) ;
1728
1728
1729
1729
/// Unreleased migrations. Add new ones here:
1730
- pub type Unreleased = ( DemocracyVersionReset < Runtime > , ) ;
1730
+ pub type Unreleased = ( ) ;
1731
1731
1732
1732
/// Migrations/checks that do not need to be versioned and can run on every upgrade.
1733
1733
pub type Permanent = ( pallet_xcm:: migration:: MigrateToLatestXcmVersion < Runtime > , ) ;
1734
1734
1735
- // Remove this after runtime-1601 is applied.
1736
- use frame_support:: {
1737
- migration:: clear_storage_prefix,
1738
- traits:: { OnRuntimeUpgrade , StorageVersion } ,
1739
- } ;
1740
- pub struct DemocracyVersionReset < T > ( PhantomData < T > ) ;
1741
- impl < T : frame_system:: Config + pallet_democracy:: Config > OnRuntimeUpgrade
1742
- for DemocracyVersionReset < T >
1743
- {
1744
- fn on_runtime_upgrade ( ) -> Weight {
1745
- StorageVersion :: new ( 1 ) . put :: < pallet_democracy:: Pallet < T > > ( ) ;
1746
-
1747
- let pallet_prefix: & [ u8 ] = b"DemocracyMBM" ;
1748
- let _ignore = clear_storage_prefix ( pallet_prefix, & [ ] , & [ ] , Some ( 1 ) , None ) ;
1749
-
1750
- T :: DbWeight :: get ( ) . writes ( 2 )
1751
- }
1752
- }
1753
-
1754
1735
type EventRecord = frame_system:: EventRecord <
1755
1736
<Runtime as frame_system:: Config >:: RuntimeEvent ,
1756
1737
<Runtime as frame_system:: Config >:: Hash ,
0 commit comments