@@ -276,6 +276,7 @@ impl pallet_session::Config for Runtime {
276276}
277277
278278impl pallet_session:: historical:: Config for Runtime {
279+ type RuntimeEvent = RuntimeEvent ;
279280 type FullIdentification = Self :: ValidatorId ;
280281 type FullIdentificationOf = Self :: ValidatorIdOf ;
281282}
@@ -382,27 +383,27 @@ construct_runtime!(
382383 pub struct Runtime {
383384 System : frame_system = 0 ,
384385 // Babe must be called before Session
385- Babe : pallet_babe:: { Pallet , Call , Storage , Config < T > , ValidateUnsigned } = 1 ,
386- Timestamp : pallet_timestamp:: { Pallet , Call , Storage , Inherent } = 2 ,
386+ Babe : pallet_babe = 1 ,
387+ Timestamp : pallet_timestamp = 2 ,
387388 // Authorship must be before session in order to note author in the correct session.
388- Authorship : pallet_authorship:: { Pallet , Storage } = 10 ,
389- Offences : pallet_offences:: { Pallet , Storage , Event } = 11 ,
389+ Authorship : pallet_authorship = 10 ,
390+ Offences : pallet_offences = 11 ,
390391 Historical : pallet_session:: historical = 12 ,
391- ValidatorSet : pallet_validator_set:: { Pallet , Storage , Event < T > , Config < T > } = 13 ,
392+ ValidatorSet : pallet_validator_set = 13 ,
392393 Session : pallet_session = 14 ,
393- Grandpa : pallet_grandpa:: { Pallet , Call , Storage , Config < T > , Event , ValidateUnsigned } = 15 ,
394+ Grandpa : pallet_grandpa = 15 ,
394395
395396 // Storage
396- TransactionStorage : pallet_transaction_storage:: { Pallet , Call , Storage , Event < T > } = 40 ,
397+ TransactionStorage : pallet_transaction_storage = 40 ,
397398
398399 // Bridge
399- RelayerSet : pallet_relayer_set:: { Pallet , Storage , Event < T > , Config < T > } = 50 ,
400- BridgeRococoGrandpa : pallet_bridge_grandpa:: { Pallet , Call , Storage , Event < T > , Config < T > } = 51 ,
401- BridgeRococoParachains : pallet_bridge_parachains:: { Pallet , Call , Storage , Event < T > , Config < T > } = 52 ,
402- BridgeRococoMessages : pallet_bridge_messages:: { Pallet , Call , Storage , Event < T > , Config < T > } = 53 ,
400+ RelayerSet : pallet_relayer_set = 50 ,
401+ BridgeRococoGrandpa : pallet_bridge_grandpa = 51 ,
402+ BridgeRococoParachains : pallet_bridge_parachains = 52 ,
403+ BridgeRococoMessages : pallet_bridge_messages = 53 ,
403404
404405 // sudo
405- Sudo : pallet_sudo:: { Pallet , Call , Storage , Event < T > , Config < T > } = 255 ,
406+ Sudo : pallet_sudo = 255 ,
406407 }
407408) ;
408409
0 commit comments