File tree Expand file tree Collapse file tree 2 files changed +2
-36
lines changed
Expand file tree Collapse file tree 2 files changed +2
-36
lines changed Original file line number Diff line number Diff line change @@ -2035,25 +2035,8 @@ pub type Executive = frame_executive::Executive<
20352035 Migrations ,
20362036> ;
20372037
2038- pub struct RemoveXTokensMigrationStatus < T > ( frame_support:: pallet_prelude:: PhantomData < T > ) ;
2039-
2040- impl < T : frame_system:: Config > frame_support:: traits:: OnRuntimeUpgrade for RemoveXTokensMigrationStatus < T > {
2041- fn on_runtime_upgrade ( ) -> Weight {
2042- let key = frame_support:: storage:: storage_prefix ( b"XTokens" , b"MigrationStatus" ) ;
2043- log:: info!(
2044- "key: {:?}, exists: {:?}" ,
2045- key,
2046- frame_support:: storage:: unhashed:: exists( & key)
2047- ) ;
2048-
2049- frame_support:: storage:: unhashed:: kill ( & key) ;
2050-
2051- T :: DbWeight :: get ( ) . writes ( 1 )
2052- }
2053- }
2054-
20552038#[ allow( unused_parens) ]
2056- type Migrations = ( RemoveXTokensMigrationStatus < Runtime > ) ;
2039+ type Migrations = ( ) ;
20572040
20582041#[ cfg( feature = "runtime-benchmarks" ) ]
20592042mod benches {
Original file line number Diff line number Diff line change @@ -2042,25 +2042,8 @@ pub type Executive = frame_executive::Executive<
20422042 Migrations ,
20432043> ;
20442044
2045- pub struct RemoveXTokensMigrationStatus < T > ( frame_support:: pallet_prelude:: PhantomData < T > ) ;
2046-
2047- impl < T : frame_system:: Config > frame_support:: traits:: OnRuntimeUpgrade for RemoveXTokensMigrationStatus < T > {
2048- fn on_runtime_upgrade ( ) -> Weight {
2049- let key = frame_support:: storage:: storage_prefix ( b"XTokens" , b"MigrationStatus" ) ;
2050- log:: info!(
2051- "key: {:?}, exists: {:?}" ,
2052- key,
2053- frame_support:: storage:: unhashed:: exists( & key)
2054- ) ;
2055-
2056- frame_support:: storage:: unhashed:: kill ( & key) ;
2057-
2058- T :: DbWeight :: get ( ) . writes ( 1 )
2059- }
2060- }
2061-
20622045#[ allow( unused_parens) ]
2063- type Migrations = ( RemoveXTokensMigrationStatus < Runtime > ) ;
2046+ type Migrations = ( ) ;
20642047
20652048#[ cfg( feature = "runtime-benchmarks" ) ]
20662049mod benches {
You can’t perform that action at this time.
0 commit comments