This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Commit a025f90 1 parent f5a3851 commit a025f90 Copy full SHA for a025f90
File tree 2 files changed +2
-20
lines changed
2 files changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -736,18 +736,9 @@ pub type Executive = frame_executive::Executive<
736
736
frame_system:: ChainContext < Runtime > ,
737
737
Runtime ,
738
738
AllPallets ,
739
- OnRuntimeUpgrade ,
739
+ ( ) ,
740
740
> ;
741
741
742
- pub struct OnRuntimeUpgrade ;
743
- impl frame_support:: traits:: OnRuntimeUpgrade for OnRuntimeUpgrade {
744
- fn on_runtime_upgrade ( ) -> u64 {
745
- frame_support:: migrations:: migrate_from_pallet_version_to_storage_version :: <
746
- AllPalletsWithSystem ,
747
- > ( & RocksDbWeight :: get ( ) )
748
- }
749
- }
750
-
751
742
impl_runtime_apis ! {
752
743
impl sp_consensus_aura:: AuraApi <Block , AuraId > for Runtime {
753
744
fn slot_duration( ) -> sp_consensus_aura:: SlotDuration {
Original file line number Diff line number Diff line change @@ -722,18 +722,9 @@ pub type Executive = frame_executive::Executive<
722
722
frame_system:: ChainContext < Runtime > ,
723
723
Runtime ,
724
724
AllPallets ,
725
- OnRuntimeUpgrade ,
725
+ ( ) ,
726
726
> ;
727
727
728
- pub struct OnRuntimeUpgrade ;
729
- impl frame_support:: traits:: OnRuntimeUpgrade for OnRuntimeUpgrade {
730
- fn on_runtime_upgrade ( ) -> u64 {
731
- frame_support:: migrations:: migrate_from_pallet_version_to_storage_version :: <
732
- AllPalletsWithSystem ,
733
- > ( & RocksDbWeight :: get ( ) )
734
- }
735
- }
736
-
737
728
impl_runtime_apis ! {
738
729
impl sp_consensus_aura:: AuraApi <Block , AuraId > for Runtime {
739
730
fn slot_duration( ) -> sp_consensus_aura:: SlotDuration {
You can’t perform that action at this time.
0 commit comments