mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
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:
@@ -274,26 +274,24 @@ impl pallet_sudo::Config for Runtime {
|
||||
construct_runtime! {
|
||||
pub enum Runtime
|
||||
{
|
||||
System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>} = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system::{
|
||||
Pallet, Call, Config<T>, Storage, Inherent, Event<T>, ValidateUnsigned,
|
||||
} = 1,
|
||||
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>} = 2,
|
||||
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3,
|
||||
System: frame_system = 0,
|
||||
ParachainSystem: cumulus_pallet_parachain_system = 1,
|
||||
ParachainInfo: parachain_info = 2,
|
||||
Timestamp: pallet_timestamp = 3,
|
||||
|
||||
// DMP handler.
|
||||
CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin} = 10,
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>} = 11,
|
||||
CumulusXcm: cumulus_pallet_xcm = 10,
|
||||
MessageQueue: pallet_message_queue = 11,
|
||||
|
||||
// The main stage.
|
||||
Glutton: pallet_glutton::{Pallet, Call, Storage, Event, Config<T>} = 20,
|
||||
Glutton: pallet_glutton = 20,
|
||||
|
||||
// Collator support
|
||||
Aura: pallet_aura::{Pallet, Storage, Config<T>} = 30,
|
||||
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>} = 31,
|
||||
Aura: pallet_aura = 30,
|
||||
AuraExt: cumulus_pallet_aura_ext = 31,
|
||||
|
||||
// Sudo.
|
||||
Sudo: pallet_sudo::{Pallet, Call, Storage, Event<T>, Config<T>} = 255,
|
||||
Sudo: pallet_sudo = 255,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user