Switch All construct_runtimes to New Syntax (#2979)

Clean up all the old syntax.

---------

Co-authored-by: command-bot <>
Co-authored-by: gupnik <nikhilgupta.iitk@gmail.com>
Co-authored-by: Nikhil Gupta <17176722+gupnik@users.noreply.github.com>
Co-authored-by: Maksym H <1177472+mordamax@users.noreply.github.com>
This commit is contained in:
joe petrowski
2024-01-22 08:15:53 +01:00
committed by GitHub
parent d37a45650e
commit 757ae372f7
133 changed files with 792 additions and 847 deletions
+7 -7
View File
@@ -48,13 +48,13 @@ pub const BLOCK_TIME: u64 = 1000;
frame_support::construct_runtime!(
pub enum Test
{
System: frame_system::{Pallet, Call, Config<T>, Storage, Event<T>},
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent},
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>},
Staking: pallet_staking::{Pallet, Call, Config<T>, Storage, Event<T>},
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>},
RootOffences: root_offences::{Pallet, Call, Storage, Event<T>},
Historical: pallet_session::historical::{Pallet, Storage},
System: frame_system,
Timestamp: pallet_timestamp,
Balances: pallet_balances,
Staking: pallet_staking,
Session: pallet_session,
RootOffences: root_offences,
Historical: pallet_session::historical,
}
);