@@ -24,7 +24,11 @@ mod xcm_queue;
24
24
25
25
use alloc:: borrow:: Cow ;
26
26
use common_runtime:: constants:: currency:: UNITS ;
27
- #[ cfg( any( not( feature = "frequency-no-relay" ) , feature = "frequency-lint-check" , feature = "frequency-bridging" ) ) ]
27
+ #[ cfg( any(
28
+ not( feature = "frequency-no-relay" ) ,
29
+ feature = "frequency-lint-check" ,
30
+ feature = "frequency-bridging"
31
+ ) ) ]
28
32
use cumulus_pallet_parachain_system:: {
29
33
DefaultCoreSelector , RelayNumberMonotonicallyIncreases , RelaychainDataProvider ,
30
34
} ;
@@ -579,7 +583,11 @@ impl frame_system::Config for Runtime {
579
583
/// This is used as an identifier of the chain. 42 is the generic substrate prefix.
580
584
type SS58Prefix = Ss58Prefix ;
581
585
/// The action to take on a Runtime Upgrade
582
- #[ cfg( any( not( feature = "frequency-no-relay" ) , feature = "frequency-lint-check" , feature = "frequency-bridging" ) ) ]
586
+ #[ cfg( any(
587
+ not( feature = "frequency-no-relay" ) ,
588
+ feature = "frequency-lint-check" ,
589
+ feature = "frequency-bridging"
590
+ ) ) ]
583
591
type OnSetCode = cumulus_pallet_parachain_system:: ParachainSetCode < Self > ;
584
592
#[ cfg( feature = "frequency-no-relay" ) ]
585
593
type OnSetCode = ( ) ;
@@ -1149,7 +1157,11 @@ const RELAY_CHAIN_SLOT_DURATION_MILLIS: u32 = 6_000;
1149
1157
1150
1158
// See https://paritytech.github.io/substrate/master/pallet_parachain_system/index.html for
1151
1159
// the descriptions of these configs.
1152
- #[ cfg( any( not( feature = "frequency-no-relay" ) , feature = "frequency-lint-check" , feature = "frequency-bridging" ) ) ]
1160
+ #[ cfg( any(
1161
+ not( feature = "frequency-no-relay" ) ,
1162
+ feature = "frequency-lint-check" ,
1163
+ feature = "frequency-bridging"
1164
+ ) ) ]
1153
1165
impl cumulus_pallet_parachain_system:: Config for Runtime {
1154
1166
type RuntimeEvent = RuntimeEvent ;
1155
1167
type OnSystemEvent = ( ) ;
@@ -1511,7 +1523,11 @@ mod benches {
1511
1523
) ;
1512
1524
}
1513
1525
1514
- #[ cfg( any( not( feature = "frequency-no-relay" ) , feature = "frequency-lint-check" , feature = "frequency-bridging" ) ) ]
1526
+ #[ cfg( any(
1527
+ not( feature = "frequency-no-relay" ) ,
1528
+ feature = "frequency-lint-check" ,
1529
+ feature = "frequency-bridging"
1530
+ ) ) ]
1515
1531
cumulus_pallet_parachain_system:: register_validate_block! {
1516
1532
Runtime = Runtime ,
1517
1533
BlockExecutor = cumulus_pallet_aura_ext:: BlockExecutor :: <Runtime , Executive >,
0 commit comments